Share via


LPRESET_PIPE (Compact 2013)

3/26/2014

This function resets an open universal serial bus (USB) pipe.

Syntax

typedef BOOL (* LPRESET_PIPE)(
  USB_PIPE hPipe 
);

Parameters

  • hPipe
    [in] Handle to an open USB pipe.

Return Value

TRUE indicates success. FALSE indicates failure.

Remarks

This request clears the halted state of a pipe within the USB stack and resets the data-toggle state of the endpoint to DATA0. It does not reset the stalled state of the endpoint on the device; the device driver must do this by sending the appropriate feature request on the default pipe. The LPGET_STATUS function determines whether the endpoint is stalled on the device side.

Requirements

Header

usbdi.h

See Also

Reference

USB Driver Functions
LPCLEAR_FEATURE
LPGET_STATUS
LPIS_PIPE_HALTED