术语 | waitforthreadpoolwaitcallbacks |
释义 | WaitForThreadpoolWaitCallbacks 语法: C++ VOID WINAPI WaitForThreadpoolWaitCallbacks( __inout PTP_WAIT pwa, __in BOOL fCancelPendingCallbacks ); WaitForThreadpoolWaitCallbacks功能 等待优秀等待回调完成并可以选择取消待回调尚未开始执行。 参数 PWA中[ in , out ] 阿TP_WAIT结构,它定义等待的对象。该CreateThreadpoolWait函数返回TP_WAIT结构。 fCancelPendingCallbacks [in] 指示是否取消尚未开始执行排队回调。 返回值 这个函数没有返回值。 备注 要编译的应用程序使用此函数,定义为0x0600或更高_WIN32_WINNT。 实例 有关示例,请参阅使用线程池功能。 要求: client最低支持Vista server最低支持 Windows Server 2008 HeaderWinbase.h(头文件:winuser.h) LibraryKernel32.lib DLLKernel32.dll 参见 CloseThreadpoolWait CreateThreadpoolWait SetThreadpoolWait 线程池 如果有任何问题和意见,请发送给微软(wsddocfb@microsoft.com) 生成日期:2009年8月27日 ==英文原文==WaitForThreadpoolWaitCallbacks Function Waits for outstanding wait callbacks to complete and optionally cancels pending callbacks that have not yet started to execute. Syntax C++ VOID WINAPI WaitForThreadpoolWaitCallbacks( __inout PTP_WAIT pwa, __in BOOL fCancelPendingCallbacks ); Parameters pwa [in, out] A TP_WAIT structure that defines the wait object. The CreateThreadpoolWait function returns the TP_WAIT structure. fCancelPendingCallbacks [in] Indicates whether to cancel queued callbacks that have not yet started to execute. Return Value This function does not return a value. Remarks To compile an application that uses this function, define _WIN32_WINNT as 0x0600 or higher. Examples For an example, see Using the Thread Pool Functions . Requirements Minimum supported clientWindows Vista Minimum supported serverWindows Server 2008 HeaderWinbase.h (include Windows.h) LibraryKernel32.lib DLLKernel32.dll See Also CloseThreadpoolWait CreateThreadpoolWait SetThreadpoolWait Thread Pools Send comments about this topic to Microsoft Build date: 8/27/2009 ==原始网址==http://msdn.microsoft.com/en-us/library/ms687047(VS.85).aspx\n |
随便看 |
|
windows api函数参考手册包含2258条windows api函数文档,详细介绍nodejs、java、rust调用windows api的方法技巧,是学习windows api编程的入门中文文档。