Windows Media Player 11 SDK IWMPPlayer2::get_windowlessVideo
Previous | Next |
IWMPPlayer2::get_windowlessVideo
The get_windowlessVideo method retrieves a value indicating whether the Windows Media Player control renders video in windowless mode.
Syntax
Parameters
pbEnabled
[out] Pointer to a VARIANT_BOOL indicating whether the Windows Media Player control renders video in windowless mode.
Return Values
The method returns an HRESULT. Possible values include, but are not limited to, those in the following table.
Return code | Description |
S_OK | The method succeeded. |
Remarks
By default, an embedded Windows Media Player control renders video in its own window within the client area. When the VARIANT_BOOL retrieved by get_windowlessVideo equals TRUE, the Windows Media Player object renders video directly in the client area, so you can apply special effects or layer the video with text.
The get_windowlessVideo method is not supported for Netscape Navigator. Setting a value for this property in Navigator may yield unexpected results.
Windows Media Player 10 Mobile: This method always retrieves a VARIANT_BOOL set to FALSE.
Requirements
Version: Windows Media Player for Windows XP or later.
Header: Include wmp.h.
Library: Use wmp.dll.
See Also
Previous | Next |