IVideoWindow::NotifyOwnerMessage method

The NotifyOwnerMessage method forwards a message to the video window.

Syntax


HRESULT NotifyOwnerMessage(
  [in] OAHWND   hwnd,
  [inlong     uMsg,
  [in] LONG_PTR wParam,
  [in] LONG_PTR lParam
);

Parameters

hwnd [in]

A handle to the window, as an OAHWND value.

uMsg [in]

Specifies the message.

wParam [in]

Message parameter.

lParam [in]

Message parameter.

Return value

Possible return values include the following:

Return codeDescription
S_OK

Success.

VFW_E_NOT_CONNECTED

The video renderer filter is not connected.

 

Remarks

The Filter Graph Manager calls this method to pass various messages to the renderer, including the following:

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

Requirements

Minimum supported client

Windows 2000 Professional [desktop apps only]

Minimum supported server

Windows 2000 Server [desktop apps only]

Header

Control.h (include Dshow.h)

Library

Strmiids.lib

See also

Error and Success Codes
IVideoWindow Interface

 

 

Show: