EN
Este conteúdo não está disponível em seu idioma, mas aqui está a versão em inglês.

TpSetCallbackThreadpool function

Assigns a thread pool to a callback environment.

Syntax


VOID FORCEINLINE TpSetCallbackThreadpool(
  _Inout_  PTP_CALLBACK_ENVIRON CallbackEnviron,
  _In_     PTP_POOL Pool
);

Parameters

CallbackEnviron [in, out]

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

Pool [in]

A TP_POOL structure that defines a thread pool. The CreateThreadpool function returns this structure.

Return value

This function does not return a value.

Remarks

If you do not specify a thread pool, the global thread pool is used.

This function is implemented as an inline function.

Requirements

Header

Winnt.h

See also

TpInitializeCallbackEnviron
TpDestroyCallbackEnviron
TpSetCallbackActivationContext
TpSetCallbackCleanupGroup
TpSetCallbackFinalizationCallback
TpSetCallbackLongFunction
TpSetCallbackNoActivationContext
TpSetCallbackPersistent
TpSetCallbackPriority
TpSetCallbackRaceWithDll

 

 

Contribuições da comunidade

ADICIONAR
Mostrar:
© 2014 Microsoft