CloseThreadWaitChainSession function

Closes the specified WCT session and cancels any outstanding asynchronous operations.

Syntax


VOID WINAPI CloseThreadWaitChainSession(
  _In_  HWCT WctHandle
);

Parameters

WctHandle [in]

A handle to the WCT session created by the OpenThreadWaitChainSession function.

Return value

This function does not return a value.

Remarks

If the WCT session was opened in asynchronous mode (with WCT_ASYNC_OPEN_FLAG), the function cancels any outstanding operations after their callback functions have been called and returned, and then it returns.

Examples

For an example, see Using WCT.

Requirements

Minimum supported client

Windows Vista [desktop apps only]

Minimum supported server

Windows Server 2008 [desktop apps only]

Header

Wct.h

Library

Advapi32.lib

DLL

Advapi32.dll

See also

OpenThreadWaitChainSession
Wait Chain Traversal

 

 

Community Additions

ADD
Show:
© 2014 Microsoft. All rights reserved.