Microsoft DirectX 8.1 (C++) |
The GetDuration method retrieves the duration of the timeline.
Syntax
HRESULT GetDuration(
REFERENCE_TIME *pDuration
);
Parameters
pDuration
Pointer to a variable that receives the duration of the timeline, in 100-nanosecond units.
Return Value
Returns S_OK if successful, or E_POINTER otherwise.
See Also