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_EMPTYValue: 0 Initial state. No media items have been set on the player object. |
MFP_MEDIAPLAYER_STATE_STOPPEDValue: 0x1 Playback is stopped. |
MFP_MEDIAPLAYER_STATE_PLAYINGValue: 0x2 Playback is in progress. |
MFP_MEDIAPLAYER_STATE_PAUSEDValue: 0x3 Playback is paused. |
MFP_MEDIAPLAYER_STATE_SHUTDOWNValue: 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 |