Share via


Windows Media Player 11 SDK WMPPlayState 

Windows Media Player SDK banner art

Previous Next

WMPPlayState

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       = 1,
  wmppsPaused        = 2,
  wmppsPlaying       = 3,
  wmppsScanForward   = 4,
  wmppsScanReverse   = 5,
  wmppsBuffering     = 6,
  wmppsWaiting       = 7,
  wmppsMediaEnded    = 8,
  wmppsTransitioning = 9,
  wmppsReady         = 10,
  wmppsReconnecting  = 11,
  wmppsLast          = 12
} WMPPlayState;

Members

wmppsUndefined

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

Version: Windows Media Player 9 Series or later.

Header: Include wmp.h.

Library: Use wmp.dll.

See Also

Previous Next