SendNotifyMessage function user32
Sends the specified message to a window or windows. If the window was created by the calling thread, SendNotifyMessage calls the window procedure for the window and does not return until the window procedure has processed the message. If the window was created by a different thread, SendNotifyMessage passes the message to the window procedure and returns immediately; it does not wait for the window procedure to finish processing the message.
BOOL SendNotifyMessageW(
HWND hWnd,
UINT Msg,
WPARAM wParam,
LPARAM lParam
);
Implementation
int SendNotifyMessage(int hWnd, int Msg, int wParam, int lParam) =>
_SendNotifyMessage(hWnd, Msg, wParam, lParam);