Windows Media Player 11 SDK IWMPSyncDevice Interface 

Windows Media Player SDK banner art

Previous Next

IWMPSyncDevice Interface

The IWMPSyncDevice interface represents a device to which Windows Media Player 10 or later can copy digital media files. It provides methods used to specify and retrieve properties for the device and to manage the relationship between Windows Media Player and the device.

To use this interface, you must create a remoted instance of the Windows Media Player 10 or later control.

In addition to the methods inherited from IUnknown, the IWMPSyncDevice interface exposes the following methods.

Method Description
createPartnership Creates a partnership between Windows Media Player and the device.
deletePartnership Terminates the partnership between Windows Media Player and the device.
get_connected Retrieves a value indicating whether the device is connected to Windows Media Player.
get_deviceId Retrieves the device identifier string.
get_partnershipIndex Retrieves the index of the device partnership.
get_deviceName Retrieves the name of the device.
get_friendlyName Retrieves the user-defined name of the device.
get_progress Retrieves a value indicating the synchronization progress as percent complete.
get_status Retrieves a value indicating the status of the relationship between Windows Media Player and the device.
get_syncState Retrieves a value indicating the current synchronization state for the device.
getItemInfo Retrieves a metadata value from the device.
isIdentical Compares the device to the specified device and retrieves a value indicating whether they are the same device.
put_friendlyName Specifies the user defined name of the device.
showSettings Displays the Windows Media Player synchronization settings dialog box.
start Begins synchronization.
stop Ends synchronization.

Retrieve a pointer to IWMPSyncDevice by calling IWMPSyncServices::getDevice.

See Also

Previous Next