Поделиться через


LPRESET_DEFAULT_PIPE (Compact 2013)

3/26/2014

This function resets the default pipe to a universal serial bus (USB) device.

Syntax

typedef BOOL (* LPRESET_DEFAULT_PIPE)(
  USB_HANDLE hDevice
);

Parameters

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

Return Value

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 for drivers that support Universal Serial Bus Specification Revision 1.1 or Revision 2.0.

Requirements

Header

usbdi.h

See Also

Reference

USB Driver Functions
LPGET_USBD_VERSION
LPIS_DEFAULT_PIPE_HALTED