Efi_usb_io_protocol.usbgetsupportedlanguages(), Usbgetsupportedlanguages(), Func – Intel Extensible Firmware Interface User Manual

Page 602

Advertising
background image

Extensible Firmware Interface Specification

14-62 12/01/02

Version

1.10

EFI_USB_IO_PROTOCOL.UsbGetSupportedLanguages()

Summary

Retrieves all the language ID codes that the USB device supports.

Prototype

typedef
EFI_STATUS
(EFIAPI *EFI_USB_IO_GET_SUPPORTED_LANGUAGES) (
IN EFI_USB_IO_PROTOCOL

*This,

OUT UINT16

**LangIDTable,

OUT UINT16

*TableSize

);

Parameters

This

A pointer to the

EFI_USB_IO_PROTOCOL

instance. Type

EFI_USB_IO_PROTOCOL

is defined in Section 14.2.5.

LangIDTable

Language ID for the string the caller wants to get. This is a 16-bit
ID defined by Microsoft. This buffer pointer is allocated and
maintained by the USB Bus Driver, the caller should not modify
its contents.

TableSize

The size, in bytes, of the table

LangIDTable

.

Description

Retrieves all the language ID codes that the USB device supports.

Status Code Returned

EFI_SUCCESS

The support languages were retrieved successfully.

Advertising