Partager via


ResetDefaultPipe

This function resets the default pipe to a USB device.

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

Requirements

OS Versions: Windows CE 1.0 and later.
Header: Usbd.hpp.

See Also

GetUSBDVersion | IsDefaultPipeHalted | USB Drivers

 Last updated on Tuesday, May 18, 2004

© 1992-2003 Microsoft Corporation. All rights reserved.