This function closes an open pipe handle.
BOOL ClosePipe( USB_PIPE hPipe );
TRUE indicates success. FALSE indicates failure.
This function aborts all transfers in progress on a pipe and frees all resources associated with the pipe. If transfers are in progress, this function blocks the transfers until the abort completes.
This function is defined in the Mousedrv.cpp file.