Microsoft DirectX 8.1 (C++) |
The GetMediaTimes2 method retrieves the media start and stop times. This method is equivalent to IAMTimelineSrc::GetMediaTimes, but takes REFTIME values.
Syntax
HRESULT GetMediaTimes2(
REFTIME *pStart,
REFTIME *pStop
);
Parameters
pStart
Pointer to a variable that receives the media start time, in seconds.
pStop
Pointer to a variable that receives the media stop time, in seconds.
Return Value
Returns S_OK if successful, or E_POINTER otherwise.
See Also