示例#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));
     }
 }
示例#2
0
 public static extern int SetWindowLong(IntPtr hWnd, GWLIndex nIndex, int dwNewLong);
示例#3
0
 public static extern int GetWindowLong(IntPtr hWnd, GWLIndex nIndex);
示例#4
0
文件: User32.cs 项目: Foda/Tide
 public static extern int SetWindowLong(IntPtr hWnd, GWLIndex nIndex, int dwNewLong);
示例#5
0
文件: User32.cs 项目: Foda/Tide
 public static extern int GetWindowLong(IntPtr hWnd, GWLIndex nIndex);