Beispiel #1
0
 public static IntPtr SetWindowLong(IntPtr hWnd, GWLIndex nIndex, IntPtr dwNewLong)
 {
     if (IntPtr.Size == 8)                                       // 64 位
     {
         return(SetWindowLongPtr(hWnd, (int)nIndex, dwNewLong));
     }
     else                                                        // 32 位
     {
         return(SetWindowLong(hWnd, (int)nIndex, dwNewLong));
     }
 }
Beispiel #2
0
 public static extern int SetWindowLong(IntPtr hWnd, GWLIndex nIndex, int dwNewLong);
Beispiel #3
0
 public static extern int GetWindowLong(IntPtr hWnd, GWLIndex nIndex);
Beispiel #4
0
 public static extern int SetWindowLong(IntPtr hWnd, GWLIndex nIndex, int dwNewLong);
Beispiel #5
0
 public static extern int GetWindowLong(IntPtr hWnd, GWLIndex nIndex);