IWMPSyncDevice interface (wmp.h)

[The feature associated with this page, Windows Media Player SDK, is a legacy feature. It has been superseded by MediaPlayer. MediaPlayer has been optimized for Windows 10 and Windows 11. Microsoft strongly recommends that new code use MediaPlayer instead of Windows Media Player SDK, when possible. Microsoft suggests that existing code that uses the legacy APIs be rewritten to use the new APIs if possible.]

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.

Inheritance

The IWMPSyncDevice interface inherits from the IUnknown interface. IWMPSyncDevice also has these types of members:

Methods

The IWMPSyncDevice interface has these methods.

 
IWMPSyncDevice::createPartnership

The createPartnership method creates a partnership between Windows Media Player and the device.
IWMPSyncDevice::deletePartnership

The deletePartnership method terminates the partnership between Windows Media Player and the device.
IWMPSyncDevice::get_connected

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

The get_deviceId method retrieves the device identifier string.
IWMPSyncDevice::get_deviceName

The get_deviceName method retrieves the name of the device.
IWMPSyncDevice::get_friendlyName

The get_friendlyName method retrieves the user-defined name of the device.
IWMPSyncDevice::get_partnershipIndex

The get_partnershipIndex method retrieves the index of the device partnership.
IWMPSyncDevice::get_progress

The get_progress method retrieves a value that indicates the synchronization progress as percent complete.
IWMPSyncDevice::get_status

The get_status method retrieves a value that indicates the status of the relationship between Windows Media Player and the device.
IWMPSyncDevice::get_syncState

The get_syncState method retrieves a value that indicates the current synchronization state for the device.
IWMPSyncDevice::getItemInfo

The getItemInfo method retrieves a metadata value from the device.
IWMPSyncDevice::isIdentical

The isIdentical method compares the current device to the specified device and retrieves a value indicating whether they are the same device.
IWMPSyncDevice::put_friendlyName

The put_friendlyName method specifies the user-defined name of the device.
IWMPSyncDevice::showSettings

The showSettings method displays the Windows Media Player synchronization settings dialog box.
IWMPSyncDevice::start

The start method begins synchronization.
IWMPSyncDevice::stop

The stop method ends synchronization.

Requirements

Requirement Value
Target Platform Windows
Header wmp.h

See also

Interfaces

Remoting the Windows Media Player Control