Canceling a Timer Event
The application must cancel any outstanding timers by calling the
timeKillEvent function before it frees the memory that contains the callback function. To
cancel a timer event, it might call the following function.
- oid DestroyTimer(NPSEQ npSeq)
{
if(npSeq->wTimerID) { // is timer event pending?
timeKillEvent(npSeq->wTimerID); // cancel the event
npSeq->wTimerID = 0;
}
}
- Software for developers
-
Delphi Components
.Net Components
Software for Android Developers
- More information resources
-
MegaDetailed.Net
Unix Manual Pages
Delphi Examples
- Databases for Amazon shops developers
-
Amazon Categories Database
Browse Nodes Database