CloseThreadWaitChainSession function (wct.h)
Closes the specified WCT session and cancels any outstanding asynchronous operations.
void CloseThreadWaitChainSession( HWCT WctHandle );
A handle to the WCT session created by the OpenThreadWaitChainSession function.
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.
For an example, see Using WCT.
|Minimum supported client||Windows Vista [desktop apps only]|
|Minimum supported server||Windows Server 2008 [desktop apps only]|