ResetPipe
This function resets an open USB pipe.
BOOL ResetPipe(
USB_PIPE hPipe
);
Parameters
- hPipe
[in] Handle to an open USB pipe.
Return Values
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 GetStatus function determines whether the endpoint is stalled on the device side.
Requirements
OS Versions: Windows CE 2.10 and later.
Header: Usbd.hpp.
See Also
ClearFeature | GetStatus | IsPipeHalted | USB Drivers
Last updated on Tuesday, May 18, 2004
© 1992-2003 Microsoft Corporation. All rights reserved.