public static extern bool GetMessage(ref MSG msg, IntPtr hwnd, int uMsgFilterMin, int uMsgFilterMax);
public static extern bool TranslateMessage(ref MSG msg);
public static extern int DispatchMessage(ref MSG msg);
public static extern bool PeekMessage(ref MSG lpMsg, IntPtr hWnd, int wMsgFilterMin, int wMsgFilterMax, int wRemoveMsg);