网站首页  词典首页

请输入您要查询的函数:

 

术语 openthreadwaitchainsession
释义 OpenThreadWaitChainSession
语法:
C++
HWCT WINAPI OpenThreadWaitChainSession(
__in DWORD Flags,
__in_opt PWAITCHAINCALLBACK callback
);
OpenThreadWaitChainSession作用
创建一个新的WCT会议。
参数
标志 [in]
这次会议的类型。此参数可以是下列值之一。
ValueMeaning
答同步会议。
WCT_ASYNC_OPEN_FLAGAn异步会议。
回调[中,可选]
如果这次会议是异步的,这个参数可以是一个WaitChainCallback回调函数的指针。
返回值
如果函数成功,返回值是一个句柄到新创建的会话。
如果函数失败,返回值为NULL。为了获得更多错误信息,调用GetLastError。
备注
当您使用完会议,调用CloseThreadWaitChainSession功能。
实例
有关示例,请参阅使用WCT。
要求:
client最低支持Vista
server最低支持 Windows Server 2008
HeaderWct.h
LibraryAdvapi32.lib
DLLAdvapi32.dll
参见
CloseThreadWaitChainSession
GetThreadWaitChain
等待链遍历
WaitChainCallback
如果有任何问题和意见,请发送给微软(wsddocfb@microsoft.com)
生成日期:2009年7月30日
==英文原文==OpenThreadWaitChainSession Function
Creates a new WCT session.
Syntax
C++
HWCT WINAPI OpenThreadWaitChainSession(
__in DWORD Flags,
__in_opt PWAITCHAINCALLBACK callback
);
Parameters
Flags [in]
The session type. This parameter can be one of the following values.
ValueMeaning
0A synchronous session.
WCT_ASYNC_OPEN_FLAGAn asynchronous session.

callback [in, optional]
If the session is asynchronous, this parameter can be a pointer to a WaitChainCallback callback function.
Return Value
If the function succeeds, the return value is a handle to the newly created session.
If the function fails, the return value is NULL. To get extended error information, call GetLastError .
Remarks
When you have finished using the session, call the CloseThreadWaitChainSession function.
Examples
For an example, see Using WCT .
Requirements
Minimum supported clientWindows Vista
Minimum supported serverWindows Server 2008
HeaderWct.h
LibraryAdvapi32.lib
DLLAdvapi32.dll
See Also
CloseThreadWaitChainSession
GetThreadWaitChain
Wait Chain Traversal
WaitChainCallback
Send comments about this topic to Microsoft
Build date: 7/30/2009
==原始网址==http://msdn.microsoft.com/en-us/library/ms680543(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:25:07