private SetClassLongPtr32 ( |
||
hWnd | ||
nIndex | GCLP | |
dwNewLong | int | |
Результат | int |
public static IntPtr SetClassLongPtr(IntPtr hwnd, GCLP nIndex, IntPtr dwNewLong) { if (8 == IntPtr.Size) { return(NativeMethods.SetClassLongPtr64(hwnd, nIndex, dwNewLong)); } return(new IntPtr(NativeMethods.SetClassLongPtr32(hwnd, nIndex, dwNewLong.ToInt32()))); }