WMPPlayState 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 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

 
wmppsUndefined
Value: 0
Windows Media Player is in an undefined state.
wmppsStopped
Playback is stopped.
wmppsPaused
Playback is paused.
wmppsPlaying
Stream is playing.
wmppsScanForward
Stream is scanning forward.
wmppsScanReverse
Stream is scanning backward.
wmppsBuffering
Stream is being buffered.
wmppsWaiting
Waiting for streaming data.
wmppsMediaEnded
The end of the media item has been reached.
wmppsTransitioning
Preparing new media item.
wmppsReady
Ready to begin playing.
wmppsReconnecting
Trying to reconnect for streaming data.
wmppsLast
Last enumerated value. Not a valid state.

Requirements

   
Minimum supported client Windows Media Player 9 Series or later.
Header wmp.h

See also

Enumeration Types