コード例 #1
0
ファイル: ApiUser32.cs プロジェクト: User-Cool/WPFDesign
 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);