MFPMediaItem_GetStartStopPosition
Gets the start and stop times for the media item.
MFPMediaItem_GetStartStopPosition PROTO pMediaItem:DWORD, pdwStartValue:DWORD, pdwStopValue:DWORD
Parameters
pMediaItem- A pointer to the Media Item (IMFPMediaItem) object.pdwStartValue- A pointer to a DWORD variable to store the start position of the media item, returned in milliseconds.pdwStopValue- A pointer to a DWORD variable to store the stop position of the media item, returned in milliseconds.
Returns
TRUE if successful or FALSE otherwise.
Notes
This function converts the nano second time values to milliseconds. If an error occurs the value of the milliseconds is set to -1.
See Also
MFPMediaItem_SetStartStopPosition, MFPMediaItem_GetDuration, MFPMediaPlayer_GetPosition, MFPMediaPlayer_SetPosition, MFPMediaPlayer_GetDuration