Platform SDK: Windows Sockets

WPUPostMessage

The WPUPostMessage function performs the standard Win32 PostMessage function in a way that maintains backward compatibility with older versions of Wsock32.dll.

BOOL WPUPostMessage (
  HWND        hWnd,      
  UINT        Msg,       
  WPARAM      wParam,  
  LPARAM      lParam   
);

Parameters

hWnd
[in] Handle to the window that will receive the message.
Msg
[in] Message that will be posted.
wParam
[in] First parameter containing additional message-specific information.
lParam
[in] Second parameter containing additional message-specific information.

Return Values

If no error occurs, WPUPostMessage returns the TRUE value. Otherwise, the FALSE value is returned.

Requirements

  Version: Requires Windows Sockets 2.0.
  Header: Declared in Ws2spi.h.