PostMessage function user32
Places (posts) a message in the message queue associated with the thread that created the specified window and returns without waiting for the thread to process the message.
BOOL PostMessageW(
HWND hWnd,
UINT Msg,
WPARAM wParam,
LPARAM lParam
);
Implementation
int PostMessage(int hWnd, int Msg, int wParam, int lParam) =>
_PostMessage(hWnd, Msg, wParam, lParam);