CloseTransfer

This function closes an active transfer handle.

Syntax

BOOL CloseTransfer( USB_TRANSFER hTransfer );

Parameters

hTransfer
[IN] Handle to a USB transfer.

Return Values

TRUE indicates success. FALSE indicates failure.

Remarks

This function aborts a transfer in progress and frees resources associated with the transfer.

This function is defined in the Mousedrv.cpp file.