public static IntPtr SetWindowLong(HandleRef hwnd, Win32Native.WindowLongType index, IntPtr wndProcPtr) { if (IntPtr.Size == 4) return Win32Native.SetWindowLong32(hwnd, index, wndProcPtr); else return Win32Native.SetWindowLongPtr64(hwnd, index, wndProcPtr); }
public static IntPtr GetWindowLong(HandleRef hWnd, Win32Native.WindowLongType index) { if (IntPtr.Size == 4) return Win32Native.GetWindowLong32(hWnd, index); else return Win32Native.GetWindowLong64(hWnd, index); }
private static IntPtr SetWindowLongPtr64(HandleRef hwnd, Win32Native.WindowLongType index, IntPtr wndProc);
private static IntPtr GetWindowLong64(HandleRef hwnd, Win32Native.WindowLongType index);
public static int TranslateMessage(ref Win32Native.NativeMessage lpMsg);
public static int PeekMessage(out Win32Native.NativeMessage lpMsg, IntPtr hWnd, int wMsgFilterMin, int wMsgFilterMax, int wRemoveMsg);
public static int GetMessage(out Win32Native.NativeMessage lpMsg, IntPtr hWnd, int wMsgFilterMin, int wMsgFilterMax);
public static int DispatchMessage(ref Win32Native.NativeMessage lpMsg);