IsDefaultPipeHalted

This function checks if the default pipe to a USB device is halted.

Syntax

BOOL IsDefaultPipeHalted( USB_HANDLE hDevice, LPBOOL lpbHalted );

Parameters

hDevice
[IN] Handle to a USB device.
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 is only available in USBDI version 1.1 or later.

See Also

ResetDefaultPipe, GetUSBDVersion