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.

QuickInfo

  Windows NT: Requires version 3.1 or later.
  Windows: Requires Windows 95 or later.
  Windows CE: Unsupported.
  Header: Declared in mmsystem.h.
  Import Library: Use winmm.lib.

See Also

Multimedia Timers Overview, Multimedia Timer Functions, timeSetEvent