TpDestroyCallbackEnviron function (winnt.h)

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

Syntax

void TpDestroyCallbackEnviron(
  [in] PTP_CALLBACK_ENVIRON CallbackEnviron
);

Parameters

[in] CallbackEnviron

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

Return value

None

Requirements

Requirement Value
Target Platform Windows
Header winnt.h

See also

TpInitializeCallbackEnviron

TpSetCallbackActivationContext

TpSetCallbackCleanupGroup

TpSetCallbackFinalizationCallback

TpSetCallbackLongFunction

TpSetCallbackNoActivationContext

TpSetCallbackPersistent

TpSetCallbackPriority

TpSetCallbackRaceWithDll

TpSetCallbackThreadpool