1 out of 1 rated this helpful - Rate this topic

RegisterWaitChainCOMCallback function

Applies to: desktop apps only

Register COM callback functions for WCT.

Syntax

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 client

Windows Vista

Minimum supported server

Windows Server 2008

Header

Wct.h

Library

Advapi32.lib

DLL

Advapi32.dll

See also

Wait Chain Traversal

 

 

Send comments about this topic to Microsoft

Build date: 3/6/2012

Did you find this helpful?
(1500 characters remaining)
Community Content Add
Annotations FAQ