CleanupGroupCancelCallback callback function
Applications implement this callback if they call the SetThreadpoolCallbackCleanupGroup function to specify the callback to use when CloseThreadpoolCleanupGroup is called.
The PTP_CLEANUP_GROUP_CANCEL_CALLBACK type defines a pointer to this callback function. CleanupGroupCancelCallback is a placeholder for the application-defined function name.
Syntax
VOID CALLBACK CleanupGroupCancelCallback( _Inout_opt_ PVOID ObjectContext, _Inout_opt_ PVOID CleanupContext );
Parameters
- ObjectContext [in, out, optional]
-
Optional application-defined data specified during creation of the object.
- CleanupContext [in, out, optional]
-
Optional application-defined data specified using CloseThreadpoolCleanupGroupMembers.
Return value
This function does not return a value.
Requirements
|
Minimum supported client |
Windows Vista [desktop apps only] |
|---|---|
|
Minimum supported server |
Windows Server 2008 [desktop apps only] |
|
Header |
|
See also
- CloseThreadpoolCleanupGroup
- CloseThreadpoolCleanupGroupMembers
- SetThreadpoolCallbackCleanupGroup
- Thread Pools
Show: