Compartilhar via


LPOPEN_PIPE (Windows CE 5.0)

Send Feedback

This function opens a pipe for communication with a universal serial bus (USB) device.

typedef USB_PIPE (* LPOPEN_PIPE)(  USB_HANDLE hDevice,  LPCUSB_ENDPOINT_DESCRIPTOR lpEndpointDescriptor);

Parameters

  • hDevice
    [in] Handle to a USB device.
  • lpEndpointDescriptor
    [in] Pointer to an endpoint descriptor.

Return Values

A handle to a USB pipe indicates success. NULL indicates failure.

Remarks

No more than 16 pipes can be open simultaneously on a device, including the default endpoint zero (0) pipe.

Requirements

OS Versions: Windows CE 2.10 and later.
Header: Usbdi.h.

See Also

LPCLOSE_PIPE

Send Feedback on this topic to the authors

Feedback FAQs

© 2006 Microsoft Corporation. All rights reserved.