public static extern bool PeekMessage(ref MSG msg, IntPtr hWnd, uint wFilterMin, uint wFilterMax, uint wFlag);
public static extern bool DispatchMessage(ref MSG msg);
public static extern bool GetMessage(ref MSG msg, int hWnd, uint wFilterMin, uint wFilterMax);
public static extern bool TranslateMessage(ref MSG msg);