WPUPostMessage function

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

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 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]

Header

Ws2spi.h

 

 

Show: