MFPMediaItem_SetStartStopPosition
Sets the start and stop times for the media item.
MFPMediaItem_SetStartStopPosition PROTO pMediaItem:DWORD, dwStartValue:DWORD, dwStopValue:DWORD
Parameters
pMediaItem- A pointer to the Media Item (IMFPMediaItem) object.dwStartValue- The start position to set in the media item, in millisecondsdwStopValue- The stop position to set in the media item, in milliseconds.
Returns
TRUE if successful or FALSE otherwise.
Notes
This function converts the milliseconds values to nano seconds.
See Also
MFPMediaItem_GetStartStopPosition, MFPMediaItem_GetDuration, MFPMediaPlayer_GetPosition, MFPMediaPlayer_SetPosition, MFPMediaPlayer_GetDuration