function SendMessage(const Wnd: HWND; const Msg: Cardinal; const WParam: WPARAM; const LParam: LPARAM): LRESULT;
Sends the specified message to the specified window. Does not return until the window procedure has processed the message.