Windows Media Player 11 SDK IWMPSyncServices::get_deviceCount
Previous | Next |
IWMPSyncServices::get_deviceCount
The get_deviceCount method retrieves the number of available devices.
Syntax
Parameters
plCount
[out] Pointer to a long that contains the device count.
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
This method may return devices that have been connected previously, but that do not have a partnership established. Therefore, the list of returned devices does not represent a list of devices with partnerships.
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 |