Share via


Função TpSetCallbackFinalizationCallback (winnt.h)

Indica uma função a ser chamada quando o ambiente de retorno de chamada é finalizado.

Sintaxe

void TpSetCallbackFinalizationCallback(
  [in, out] PTP_CALLBACK_ENVIRON CallbackEnviron,
  [in]      PTP_SIMPLE_CALLBACK  FinalizationCallback
);

Parâmetros

[in, out] CallbackEnviron

Uma estrutura TP_CALLBACK_ENVIRON que define o ambiente de retorno de chamada. A função TpInitializeCallbackEnviron retorna essa estrutura.

[in] FinalizationCallback

Ponteiro para uma estrutura TP_SIMPLE_CALLBACK indicando uma função a ser chamada quando o ambiente de retorno de chamada é finalizado.

Retornar valor

Nenhum

Comentários

Essa função é implementada como uma função embutida.

Requisitos

Requisito Valor
Plataforma de Destino Windows
Cabeçalho winnt.h

Confira também

TpDestroyCallbackEnviron

TpInitializeCallbackEnviron

TpSetCallbackActivationContext

TpSetCallbackCleanupGroup

TpSetCallbackLongFunction

TpSetCallbackNoActivationContext

TpSetCallbackPersistent

TpSetCallbackPriority

TpSetCallbackRaceWithDll

TpSetCallbackThreadpool