Share via


timeKillEvent

The timeKillEvent function cancels a specified timer event.

MMRESULT timeKillEvent(
  UINT uTimerID  
);

Parameters

uTimerID

Identifier of the timer event to cancel. This identifier was returned by the timeSetEvent function when the timer event was set up.

Return Values

Returns TIMERR_NOERROR if successful or MMSYSERR_INVALPARAM if the specified timer event does not exist.

Requirements

**  Windows NT/2000/XP:** Included in Windows NT 3.1 and later.
**  Windows 95/98/Me:** Included in Windows 95 and later.
**  Header:** Declared in Mmsystem.h; include Windows.h.
**  Library:** Use Winmm.lib.

See Also

Multimedia Timers, Multimedia Timer Functions, timeSetEvent