SetThreadpoolCallbackPersistent function (winbase.h)
Specifies that the callback should run on a persistent thread.
C++
void SetThreadpoolCallbackPersistent(
[in, out] PTP_CALLBACK_ENVIRON pcbe
);
[in, out] pcbe
A TP_CALLBACK_ENVIRON structure that defines the callback environment. The InitializeThreadpoolEnvironment function returns this structure.
None
This function is implemented as an inline function.
To compile an application that uses this function, set _WIN32_WINNT to _WIN32_WINNT_WIN7. For more information, see Using the Windows Headers.
Requirement | Value |
---|---|
Minimum supported client | Windows 7 [desktop apps only] |
Minimum supported server | Windows Server 2008 R2 [desktop apps only] |
Target Platform | Windows |
Header | winbase.h (include Windows.h) |