Share via


Windows Media Player 11 SDK IWMPSyncDevice::get_connected 

Windows Media Player SDK banner art

Previous Next

IWMPSyncDevice::get_connected

The get_connected method retrieves a value indicating whether the device is connected to Windows Media Player.

Syntax

  

Parameters

pvbConnected

[out]  VARIANT_BOOL indicating whether the device is connected. The following table describes the possible values.

Value Description
VARIANT_TRUE The device is connected.
VARIANT_FALSE The device is not connected.

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.
NS_E_PDA_INITIALIZINGDEVICES (0xC00D118D) Windows Media Player is currently busy initializing devices. Please try again later.

Remarks

Windows Media Player 10 Mobile: This method is not supported.

Requirements

Version: Windows Media Player 10 or later.

Header: Include wmp.h.

Library: Use wmp.dll.

See Also

Previous Next