Windows Media Player 11 SDK IWMPSyncDevice::get_partnershipIndex
Previous | Next |
IWMPSyncDevice::get_partnershipIndex
The get_partnershipIndex method retrieves the index of the device partnership.
Syntax
Parameters
plIndex
[out] Pointer to a long that contains the partnership index value. Possible values range from 0 to 16.
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 or later supports up to 16 device partnerships, numbered 1 to 16. The Player allows one partnership with one computer for each device. Creating a new partnership destroys any existing partnership with the current device.
When plIndex equals zero, no partnership exists.
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
- IWMPSyncDevice Interface
- IWMPSyncDevice::createPartnership
- IWMPSyncDevice::deletePartnership
- IWMPSyncDevice::get_deviceId
Previous | Next |