public static bool PeekMessage(out MSG message, uint minMessage, uint maxMessage, PeekMessageOptions options) => WindowMethods.PeekMessage(out message, WindowHandle.Null, minMessage, maxMessage, options);
public static extern bool PeekMessageW( out MSG lpMsg, WindowHandle hWnd, uint wMsgFilterMin, uint wMsgFilterMax, PeekMessageOptions wRemoveMsg);
public static bool PeekMessage(out MSG message, WindowHandle window, uint minMessage, uint maxMessage, PeekMessageOptions options) { return(Imports.PeekMessageW(out message, window, minMessage, maxMessage, options)); }