MFP_MEDIAPLAYER_STATE enumeration (mfplay.h)

Important  Deprecated. This API may be removed from future releases of Windows. Applications should use the Media Session for playback.
 

Specifies the current playback state.

Syntax

typedef enum MFP_MEDIAPLAYER_STATE {
  MFP_MEDIAPLAYER_STATE_EMPTY = 0,
  MFP_MEDIAPLAYER_STATE_STOPPED = 0x1,
  MFP_MEDIAPLAYER_STATE_PLAYING = 0x2,
  MFP_MEDIAPLAYER_STATE_PAUSED = 0x3,
  MFP_MEDIAPLAYER_STATE_SHUTDOWN = 0x4
} ;

Constants

 
MFP_MEDIAPLAYER_STATE_EMPTY
Value: 0
Initial state. No media items have been set on the player object.
MFP_MEDIAPLAYER_STATE_STOPPED
Value: 0x1
Playback is stopped.
MFP_MEDIAPLAYER_STATE_PLAYING
Value: 0x2
Playback is in progress.
MFP_MEDIAPLAYER_STATE_PAUSED
Value: 0x3
Playback is paused.
MFP_MEDIAPLAYER_STATE_SHUTDOWN
Value: 0x4
The player object was shut down. This state is returned after the application calls IMFPMediaPlayer::Shutdown.

Requirements

   
Minimum supported client Windows 7 [desktop apps only]
Minimum supported server Windows Server 2008 R2 [desktop apps only]
Header mfplay.h

See also

IMFPMediaPlayer::GetState

Media Foundation Enumerations