This function checks whether a transfer has completed.
BOOL IsTransferComplete( USB_TRANSFER hTransfer );
TRUE indicates that a transfer has completed. FALSE indicates that a transfer has not completed.
This function is defined in the Mousedrv.cpp file.