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:threadpoolapiset.ReleaseSemaphoreWhenCallbackReturns |
ReleaseSemaphoreWhenCallbackReturns function (threadpoolapiset.h) |
Specifies the semaphore that the thread pool will release when the current callback completes. |
|
base\releasesemaphorewhencallbackreturns.htm |
backup |
d5c8d6a0-6bb1-4ecb-aaba-665d81cb3d14 |
12/05/2018 |
ReleaseSemaphoreWhenCallbackReturns, ReleaseSemaphoreWhenCallbackReturns function, base.releasesemaphorewhencallbackreturns, threadpoolapiset/ReleaseSemaphoreWhenCallbackReturns, winbase/ReleaseSemaphoreWhenCallbackReturns |
threadpoolapiset.h |
Windows.h on Windows 7, Windows Server 2008 Windows Server 2008 R2 |
Windows |
Windows Vista [desktop apps \| UWP apps] |
Windows Server 2008 [desktop apps \| UWP apps] |
Kernel32.lib |
Kernel32.dll |
Windows |
19H1 |
|
|
|
|
|
|
Specifies the semaphore that the thread pool will release when the current callback completes.
A pointer to a TP_CALLBACK_INSTANCE structure that defines the callback instance. The pointer is passed to the callback function.
A handle to the semaphore.
The amount by which to increment the semaphore object's count.
To compile an application that uses this function, define _WIN32_WINNT as 0x0600 or higher.
DisassociateCurrentThreadFromCallback
FreeLibraryWhenCallbackReturns
LeaveCriticalSectionWhenCallbackReturns