网站首页  计算机词典

请输入您要查询的字词:

 

字词 registerwaitchaincomcallback
释义 RegisterWaitChainCOMCallback
语法:
C++
VOID WINAPI RegisterWaitChainCOMCallback(
__in PCOGETCALLSTATE CallStateCallback,
__in PCOGETACTIVATIONSTATE ActivationStateCallback
);
RegisterWaitChainCOMCallback功能
注册COM的WCT回调函数。
参数
CallStateCallback [in]
该CoGetCallState函数的地址。
ActivationStateCallback [in]
该CoGetActivationState函数的地址。
返回值
这个函数没有返回值。
备注
如果一个线程被阻塞在COM调用,WCT所有权可以检索信息的COM使用这些回调函数。如果该函数回调多次,只有最后的地址检索使用。
实例
有关示例,请参阅使用WCT。
要求:
client最低支持Vista
server最低支持 Windows Server 2008
HeaderWct.h
LibraryAdvapi32.lib
DLLAdvapi32.dll
参见
等待链遍历
如果有任何问题和意见,请发送给微软(wsddocfb@microsoft.com)
生成日期:2009年7月30日
==英文原文==RegisterWaitChainCOMCallback Function
Register COM callback functions for WCT.
Syntax
C++
VOID WINAPI RegisterWaitChainCOMCallback(
__in PCOGETCALLSTATE CallStateCallback,
__in PCOGETACTIVATIONSTATE ActivationStateCallback
);
Parameters
CallStateCallback [in]
The address of the CoGetCallState function.
ActivationStateCallback [in]
The address of the CoGetActivationState function.
Return Value
This function does not return a value.
Remarks
If a thread is blocked on a COM call, WCT can retrieve COM ownership information using these callback functions. If this function is callback multiple times, only the last addresses retrieved are used.
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
Wait Chain Traversal
Send comments about this topic to Microsoft
Build date: 7/30/2009
==原始网址==http://msdn.microsoft.com/en-us/library/ms680564(VS.85).aspx\n
随便看

 

计算机英汉双解词典包含34412条计算机术语英汉翻译词条,基本涵盖了全部常用计算机术语的翻译及用法,是计算机学习及翻译工作的有利工具。

 

Copyright © 2021-2025 foosec.com All Rights Reserved
更新时间:2026/10/23 20:44:35