Freigeben über


LPFIND_INTERFACE (Windows CE 5.0)

Send Feedback

This function searches for a specific interface on a universal serial bus (USB) device.

typedef LPCUSB_INTERFACE (* LPFIND_INTERFACE)(  LPCUSB_DEVICE lpDeviceInfo,  UCHAR bInterfaceNumber,  UCHAR bAlternateSetting);

Parameters

  • lpDeviceInfo
    [in] Pointer to a device information structure, which is returned from the LPGET_DEVICE_INFO function.
  • bInterfaceNumber
    [in] Interface number.
  • bAlternateSetting
    [in] Alternate interface setting.

Return Values

A pointer to a USB_INTERFACE structure indicates success. NULL indicates failure.

Remarks

Alternate settings are used to supply alternate interfaces that drivers can select. For a device with no alternate settings, use a value of zero (0).

Requirements

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

See Also

LPGET_DEVICE_INFO | USB_INTERFACE

Send Feedback on this topic to the authors

Feedback FAQs

© 2006 Microsoft Corporation. All rights reserved.