PostThreadMessage function user32
Posts a message to the message queue of the specified thread. It returns without waiting for the thread to process the message.
BOOL PostThreadMessageW(
DWORD idThread,
UINT Msg,
WPARAM wParam,
LPARAM lParam
);
Implementation
int PostThreadMessage(int idThread, int Msg, int wParam, int lParam) =>
_PostThreadMessage(idThread, Msg, wParam, lParam);