MFP_EVENT_HEADER structure (mfplay.h)
Contains information that is common to every type of MFPlay event.
Syntax
typedef struct MFP_EVENT_HEADER {
MFP_EVENT_TYPE eEventType;
HRESULT hrEvent;
IMFPMediaPlayer *pMediaPlayer;
MFP_MEDIAPLAYER_STATE eState;
IPropertyStore *pPropertyStore;
} MFP_EVENT_HEADER;
Members
eEventType
The type of event, specified as a member of the MFP_EVENT_TYPE enumeration.
hrEvent
Error or success code for the operation that caused the event.
pMediaPlayer
Pointer to the IMFPMediaPlayer interface of the MFPlay player object that sent the event.
eState
The new state of the MFPlay player object, specified as a member of the MFP_MEDIAPLAYER_STATE enumeration.
pPropertyStore
A pointer to the IPropertyStore interface of a property store object. The property store is used to hold additional event data for some event types. This member might be NULL.
Requirements
Requirement | Value |
---|---|
Minimum supported client | Windows 7 [desktop apps only] |
Minimum supported server | Windows Server 2008 R2 [desktop apps only] |
Header | mfplay.h |
See also
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for