Share via


LPOPEN_PIPE (Windows Embedded CE 6.0)

1/6/2010

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

Syntax

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 Value

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

Header usbdi.h
Windows Embedded CE Windows CE 2.10 and later

See Also

Reference

USB Host Driver Functions
LPCLOSE_PIPE