Export (0) Print
Expand All
Expand Minimize

MFP_MEDIAPLAYER_STATE enumeration

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     = 0x00000000,
  MFP_MEDIAPLAYER_STATE_STOPPED   = 0x00000001,
  MFP_MEDIAPLAYER_STATE_PLAYING   = 0x00000002,
  MFP_MEDIAPLAYER_STATE_PAUSED    = 0x00000003,
  MFP_MEDIAPLAYER_STATE_SHUTDOWN  = 0x00000004
} MFP_MEDIAPLAYER_STATE;

Constants

MFP_MEDIAPLAYER_STATE_EMPTY

Initial state. No media items have been set on the player object.

MFP_MEDIAPLAYER_STATE_STOPPED

Playback is stopped.

MFP_MEDIAPLAYER_STATE_PLAYING

Playback is in progress.

MFP_MEDIAPLAYER_STATE_PAUSED

Playback is paused.

MFP_MEDIAPLAYER_STATE_SHUTDOWN

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

IDL

Mfplay.idl

See also

Media Foundation Enumerations
IMFPMediaPlayer::GetState

 

 

Community Additions

ADD
Show:
© 2014 Microsoft