DXUTKillTimer

Uninstalls an existing timer.

HRESULT DXUTKillTimer(
  UINT nIDEvent
);

Parameters

nIDEvent
[in] The event ID for the timer being destroyed. This ID is provided to the application by the DXUTSetTimer method.

Return Values

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.

Requirements

Header: Declared in Dxut.h.

See Also

LPDXUTCALLBACKTIMER, DXUTSetTimer