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(
  HWND   hWnd,
  UINT   Msg,
  WPARAM wParam,
  LPARAM lParam
);

Parameters

hWnd

Handle to the window that will receive the message.

Msg

Message that will be posted.

wParam

First parameter containing additional message-specific information.

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

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