Notitie
Voor toegang tot deze pagina is autorisatie vereist. U kunt proberen u aan te melden of de directory te wijzigen.
Voor toegang tot deze pagina is autorisatie vereist. U kunt proberen de mappen te wijzigen.
Register COM callback functions for WCT.
Syntax
VOID RegisterWaitChainCOMCallback(
[in] PCOGETCALLSTATE CallStateCallback,
[in] PCOGETACTIVATIONSTATE ActivationStateCallback
);
Parameters
[in] CallStateCallback
The address of the CoGetCallState function.
[in] ActivationStateCallback
The address of the CoGetActivationState function.
Return value
None
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
| Requirement | Value |
|---|---|
| Minimum supported client | Windows Vista [desktop apps only] |
| Minimum supported server | Windows Server 2008 [desktop apps only] |
| Target Platform | Windows |
| Header | wct.h |
| Library | Advapi32.lib |
| DLL | Advapi32.dll |