IsPipeHalted

This function checks if a USB pipe is in a halted state.

Syntax

BOOL IsPipeHalted( USB_PIPE hPipe, LPBOOL lpbHalted );

Parameters

hPipe
[IN] Handle to a USB pipe.
lpbHalted
[OUT] Pointer to a BOOL containing TRUE if the pipe is halted, FALSE otherwise.

Return Values

TRUE indicates success. FALSE indicates failure.

Remarks

This function may be used to determine whether or not a pipe is halted.

This function is defined in the Mousedrv.cpp file.