This function checks if a USB pipe is in a halted state.
BOOL IsPipeHalted( USB_PIPE hPipe, LPBOOL lpbHalted );
TRUE indicates success. FALSE indicates failure.
This function may be used to determine whether or not a pipe is halted.
This function is defined in the Mousedrv.cpp file.