6.5 WFMKillTimer

HRESULT WFMKillTimer(wTimerID )

Cancels the timer identified by the wTimerID parameter. Any pending WFS_TIMER_EVENT message associated with the timer is removed from the message queue.

Parameters WORD wTimerID

ID of the timer to be canceled.

Comments See WFMSetTimer.

Error Codes If the function return is not WFS_SUCCESS, it is the following error condition:

WFS_ERR_INVALID TIMER
The usTimerID parameter does not correspond to a currently active timer.