SendNotifyMessage function user32

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

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


int SendNotifyMessage(int hWnd, int Msg, int wParam, int lParam) =>
    _SendNotifyMessage(hWnd, Msg, wParam, lParam);