网站首页  词典首页

请输入您要查询的函数:

 

术语 seteventwhencallbackreturns
释义 SetEventWhenCallbackReturns
语法:
C++
VOID WINAPI SetEventWhenCallbackReturns(
__inout PTP_CALLBACK_INSTANCE pci,
__in HANDLE evt
);
SetEventWhenCallbackReturns功能
指定事件,线程池将设置在当前的回调完成。
参数
的PCI [中,输出]
阿TP_CALLBACK_INSTANCE结构,它定义的回调实例。结构传递给回调函数。
极值理论 [in]
阿处理该事件被设置。
返回值
这个函数没有返回值。
备注
要编译的应用程序使用此函数,定义为0x0600或更高_WIN32_WINNT。
要求:
client最低支持Vista
server最低支持 Windows Server 2008
HeaderWinbase.h(头文件:winuser.h)
LibraryKernel32.lib
DLLKernel32.dll
参见
CallbackMayRunLong
DisassociateCurrentThreadFromCallback
FreeLibraryWhenCallbackReturns
LeaveCriticalSectionWhenCallbackReturns
ReleaseMutexWhenCallbackReturns
ReleaseSemaphoreWhenCallbackReturns
线程池
TrySubmitThreadpoolCallback
如果有任何问题和意见,请发送给微软(wsddocfb@microsoft.com)
生成日期:2009年8月27日
==英文原文==SetEventWhenCallbackReturns Function
Specifies the event that the thread pool will set when the current callback completes.
Syntax
C++
VOID WINAPI SetEventWhenCallbackReturns(
__inout PTP_CALLBACK_INSTANCE pci,
__in HANDLE evt
);
Parameters
pci [in, out]
A TP_CALLBACK_INSTANCE structure that defines the callback instance. The structure is passed to the callback function.
evt [in]
A handle to the event to be set.
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.
Requirements
Minimum supported clientWindows Vista
Minimum supported serverWindows Server 2008
HeaderWinbase.h (include Windows.h)
LibraryKernel32.lib
DLLKernel32.dll
See Also
CallbackMayRunLong
DisassociateCurrentThreadFromCallback
FreeLibraryWhenCallbackReturns
LeaveCriticalSectionWhenCallbackReturns
ReleaseMutexWhenCallbackReturns
ReleaseSemaphoreWhenCallbackReturns
Thread Pools
TrySubmitThreadpoolCallback
Send comments about this topic to Microsoft
Build date: 8/27/2009
==原始网址==http://msdn.microsoft.com/en-us/library/ms686214(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:18:47