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. |
|
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 |
|
|
|
|
|
|
Creates a new WCT session.
The session type. This parameter can be one of the following values.
Value | Meaning |
---|---|
|
A synchronous session. |
|
An asynchronous session. |
If the session is asynchronous, this parameter can be a pointer to a WaitChainCallback callback function.
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.
When you have finished using the session, call the CloseThreadWaitChainSession function.
For an example, see Using WCT.