Deletes a timer queue. Any pending timers in the queue are canceled and deleted.
BOOL DeleteTimerQueue( HANDLE TimerQueue );
A handle to the timer queue. This handle is returned by the CreateTimerQueue function.
If the function succeeds, the return value is nonzero.
If the function fails, the return value is zero. To get extended error information, call GetLastError.
DeleteTimerQueue does not wait for all callback functions associated with the timer to complete.
To compile an application that uses this function, define _WIN32_WINNT as 0x0500 or later. For more information, see Using the Windows Headers.
For an example that uses DeleteTimerQueue, see Using Timer Queues.
|Minimum supported client||Windows XP [desktop apps only]|
|Minimum supported server||Windows Server 2003 [desktop apps only]|
|Header||winbase.h (include Windows.h)|