Share via


IVideoWindow::NotifyOwnerMessage (Compact 2013)

3/26/2014

This method forwards messages that have been received by a parent window to a child window owned by a filter.

Syntax

HRESULT NotifyOwnerMessage(
  long hwnd,
  long uMsg,
  long wParam,
  long lParam
);

Parameters

  • hwnd
    [in] Window handle.
  • uMsg
    [in] Message being sent.
  • wParam
    [in] Message's wParam passed in.
  • lParam
    [in] Message's lParam passed in.

Return Value

Returns an HRESULT value.

Remarks

This method should be used by windows that make a renderer window a child window.

It forwards significant messages to the child window that the child window would not otherwise receive.

This includes the following messages:

  • WM_ACTIVATEAPP
  • WM_DEVMODECHANGE
  • WM_DISPLAYCHANGE
  • WM_PALETTECHANGED
  • WM_PALETTEISCHANGING
  • WM_QUERYNEWPALETTE
  • WM_SYSCOLORCHANGE

Requirements

Header

dshow.h

Library

Strmiids.lib

See Also

Reference

IVideoWindow Interface