Skip to content

Latest commit

 

History

History
83 lines (62 loc) · 2.85 KB

ns-mfplay-mfp_position_set_event.md

File metadata and controls

83 lines (62 loc) · 2.85 KB
UID title description helpviewer_keywords old-location tech.root ms.assetid ms.date ms.keywords req.header req.include-header req.target-type req.target-min-winverclnt req.target-min-winversvr req.kmdf-ver req.umdf-ver req.ddi-compliance req.unicode-ansi req.idl req.max-support req.namespace req.assembly req.type-library req.lib req.dll req.irql targetos req.typenames req.redist ms.custom f1_keywords dev_langs topic_type api_type api_location api_name
NS:mfplay.MFP_POSITION_SET_EVENT
MFP_POSITION_SET_EVENT (mfplay.h)
Event structure for the MFP_EVENT_TYPE_POSITION_SET event.
MFP_POSITION_SET_EVENT
MFP_POSITION_SET_EVENT structure [Media Foundation]
mf.mfp_position_set_event
mfplay/MFP_POSITION_SET_EVENT
mf\mfp_position_set_event.htm
mf
5a40f12b-c463-4c07-b062-411c0701254f
12/05/2018
MFP_POSITION_SET_EVENT, MFP_POSITION_SET_EVENT structure [Media Foundation], mf.mfp_position_set_event, mfplay/MFP_POSITION_SET_EVENT
mfplay.h
Windows
Windows 7 [desktop apps only]
Windows Server 2008 R2 [desktop apps only]
Windows
MFP_POSITION_SET_EVENT
19H1
MFP_POSITION_SET_EVENT
mfplay/MFP_POSITION_SET_EVENT
c++
APIRef
kbSyntax
HeaderDef
mfplay.h
MFP_POSITION_SET_EVENT

MFP_POSITION_SET_EVENT structure

-description

Important  Deprecated. This API may be removed from future releases of Windows. Applications should use the Media Session for playback.
 

Event structure for the MFP_EVENT_TYPE_POSITION_SET event. This event is sent when the IMFPMediaPlayer::SetPosition method completes.

-struct-fields

-field header

MFP_EVENT_HEADER structure that contains data common to all IMFPMediaPlayer events.

-field pMediaItem

Pointer to the IMFPMediaItem interface of the current media item.

-remarks

To get a pointer to this structure, cast the pEventHeader parameter of the IMFPMediaPlayerCallback::OnMediaPlayerEvent method. You can use the MFP_GET_POSITION_SET_EVENT macro for this purpose.

-see-also

IMFPMediaPlayerCallback

Media Foundation Structures

Using MFPlay for Audio/Video Playback