ResetDefaultPipe

This function resets the default pipe to a USB device.

Syntax

BOOL ResetDefaultPipe( USB_HANDLE hDevice );

Parameters

hDevice
[IN] Handle to a USB device whose default pipe you want to reset.

Return Values

TRUE indicates success. FALSE indicates failure.

Remarks

This function clears the halted state of the default pipe within the USB stack. This function is only available in USBD interface version 1.1 and later.

See Also

IsDefaultPipeHalted, GetUSBDVersion