CloseThreadpoolCleanupGroup

Closes the specified cleanup group.

Syntax

void CloseThreadpoolCleanupGroup(
         PTP_CLEANUP_GROUP ptpcg
)  

Parameters

ptpcg
Type: PTP_CLEANUP_GROUPĀ 

[in, out] A TP_CLEANUP_GROUP structure that defines the cleanup group. The CreateThreadpoolCleanupGroup returns this structure.

Return value

None.

Remarks

The cleanup group must have no members when you call this function. For information on removing members of the group, see CloseThreadpoolCleanupGroupMembers.

Requirements

Header: Declared in threadpoolapiset.h.

Library: Use kernelx.lib.