MFPMediaPlayer_GetState
Obtains the current state of the MFPlay Media Player.
MFPMediaPlayer_GetState PROTO pMediaPlayer:DWORD, pdwState:DWORD
Parameters
pMediaPlayer- A pointer to the Media Player (IMFPMediaPlayer) object.pdwState- pointer to a DWORD value to store the state of the Media Player.
Returns
TRUE if successful or FALSE otherwise. The DWORD pointer to by the pdwState parameter will contain one of following value:
MFP_MEDIAPLAYER_STATE_EMPTYMFP_MEDIAPLAYER_STATE_STOPPEDMFP_MEDIAPLAYER_STATE_PLAYINGMFP_MEDIAPLAYER_STATE_PAUSEDMFP_MEDIAPLAYER_STATE_SHUTDOWN
See Also