Freigeben über


timeKillEvent function

The timeKillEvent function cancels a specified timer event.

Syntax

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 value

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

Requirements

Minimum supported client

Windows 2000 Professional [desktop apps only]

Minimum supported server

Windows 2000 Server [desktop apps only]

Header

TimeAPI.h (include Windows.h); Mmsystem.h on Windows Server 2008 R2, Windows 7, Windows 7, Windows Server 2008 and Windows Vista (include Windows.h)

Library

Winmm.lib

DLL

Winmm.dll

See also

Multimedia Timers

Multimedia Timer Functions