Efi_usb_io_protocol.usbgetinterfacedescriptor(), Usbgetinterfacedescriptor() – Intel Extensible Firmware Interface User Manual
Page 597

Protocols
— USB Support
Version 1.10
12/01/02
14-57
EFI_USB_IO_PROTOCOL.UsbGetInterfaceDescriptor()
Summary
Retrieves the Interface Descriptor for a USB Device Controller. As stated earlier, an interface
within a USB device is equivalently to a USB Controller within the current configuration.
Prototype
typedef
EFI_STATUS
(EFIAPI *EFI_USB_IO_GET_INTERFACE_DESCRIPTOR) (
IN EFI_USB_IO_PROTOCOL
*This,
OUT EFI_USB_INTERFACE_DESCRIPTOR
*InterfaceDescriptor
);
Parameters
This
A pointer to the
instance. Type
EFI_USB_IO_PROTOCOL
is defined in Section 14.2.5.
InterfaceDescriptor
A pointer to the caller allocated USB Interface Descriptor within
the configuration setting. See “Related Definitions” for a
detailed description.
Related Definitions
//
// See USB1.1 for detail descrption.
//
typedef struct {
UINT8
Length;
UINT8
DescriptorType;
UINT8
InterfaceNumber;
UINT8
AlternateSetting;
UINT8
NumEndpoints;
UINT8
InterfaceClass;
UINT8
InterfaceSubClass;
UINT8
InterfaceProtocol;
UINT8
Interface;
} EFI_USB_INTERFACE_DESCRIPTOR;