다음을 통해 공유


WMPSyncState 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 WMPSyncState enumeration type defines the possible operational states of Windows Media Player as it synchronizes digital media to a device. To use this enumeration you must create a remoted instance of the Windows Media Player 10 or later control.

Syntax

typedef enum WMPSyncState {
  wmpssUnknown = 0,
  wmpssSynchronizing,
  wmpssStopped,
  wmpssEstimating,
  wmpssLast
} ;

Constants

 
wmpssUnknown
Value: 0
Synchronization state is unknown.
wmpssSynchronizing
Windows Media Player is synchronizing the device.
wmpssStopped
Synchronization has stopped.
wmpssEstimating
An estimation of synchronization size is in progress. Requires Windows Media Player 12.
wmpssLast
Last enumerated value. Not a valid 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::DeviceSyncStateChange

IWMPSyncDevice3::estimateSyncSize

IWMPSyncDevice::get_syncState

Interfaces

Remoting the Windows Media Player Control