MFPMediaPlayer_SetMediaItem
Queues a media item for playback.
MFPMediaPlayer_SetMediaItem PROTO MediaPlayer:DWORD, pMediaItem:DWORD
Parameters
MediaPlayer- A pointer to the Media Player (IMFPMediaPlayer) object.pMediaItem- A pointer to the media item (IMFPMediaItem) to queue for play.
Returns
TRUE if successful or FALSE otherwise.
Notes
Sends a notification to the Media Event callback function as MFP_EVENT_TYPE_MEDIAITEM_SET
See Also
MFPMediaPlayer_CreateMediaItemA, MFPMediaPlayer_CreateMediaItemW, MFPMediaPlayer_GetMediaItem