WMPDeviceStatus enumeration (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 WMPDeviceStatus enumeration type defines the possible values for the current status of a device. To use this enumeration, you must create a remoted instance of the Windows Media Player 10 or later control.

Syntax

typedef enum WMPDeviceStatus {
  wmpdsUnknown = 0,
  wmpdsPartnershipExists,
  wmpdsPartnershipDeclined,
  wmpdsPartnershipAnother,
  wmpdsManualDevice,
  wmpdsNewDevice,
  wmpdsLast
} ;

Constants

 
wmpdsUnknown
Value: 0
Not a valid status.
wmpdsPartnershipExists
A partnership between Windows Media Player and the device exists.
wmpdsPartnershipDeclined
The user declined to create a partnership with the device. A device will also have this status when the partnership was deleted programmatically by calling IWMPSyncDevice::deletePartnership.
wmpdsPartnershipAnother
A partnership exists with another computer or user. Windows Media Player 10 or later allows one partnership with one computer per device.
wmpdsManualDevice
The current device supports manual transfers only.
wmpdsNewDevice
The device is a new device; Windows Media Player has information stored for the device.
wmpdsLast
Last enumerated value. Not a valid device state.

Remarks

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

Requirements

Requirement Value
Minimum supported client Windows Media Player 10 or later.
Header wmp.h

See also

Enumeration Types

IWMPEvents2::DeviceStatusChange

IWMPSyncDevice::get_status

Interfaces

Remoting the Windows Media Player Control