packages/Windows API Code Pack 1.1/source/WindowsAPICodePack/Core/Interop/CoreNativeMethods.cs
/// <summary>
/// Places (posts) a message in the message queue associated with the thread that created
/// the specified window and returns without waiting for the thread to process the message.
/// </summary>
/// <param name="windowHandle">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.
/// </param>
/// <param name="message">Specifies the message to be sent.</param>
/// <param name="wparam">Specifies additional message-specific information.</param>
/// <param name="lparam">Specifies additional message-specific information.</param>
/// <returns>A return code specific to the message being sent.</returns>     
Places (posts) a message in the message queue associated with the thread that created
the specified window and returns without waiting for the thread to process the message.
Places ( posts ) a message in the message queue associated with the thread that created the specified window and returns without waiting for the thread to process the message .
[DllImport("user32.dll", CharSet = CharSet.Auto, PreserveSig=false, SetLastError = true)]
        public static extern void PostMessage(
            IntPtr windowHandle,
            WindowMessage message,
            IntPtr wparam,
            IntPtr lparam
        );
[ DllImport ( " " , CharSet = CharSet . Auto , PreserveSig = false , SetLastError = true ) ] public static extern void PostMessage ( IntPtr windowHandle , WindowMessage message , IntPtr wparam , IntPtr lparam ) ;
Places (posts) a message in the message queue associated with the thread that created
the specified window and returns without waiting for the thread to process the message.
Places ( posts ) a message in the message queue associated with the thread that created the specified window and returns without waiting for the thread to process the message .
A return code specific to the message being sent.
A return code specific to the message being sent .
windowHandle
IntPtr
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.
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 .
message
WindowMessage
Specifies the message to be sent.
Specifies the message to be sent .
wparam
IntPtr
Specifies additional message-specific information.
Specifies additional message - specific information .
lparam
IntPtr
Specifies additional message-specific information.
Specifies additional message - specific information .