The SendMessage function sends a message in to the specified window and waits until the message is processed (which is opposite to PostMessage, which posts a message and immediately returns). DO NOT think of it as simple wrapper around Win32 function! See PostMessage for details.
Handle of a window, to which a message is sent.
Message id
Specifies additional message-specific information
Specifies additional message-specific information