ISimpleFrameSite::PostMessageFilter method

Sends the simple frame site a message that is received by a control's own window after the control has processed the message.

Syntax


HRESULT PostMessageFilter(
  [in]  HWND    hWnd,
  [in]  UINT    msg,
  [in]  WPARAM  wp,
  [in]  LPARAM  lp,
  [out] LRESULT *plResult,
  [in]  DWORD   dwCookie
);

Parameters

hWnd [in]

A handle of the control window receiving the message.

msg [in]

The message received by the simple frame site.

wp [in]

The WPARAM of the message.

lp [in]

The LPARAM of the message.

plResult [out]

A pointer to the variable that receives the result of the message processing.

dwCookie [in]

The value that was returned by ISimpleFrameSite::PreMessageFilter through its pdwCookie parameter.

Return value

This method can return the following values.

Return codeDescription
S_OK

The site processed the message.

S_FALSE

The site did not process the message.

E_NOTIMPL

The site does not filter any messages.

 

Requirements

Minimum supported client

Windows 2000 Professional [desktop apps only]

Minimum supported server

Windows 2000 Server [desktop apps only]

Header

OCIdl.h

IDL

OCIdl.idl

IID

IID_ISimpleFrameSite is defined as 742B0E01-14E6-101B-914E-00AA00300CAB

See also

ISimpleFrameSite

 

 

Show: