IAMTimelineObj::FixTimes2
Microsoft DirectShow 9.0 |
IAMTimelineObj::FixTimes2
The FixTimes2 method rounds the specified start and stop times to the nearest frame boundaries, as defined by the parent group's frame rate setting. This method is equivalent to IAMTimelineObj::FixTimes, but takes REFTIME values.
Syntax
HRESULT FixTimes2( REFTIME *pStart, REFTIME *pStop );
Parameters
pStart
Pointer to a variable that contains the start time, in seconds. If the call succeeds, this variable is set to the rounded time.
pStop
Pointer to a variable that contains the stop time, in seconds. If the call succeeds, this variable is set to the rounded time.
Return Value
Returns S_OK if successful, or E_NOTINTREE if the object is not part of a group.
Requirements
Header: Include Qedit.h. This header file is not compatible with Microsoft® Direct3D® headers later than version 7.
Library: Use strmiids.lib.
See Also