IWMPPlayerApplication::get_playerDocked method

The get_playerDocked method retrieves a value indicating whether Windows Media Player is in a docked state.

Syntax

HRESULT get_playerDocked(
  VARIANT_BOOL *pbPlayerDocked
);

Parameters

pbPlayerDocked

Pointer to a VARIANT_BOOL indicating whether Windows Media Player is in a docked state.

Return value

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

This method is used only when remoting the Windows Media Player control.

Windows Media Player 10 Mobile: This method always retrieves a VARIANT_BOOL set to FALSE.

Requirements

   
Minimum supported client Windows Media Player 9 Series or later.
Target Platform Windows
Header wmp.h
DLL Wmp.dll

See also

IWMPPlayerApplication Interface

Remoting the Windows Media Player Control