Skip to main content
TpDestroyCallbackEnviron 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 FORCEINLINE TpDestroyCallbackEnviron(
  _In_ PTP_CALLBACK_ENVIRON CallbackEnviron
);

Parameters

CallbackEnviron [in]

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

Return value

This function does not return a value.

Requirements

Header

Winnt.h

See also

TpInitializeCallbackEnviron
TpSetCallbackActivationContext
TpSetCallbackCleanupGroup
TpSetCallbackFinalizationCallback
TpSetCallbackLongFunction
TpSetCallbackNoActivationContext
TpSetCallbackPersistent
TpSetCallbackPriority
TpSetCallbackRaceWithDll
TpSetCallbackThreadpool