Microsoft DirectX 8.1 (C++) |
The GetNextTrans2 method retrieves the first transition that appears at the specified time or later. This method is equivalent to IAMTimelineTransable::GetNextTrans, but takes a REFTIME value.
Syntax
HRESULT GetNextTrans2(
IAMTimelineObj **ppTrans,
REFTIME *pInOut
);
Parameters
ppTrans
[out] Address of a pointer to receive the transition object's IAMTimelineObj interface.
pInOut
Pointer to a variable that specifies the time in seconds. On input, this value specifies the time from which to find the transition. On output, if a transition is retrieved, this value is set to the stop time of the transition.
Return Value
Returns S_OK if the method retrieves a transition, or S_FALSE if it does not find a transition. Otherwise, returns an HRESULT value indicating the cause of the failure.
See Also