术语 | deletetimerqueueex |
释义 | DeleteTimerQueueEx 语法: C++ BOOL WINAPI DeleteTimerQueueEx( __in HANDLE TimerQueue, __in_opt HANDLE CompletionEvent ); DeleteTimerQueueEx功能 删除一个定时器队列。在队列中的所有未结定时器被取消和删除。 参数 TimerQueue [in] 一个句柄,计时器队列。这种处理是由CreateTimerQueue函数返回。 CompletionEvent [中,可选] 句柄的事件对象时,将信号的功能是成功的,所有的回调函数完成。此参数可以为NULL。 如果此参数为INVALID_HANDLE_VALUE,函数等待返回之前完成所有回调函数。 如果该参数为NULL,函数标记为删除,并立即返回计时器。然而,大多数来电者应等待回调函数来完成,使他们能够执行任何所需的清理工作。 返回值 如果函数成功,返回值为非零。 如果函数失败,返回值是零。为了获得更多错误信息,调用GetLastError。 备注 不要阻止在一个定时器回调要求DeleteTimerQueueEx。 要编译的应用程序使用此功能,定义_WIN32_WINNT为0x0500或更高版本。有关详细信息,请参阅使用Windows头。 要求: 最低支持:client-Windows 2000专业版 最低支持server-Windows 2000服务器 HeaderWinbase.h(头文件:winuser.h) LibraryKernel32.lib DLLKernel32.dll 参见 CreateTimerQueue DeleteTimerQueueTimer 同步功能 线程池 定时器队列 如果有任何问题和意见,请发送给微软(wsddocfb@microsoft.com) 生成日期:2009年8月27日 ==英文原文==DeleteTimerQueueEx Function Deletes a timer queue. Any pending timers in the queue are canceled and deleted. Syntax C++ BOOL WINAPI DeleteTimerQueueEx( __in HANDLE TimerQueue, __in_opt HANDLE CompletionEvent ); Parameters TimerQueue [in] A handle to the timer queue. This handle is returned by the CreateTimerQueue function. CompletionEvent [in, optional] A handle to the event object to be signaled when the function is successful and all callback functions have completed. This parameter can be NULL. If this parameter is INVALID_HANDLE_VALUE, the function waits for all callback functions to complete before returning. If this parameter is NULL, the function marks the timer for deletion and returns immediately. However, most callers should wait for the callback function to complete so they can perform any needed cleanup. 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 Do not make blocking calls to DeleteTimerQueueEx from within a timer callback. To compile an application that uses this function, define _WIN32_WINNT as 0x0500 or later. For more information, see Using the Windows Headers . Requirements Minimum supported clientWindows 2000 Professional Minimum supported serverWindows 2000 Server HeaderWinbase.h (include Windows.h) LibraryKernel32.lib DLLKernel32.dll See Also CreateTimerQueue 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/ms682568(VS.85).aspx\n |
随便看 |
|
windows api函数参考手册包含2258条windows api函数文档,详细介绍nodejs、java、rust调用windows api的方法技巧,是学习windows api编程的入门中文文档。