예제 #1
0
파일: NativeW.cs 프로젝트: bclnet/DroidNet
 [DllImport("user32.dll", EntryPoint = "SetWindowLongPtr")] static extern IntPtr SetWindowLongPtr64(IntPtr hWnd, WindowFieldOffset nIndex, IntPtr dwNewLong);
예제 #2
0
파일: NativeW.cs 프로젝트: bclnet/DroidNet
 public static IntPtr SetWindowLongPtr(IntPtr hWnd, WindowFieldOffset nIndex, IntPtr dwNewLong)
 => IntPtr.Size == 8
         ? SetWindowLongPtr64(hWnd, nIndex, dwNewLong)
         : new IntPtr(SetWindowLong32(hWnd, nIndex, dwNewLong.ToInt32()));
예제 #3
0
파일: NativeW.cs 프로젝트: bclnet/DroidNet
 [DllImport("user32.dll", EntryPoint = "SetWindowLong")] static extern int SetWindowLong32(IntPtr hWnd, WindowFieldOffset nIndex, int dwNewLong);