SetWindowLongPtr32() приватный Метод

private SetWindowLongPtr32 ( IntPtr hWnd, GWL nIndex, int dwNewLong ) : int
hWnd System.IntPtr
nIndex GWL
dwNewLong int
Результат int
Пример #1
0
 public static IntPtr SetWindowLongPtr(IntPtr hwnd, GWL nIndex, IntPtr dwNewLong)
 {
     if (8 == IntPtr.Size)
     {
         return(NativeMethods.SetWindowLongPtr64(hwnd, nIndex, dwNewLong));
     }
     return(new IntPtr(NativeMethods.SetWindowLongPtr32(hwnd, nIndex, dwNewLong.ToInt32())));
 }