Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
[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 WMPPlayState enumeration type defines the possible operational states of Windows Media Player as it plays a digital media file.
Syntax
typedef enum WMPPlayState {
wmppsUndefined = 0,
wmppsStopped,
wmppsPaused,
wmppsPlaying,
wmppsScanForward,
wmppsScanReverse,
wmppsBuffering,
wmppsWaiting,
wmppsMediaEnded,
wmppsTransitioning,
wmppsReady,
wmppsReconnecting,
wmppsLast
} ;
Constants
wmppsUndefinedValue: 0 Windows Media Player is in an undefined state. |
wmppsStoppedPlayback is stopped. |
wmppsPausedPlayback is paused. |
wmppsPlayingStream is playing. |
wmppsScanForwardStream is scanning forward. |
wmppsScanReverseStream is scanning backward. |
wmppsBufferingStream is being buffered. |
wmppsWaitingWaiting for streaming data. |
wmppsMediaEndedThe end of the media item has been reached. |
wmppsTransitioningPreparing new media item. |
wmppsReadyReady to begin playing. |
wmppsReconnectingTrying to reconnect for streaming data. |
wmppsLastLast enumerated value. Not a valid state. |
Requirements
| Requirement | Value |
|---|---|
| Minimum supported client | Windows Media Player 9 Series or later. |
| Header | wmp.h |