Export (0) Print
Expand All
Expand Minimize

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)

 

 

Community Additions

ADD
Show:
© 2015 Microsoft