![]() |
![]() |
![]() |
Uninstalls an existing timer.
Syntax
HRESULT DXUTKillTimer(
UINT nIDEvent );
Parameters
- nIDEvent
- [in] The event identifier (ID) for the timer being destroyed. This ID is provided to the application by the DXUTSetTimer method.
Return Value
If the function succeeds, the return value is S_OK.If the function fails, the return value can be one of the error codes in DXUTERR.
Remarks
Timers created with DXUTSetTimer can be destroyed with DXUTKillTimer.
Function Information
Header dxut.h Import library None Minimum operating systems Windows 98
See Also
LPDXUTCALLBACKTIMER, DXUTSetTimer