The SendMessage function calls the window procedure for the specified window and does ... User32.dll.
msdn.microsoft.com