TpSetCallbackLongFunction function
Indicates that callbacks associated with this callback environment may not return quickly.
Syntax
VOID FORCEINLINE TpSetCallbackLongFunction( _Inout_ PTP_CALLBACK_ENVIRON CallbackEnviron );
Parameters
- CallbackEnviron [in, out]
-
A TP_CALLBACK_ENVIRON structure that defines the callback environment. The TpInitializeCallbackEnviron function returns this structure.
Return value
This function does not return a value.
Remarks
The thread pool may use this information to better determine when a new thread should be created.
This function is implemented as an inline function.
Requirements
|
Header |
|
|---|
See also
- TpInitializeCallbackEnviron
- TpDestroyCallbackEnviron
- TpSetCallbackActivationContext
- TpSetCallbackCleanupGroup
- TpSetCallbackFinalizationCallback
- TpSetCallbackNoActivationContext
- TpSetCallbackPersistent
- TpSetCallbackPriority
- TpSetCallbackRaceWithDll
- TpSetCallbackThreadpool
Show: