IVideoWindow::get_Owner

 
Microsoft DirectShow 9.0

IVideoWindow::get_Owner

The get_Owner method retrieves the video window's parent window, if any.

Syntax

  HRESULT get_Owner(
    OAHWND *pOwner
);

Parameters

pOwner

[out] Pointer to a variable that receives a handle to the window, as an OAHWND type. If the video window has no parent, this parameter receives the value NULL.

Return Values

Possible return values include the following:

Value Description
E_POINTER NULL pointer.
S_OK Success.
VFW_E_NOT_CONNECTED The video renderer filter is not connected.

Requirements

Header: Declared in Control.h; include Dshow.h.

Library: Use Strmiids.lib.

See Also