Skip to content

Latest commit

 

History

History
127 lines (95 loc) · 2.99 KB

nf-wct-openthreadwaitchainsession.md

File metadata and controls

127 lines (95 loc) · 2.99 KB
UID title description helpviewer_keywords old-location tech.root ms.assetid ms.date ms.keywords req.header req.include-header req.target-type req.target-min-winverclnt req.target-min-winversvr req.kmdf-ver req.umdf-ver req.ddi-compliance req.unicode-ansi req.idl req.max-support req.namespace req.assembly req.type-library req.lib req.dll req.irql targetos req.typenames req.redist ms.custom f1_keywords dev_langs topic_type api_type api_location api_name
NF:wct.OpenThreadWaitChainSession
OpenThreadWaitChainSession function (wct.h)
Creates a new WCT session.
OpenThreadWaitChainSession
OpenThreadWaitChainSession function
WCT_ASYNC_OPEN_FLAG
base.openthreadwaitchainsession
wct/OpenThreadWaitChainSession
base\openthreadwaitchainsession.htm
Debug
405d9f3d-c11b-4e20-acc8-9c4f7989685d
12/05/2018
OpenThreadWaitChainSession, OpenThreadWaitChainSession function, WCT_ASYNC_OPEN_FLAG, base.openthreadwaitchainsession, wct/OpenThreadWaitChainSession
wct.h
Windows
Windows Vista [desktop apps only]
Windows Server 2008 [desktop apps only]
Advapi32.lib
Advapi32.dll
Windows
19H1
OpenThreadWaitChainSession
wct/OpenThreadWaitChainSession
c++
APIRef
kbSyntax
DllExport
Advapi32.dll
Ext-MS-Win-wer-wct-l1-1-0.dll
wer.dll
OpenThreadWaitChainSession

OpenThreadWaitChainSession function

-description

Creates a new WCT session.

-parameters

-param Flags [in]

The session type. This parameter can be one of the following values.

Value Meaning
0
A synchronous session.
WCT_ASYNC_OPEN_FLAG
An asynchronous session.

-param callback [in, optional]

If the session is asynchronous, this parameter can be a pointer to a WaitChainCallback callback function.

-returns

If the function succeeds, the return value is a handle to the newly created session.

If the function fails, the return value is NULL. To get extended error information, call GetLastError.

-remarks

When you have finished using the session, call the CloseThreadWaitChainSession function.

Examples

For an example, see Using WCT.

-see-also

CloseThreadWaitChainSession

GetThreadWaitChain

Wait Chain Traversal

WaitChainCallback