网站首页  词典首页

请输入您要查询的函数:

 

术语 deletetimerqueue
释义 DeleteTimerQueue
语法:
C++
BOOL WINAPI DeleteTimerQueue(
__in HANDLE TimerQueue
);
DeleteTimerQueue功能
删除一个定时器队列。在队列中的所有未结定时器被取消和删除。
注意:此功能是过时的,已被DeleteTimerQueueEx功能所取代。
参数
TimerQueue [in]
一个句柄,计时器队列。这种处理是由CreateTimerQueue函数返回。
返回值
如果函数成功,返回值为非零。
如果函数失败,返回值是零。为了获得更多错误信息,调用GetLastError。
备注
DeleteTimerQueue不等待与计时器来完成相关的所有回调函数。
要编译的应用程序使用此功能,定义_WIN32_WINNT为0x0500或更高版本。有关详细信息,请参阅使用Windows头。
实例
举一个例子,它使用DeleteTimerQueue,请参阅使用定时器队列。
要求:
最低支持:client-Windows 2000专业版
最低支持server-Windows 2000服务器
HeaderWinbase.h(头文件:winuser.h)
LibraryKernel32.lib
DLLKernel32.dll
参见
CreateTimerQueue
DeleteTimerQueueEx
DeleteTimerQueueTimer
同步功能
线程池
定时器队列
如果有任何问题和意见,请发送给微软(wsddocfb@microsoft.com)
生成日期:2009年8月27日
==英文原文==DeleteTimerQueue Function
Deletes a timer queue. Any pending timers in the queue are canceled and deleted.
Note This function is obsolete and has been replaced by the DeleteTimerQueueEx function.
Syntax
C++
BOOL WINAPI DeleteTimerQueue(
__in HANDLE TimerQueue
);
Parameters
TimerQueue [in]
A handle to the timer queue. This handle is returned by the CreateTimerQueue function.
Return Value
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 .
Remarks
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 .
Examples
For an example that uses DeleteTimerQueue, see Using Timer Queues .
Requirements
Minimum supported clientWindows 2000 Professional
Minimum supported serverWindows 2000 Server
HeaderWinbase.h (include Windows.h)
LibraryKernel32.lib
DLLKernel32.dll
See Also
CreateTimerQueue
DeleteTimerQueueEx
DeleteTimerQueueTimer
Synchronization Functions
Thread Pooling
Timer Queues
Send comments about this topic to Microsoft
Build date: 8/27/2009
==原始网址==http://msdn.microsoft.com/en-us/library/ms682565(VS.85).aspx\n
随便看

 

windows api函数参考手册包含2258条windows api函数文档,详细介绍nodejs、java、rust调用windows api的方法技巧,是学习windows api编程的入门中文文档。

 

Copyright © 2004-2023 Winrtm.com All Rights Reserved
京ICP备2021023879号-40 更新时间:2024/10/6 13:26:00