Share via


mfplay.h header

This header is used by Microsoft Media Foundation. For more information, see:

mfplay.h contains the following programming interfaces:

Interfaces

 
IMFPMediaItem

Represents a media item. (Deprecated.).
IMFPMediaPlayer

Contains methods to play media files. (Deprecated.).
IMFPMediaPlayerCallback

Callback interface for the IMFPMediaPlayer interface.

Functions

 
MFP_GET_ACQUIRE_USER_CREDENTIAL_EVENT

Casts an MFP_EVENT_HEADER pointer to an MFP_ACQUIRE_USER_CREDENTIAL_EVENT pointer.
MFP_GET_ERROR_EVENT

Casts an MFP_EVENT_HEADER pointer to an MFP_ERROR_EVENT pointer.
MFP_GET_FRAME_STEP_EVENT

Casts an MFP_EVENT_HEADER pointer to an MFP_FRAME_STEP_EVENT pointer.
MFP_GET_MEDIAITEM_CLEARED_EVENT

Casts an MFP_EVENT_HEADER pointer to an MEDIAITEM_CLEARED_EVENT pointer.
MFP_GET_MEDIAITEM_CREATED_EVENT

Casts an MFP_EVENT_HEADER pointer to an MFP_MEDIAITEM_CREATED_EVENT pointer.
MFP_GET_MEDIAITEM_SET_EVENT

Casts an MFP_EVENT_HEADER pointer to an MFP_MEDIAITEM_SET_EVENT pointer.
MFP_GET_MF_EVENT

Casts an MFP_EVENT_HEADER pointer to an MFP_MF_EVENT pointer.
MFP_GET_PAUSE_EVENT

Casts an MFP_EVENT_HEADER pointer to an MFP_PAUSE_EVENT pointer.
MFP_GET_PLAY_EVENT

Casts an MFP_EVENT_HEADER pointer to an MFP_PLAY_EVENT pointer.
MFP_GET_PLAYBACK_ENDED_EVENT

Casts an MFP_EVENT_HEADER pointer to an MFP_PLAYBACK_ENDED_EVENT pointer.
MFP_GET_POSITION_SET_EVENT

Casts an MFP_EVENT_HEADER pointer to an MFP_POSITION_SET_EVENT pointer.
MFP_GET_RATE_SET_EVENT

Casts an MFP_EVENT_HEADER pointer to an MFP_RATE_SET_EVENT pointer.
MFP_GET_STOP_EVENT

Casts an MFP_EVENT_HEADER pointer to an MFP_STOP_EVENT pointer.
MFPCreateMediaPlayer

Creates a new instance of the MFPlay player object.

Structures

 
MFP_ACQUIRE_USER_CREDENTIAL_EVENT

Event structure for the MFP_EVENT_TYPE_ACQUIRE_USER_CREDENTIAL event.
MFP_ERROR_EVENT

Event structure for the MFP_EVENT_TYPE_ERROR event.
MFP_EVENT_HEADER

Contains information that is common to every type of MFPlay event.
MFP_FRAME_STEP_EVENT

Event structure for the MFP_EVENT_TYPE_FRAME_STEP event.
MFP_MEDIAITEM_CLEARED_EVENT

Event structure for the MFP_EVENT_TYPE_MEDIAITEM_CLEARED event.
MFP_MEDIAITEM_CREATED_EVENT

Event structure for the MFP_EVENT_TYPE_MEDIAITEM_CREATED event.
MFP_MEDIAITEM_SET_EVENT

Event structure for the MFP_EVENT_TYPE_MEDIAITEM_SET event.
MFP_MF_EVENT

Event structure for the MFP_EVENT_TYPE_MF event.
MFP_PAUSE_EVENT

Event structure for the MFP_EVENT_TYPE_PAUSE event.
MFP_PLAY_EVENT

Event structure for the MFP_EVENT_TYPE_PLAY event.
MFP_PLAYBACK_ENDED_EVENT

Event structure for the MFP_EVENT_TYPE_PLAYBACK_ENDED event.
MFP_POSITION_SET_EVENT

Event structure for the MFP_EVENT_TYPE_POSITION_SET event.
MFP_RATE_SET_EVENT

Event structure for the MFP_EVENT_TYPE_RATE_SET event.
MFP_STOP_EVENT

Event structure for the MFP_EVENT_TYPE_STOP event.

Enumerations

 
_MFP_CREATION_OPTIONS

Specifies options for the MFPCreateMediaPlayer function.
_MFP_CREDENTIAL_FLAGS

Contains flags for the MFP_ACQUIRE_USER_CREDENTIAL_EVENT structure.
_MFP_MEDIAITEM_CHARACTERISTICS

Contains flags that describe a media item.
MFP_EVENT_TYPE

Defines event types for the IMFPMediaPlayerCallback interface.
MFP_MEDIAPLAYER_STATE

Specifies the current playback state.