| Microsoft DirectX 8.1 (C++) |
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 pins are not connected. |
See Also