Esempio n. 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));
     }
 }
Esempio n. 2
0
 public static extern int SetWindowLong(IntPtr hWnd, GWLIndex nIndex, int dwNewLong);
Esempio n. 3
0
 public static extern int GetWindowLong(IntPtr hWnd, GWLIndex nIndex);
Esempio n. 4
0
File: User32.cs Progetto: Foda/Tide
 public static extern int SetWindowLong(IntPtr hWnd, GWLIndex nIndex, int dwNewLong);
Esempio n. 5
0
File: User32.cs Progetto: Foda/Tide
 public static extern int GetWindowLong(IntPtr hWnd, GWLIndex nIndex);