WPUPostMessage function (ws2spi.h)

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

Syntax

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

Parameters

[in] hWnd

Handle to the window that will receive the message.

[in] Msg

Message that will be posted.

[in] wParam

First parameter containing additional message-specific information.

[in] lParam

Second parameter containing additional message-specific information.

Return value

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

Requirements

Requirement Value
Minimum supported client Windows 2000 Professional [desktop apps only]
Minimum supported server Windows 2000 Server [desktop apps only]
Target Platform Windows
Header ws2spi.h