DestroyThreadpoolEnvironment
TOC
Collapse the table of content
Expand the table of content

DestroyThreadpoolEnvironment function

Deletes the specified callback environment. Call this function when the callback environment is no longer needed for creating new thread pool objects.

Syntax


VOID DestroyThreadpoolEnvironment(
  _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, define _WIN32_WINNT as 0x0600 or higher.

Requirements

Minimum supported client

Windows Vista [desktop apps | Windows Store apps]

Minimum supported server

Windows Server 2008 [desktop apps | Windows Store apps]

Header

WinBase.h (include Windows.h)

See also

InitializeThreadpoolEnvironment
SetThreadpoolCallbackCleanupGroup
SetThreadpoolCallbackLibrary
SetThreadpoolCallbackPool
SetThreadpoolCallbackPriority
SetThreadpoolCallbackRunsLong
Thread Pools

 

 

Show:
© 2016 Microsoft