参数如下:
LRESULT SendMessage(
  HWND hWnd,      // handle of destination window
  UINT Msg,       // message to send
  WPARAM wParam,  // first message parameter
  LPARAM lParam   // second message parameter
);Parameters
hWnd 
Handle to the window whose window procedure will receive the message. If this parameter is HWND_BROADCAST, the message is sent to all top-level windows in the system, including disabled or invisible unowned windows, overlapped windows, and pop-up windows; but the message is not sent to child windows. 
Msg 
Specifies the message to be sent. 
wParam 
Specifies additional message-specific information. 
lParam 
Specifies additional message-specific information. 
Return Values
The return value specifies the result of the message processing and depends on the message sent.