This function aborts an active transfer.
BOOL AbortTransfer( USB_TRANSFER hTransfer, DWORD dwFlags );
TRUE indicates success. FALSE indicates failure.
This function halts a transfer in progress. It blocks the transfer until the transfer is successfully canceled unless USB_NO_WAIT is specified. If USB_NO_WAIT is specified, the transfer is flagged for cancelation, and this function returns immediately.
This function is defined in the Mousedrv.cpp file.