Expand Minimize
This topic has not yet been rated - Rate this topic

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

 

 

Send comments about this topic to Microsoft

Build date: 11/21/2012

Did you find this helpful?
(1500 characters remaining)

Community Additions

ADD
© 2013 Microsoft. All rights reserved.