Share via


timeKillEvent (Compact 2013)

3/26/2014

This function cancels a specified timer event.

Syntax

MMRESULT timeKillEvent(
  UINT uTimerID
);

Parameters

  • uTimerID
    [in] Identifier of the timer event to cancel.

    This identifier was returned by the timeSetEvent function, which starts a specified timer event.

Return Value

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

Requirements

Header

mmsystem.h

Library

Mmtimer.lib

See Also

Reference

Timer Driver Functions
timeSetEvent

Other Resources

Time Reference