Share via


IWMPPlayer::get_enableContextMenu

Other versions of this page are also available for the following:

8/28/2008

The get_enableContextMenu method retrieves a value indicating whether to enable the context menu, which appears when the right mouse button is clicked.

Syntax

HRESULT get_enableContextMenu( VARIANT_BOOL* pbEnableContextMenu ); 

Parameters

  • pbEnableContextMenu
    [out]  Pointer to a VARIANT_BOOL that indicates whether to enable the context menu. The default is TRUE.

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.

See Also

Reference

IWMPPlayer Interface