EN
このコンテンツは設定された言語で表示できません。英語版のページが表示されます。

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

 

 

コミュニティの追加

追加
表示:
© 2014 Microsoft