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 |
IWMPPlayer::put_enabled
The put_enabled method specifies a value indicating whether the Windows Media Player control is enabled.
Syntax
HRESULT put_enabled( VARIANT_BOOL bEnabled );
Parameters
bEnabled
[in] VARIANT_BOOL indicating whether the Windows Media Player control is enabled.
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
If the VARIANT_BOOL specified in put_enabled is set to FALSE, then Windows Media Player hides the user controls during full-screen playback.
Requirements
Version: Windows Media Player 9 Series or later.
Header: Include wmp.h.
Library: Use wmp.dll.
See Also
| Previous | Next |