This function aborts all transfers on an open USB pipe.
BOOL AbortPipeTransfers( USB_PIPE hPipe, DWORD dwFlags );
TRUE indicates success. FALSE indicates failure.
This function blocks until all transfers have been successfully canceled on the endpoint unless USB_NO_WAIT is specified. If USB_NO_WAIT is specified, the transfers are flagged to be canceled, and this function returns immediately.
This function is defined in the Mousedrv.cpp file.