CancelThreadpoolIo

Cancels the notification from the StartThreadpoolIo function.

Syntax

void CancelThreadpoolIo(
         PTP_IO pio
)  

Parameters

pio
Type: PTP_IO 

[in, out] A TP_IO structure that defines the I/O completion object. The CreateThreadpoolIo function returns this structure.

Return value

None.

Remarks

To prevent memory leaks, you must call the CancelThreadpoolIo function for either of the following scenarios:

Requirements

Header: Declared in threadpoolapiset.h.

Library: Use kernelx.lib.