Expand Minimize
0 out of 1 rated this helpful - Rate this topic

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

WinNT.h (include Windows.h)

See also

CloseThreadpoolCleanupGroup
CloseThreadpoolCleanupGroupMembers
SetThreadpoolCallbackCleanupGroup
Thread Pools

 

 

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.