Windows apps
Collapse the table of content
Expand the table of content
Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

SetThreadpoolCallbackPersistent function

Specifies that the callback should run on a persistent thread.

Syntax


VOID SetThreadpoolCallbackPersistent(
  _Inout_ PTP_CALLBACK_ENVIRON pcbe
);

Parameters

pcbe [in, out]

A TP_CALLBACK_ENVIRON structure that defines the callback environment. The InitializeThreadpoolEnvironment function returns this structure.

Return value

This function does not return a value.

Remarks

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.

Requirements

Minimum supported client

Windows 7 [desktop apps only]

Minimum supported server

Windows Server 2008 R2 [desktop apps only]

Header

WinBase.h (include Windows.h)

 

 

Show:
© 2017 Microsoft