PostMessage function user32

int PostMessage(
  1. int hWnd,
  2. int Msg,
  3. int wParam,
  4. int lParam
)

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);