SendMessage function user32
Sends the specified message to a window or windows. The SendMessage function calls the window procedure for the specified window and does not return until the window procedure has processed the message.
LRESULT SendMessageW(
HWND hWnd,
UINT Msg,
WPARAM wParam,
LPARAM lParam
);
Implementation
int SendMessage(int hWnd, int Msg, int wParam, int lParam) =>
_SendMessage(hWnd, Msg, wParam, lParam);