# ISimpleFrameSite::PostMessageFilter

Sends the simple frame site a message that is received by a control’s own window after both ISimpleFrameSite::PreMessageFilter and the control have had a chance to process the message.

HRESULT PostMessageFilter(

HWND hWnd , | //Handle of window receiving message
UINT msg , | //Received message
WPARAM wp , | //WPARAM of message
LPARAM lp , | //LPARAM of message
LRESULT* plResult , | //Pointer to variable to receive result
DWORD dwCookie | //Token returned by PreMessageFilter
); |

Parameters

hWnd
  [in] Handle of the control window receiving the message.
msg
  [in] Message received by the simple frame site.
wp
  [in] The WPARAM of the message.
lp
  [in] The LPARAM of the message.
plResult
  [out] Pointer to the variable that receives the result of the message processing.
dwCookie
  [in] The DWORD value that was returned by ISimpleFrameSite::PreMessageFilter through its pdwCookie parameter.

Return Values

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.

See Also

ISimpleFrameSite:PreMessageFilter