예제 #1
0
파일: Win32Native.cs 프로젝트: joewan/xenko
 public static IntPtr SetWindowLong(HandleRef hwnd, WindowLongType index, IntPtr wndProcPtr)
 {
     if (IntPtr.Size == 4)
     {
         return SetWindowLong32(hwnd, index, wndProcPtr);
     }
     return SetWindowLongPtr64(hwnd, index, wndProcPtr);
 }
예제 #2
0
 public static IntPtr SetWindowLong(HandleRef hwnd, WindowLongType index, IntPtr wndProcPtr)
 {
     if (IntPtr.Size == 4)
     {
         return(SetWindowLong32(hwnd, index, wndProcPtr));
     }
     return(SetWindowLongPtr64(hwnd, index, wndProcPtr));
 }
예제 #3
0
파일: Win32Native.cs 프로젝트: joewan/xenko
 public static IntPtr GetWindowLong(HandleRef hWnd, WindowLongType index)
 {
     if (IntPtr.Size == 4)
     {
         return GetWindowLong32(hWnd, index);
     }
     return GetWindowLong64(hWnd, index);
 }
예제 #4
0
 public static IntPtr GetWindowLong(IntPtr hWnd, WindowLongType index)
 {
     if (IntPtr.Size == 4)
     {
         return GetWindowLong32(hWnd, index);
     }
     return GetWindowLong64(hWnd, index);
 }
예제 #5
0
 public static IntPtr GetWindowLong(HandleRef hWnd, WindowLongType index)
 {
     if (IntPtr.Size == 4)
     {
         return(GetWindowLong32(hWnd, index));
     }
     return(GetWindowLong64(hWnd, index));
 }
예제 #6
0
파일: Win32API.cs 프로젝트: tmp7701/Gorgon
 /// <summary>
 /// Function to set information for the specified window.
 /// </summary>
 /// <param name="hwnd">Window handle to set information on.</param>
 /// <param name="index">Type of information.</param>
 /// <param name="info">Information to set.</param>
 /// <returns>A pointer to the previous information, or 0 if not successful.</returns>
 public static IntPtr SetWindowLong(HandleRef hwnd, WindowLongType index, IntPtr info)
 {
     return(IntPtr.Size == 4 ? SetWindowLongx86(hwnd, index, info) : SetWindowLongx64(hwnd, index, info));
 }
예제 #7
0
 public static IntPtr GetWindowLong(IntPtr hWnd, WindowLongType windowLongType) =>
 IntPtr.Size == 4
         ? GetWindowLong32(hWnd, windowLongType)
         : GetWindowLong64(hWnd, windowLongType);
예제 #8
0
 private static extern IntPtr GetWindowLong64(HandleRef hwnd, WindowLongType index);
예제 #9
0
 public static extern IntPtr SetWindowLongPtr(IntPtr hWnd, WindowLongType nIndex, IntPtr dwNewLong);
예제 #10
0
		private static extern IntPtr SetWindowLong32(HandleRef hwnd, WindowLongType index, WndProc wndProc);
예제 #11
0
 public static extern IntPtr GetWindowLongPtr(IntPtr hWnd, WindowLongType nIndex);
예제 #12
0
 private static extern IntPtr SetWindowLongPtr64(IntPtr hwnd, WindowLongType windowLongType, IntPtr wndProc);
예제 #13
0
 public static IntPtr SetWindowLong(IntPtr hwnd, WindowLongType windowLongType, IntPtr wndProcPtr) =>
 IntPtr.Size == 4
         ? SetWindowLong32(hwnd, windowLongType, wndProcPtr)
         : SetWindowLongPtr64(hwnd, windowLongType, wndProcPtr);
예제 #14
0
 private static extern IntPtr GetWindowLong32(IntPtr hwnd, WindowLongType windowLongType);
예제 #15
0
 private static extern IntPtr GetWindowLong64(IntPtr hwnd, WindowLongType index);
예제 #16
0
 private static extern IntPtr GetWindowLong64(IntPtr hwnd, WindowLongType index);
예제 #17
0
 private static extern IntPtr SetWindowLong32(IntPtr hwnd, WindowLongType index, IntPtr wndProc);
예제 #18
0
 private static extern IntPtr SetWindowLong32(IntPtr hwnd, WindowLongType index, IntPtr wndProc);
예제 #19
0
 private static extern IntPtr SetWindowLongPtr64(HandleRef hwnd, WindowLongType index, IntPtr wndProc);
예제 #20
0
파일: Win32API.cs 프로젝트: tmp7701/Gorgon
 private static extern IntPtr SetWindowLongx64(HandleRef hwnd, WindowLongType index, IntPtr info);
예제 #21
0
 private static extern IntPtr GetWindowLong64(HandleRef hwnd, WindowLongType index);
예제 #22
0
파일: Win32API.cs 프로젝트: tmp7701/Gorgon
 /// <summary>
 /// Function to retrieve information about the specified window.
 /// </summary>
 /// <param name="hwnd">Window handle to retrieve information from.</param>
 /// <param name="index">Type of information.</param>
 /// <returns>A pointer to the information.</returns>
 public static IntPtr GetWindowLong(HandleRef hwnd, WindowLongType index)
 {
     return(IntPtr.Size == 4 ? GetWindowLongx86(hwnd, index) : GetWindowLongx64(hwnd, index));
 }
예제 #23
0
 private static extern IntPtr SetWindowLongPtr64(HandleRef hwnd, WindowLongType index, IntPtr wndProc);
예제 #24
0
 private static extern IntPtr SetWindowLong32(HandleRef hwnd, WindowLongType index, WndProc wndProc);