![]() |
![]() |
![]() |
Resets the global animation time to zero. Any pending events will retain their original schedules, but in the new timeframe.
Syntax
HRESULT ResetTime(VOID);
Return Value
If the method succeeds, the return value is S_OK.
If the method fails, the following value will be returned.
D3DERR_INVALIDCALL The method call is invalid. For example, a method's parameter may have an invalid value.
Remarks
This method is typically used when the global animation time value is nearing the maximum precision of DOUBLE storage, or 264 - 1.