Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
.gif)
| Previous | Next |
IWMPNodeWindowed::SetOwnerWindow (deprecated)
This page documents a feature that may be unavailable in future versions of Windows Media Player and the Windows Media Player SDK.
The SetOwnerWindow method receives a handle to a parent window. The plug-in can use this parent window to derive a child window for rendering.
Syntax
Parameters
hwnd
[in] A handle to the window to be used for rendering.
Return Values
The method returns an HRESULT.
Remarks
Rendering in a child window gives you the advantage of keeping the RECT coordinates returned from the Player consistent when the parent window position changes. Coordinate values will remain relative to the parent window, as opposed to relative to the Windows desktop.
Requirements
Version: Windows Media Player 9 Series or later.
Header: Include wmprealestate.h.
See Also
| Previous | Next |