TianoCore EDK2 master
Loading...
Searching...
No Matches
HiiString.h
Go to the documentation of this file.
1
12#ifndef __HII_STRING_H__
13#define __HII_STRING_H__
14
15#include <Protocol/HiiFont.h>
16
17#define EFI_HII_STRING_PROTOCOL_GUID \
18 { 0xfd96974, 0x23aa, 0x4cdc, { 0xb9, 0xcb, 0x98, 0xd1, 0x77, 0x50, 0x32, 0x2a } }
19
21
54typedef
56(EFIAPI *EFI_HII_NEW_STRING)(
58 IN EFI_HII_HANDLE PackageList,
59 OUT EFI_STRING_ID *StringId,
60 IN CONST CHAR8 *Language,
61 IN CONST CHAR16 *LanguageName OPTIONAL,
62 IN CONST EFI_STRING String,
63 IN CONST EFI_FONT_INFO *StringFontInfo OPTIONAL
64 );
65
99typedef
101(EFIAPI *EFI_HII_GET_STRING)(
103 IN CONST CHAR8 *Language,
104 IN EFI_HII_HANDLE PackageList,
105 IN EFI_STRING_ID StringId,
106 OUT EFI_STRING String,
107 IN OUT UINTN *StringSize,
108 OUT EFI_FONT_INFO **StringFontInfo OPTIONAL
109 );
110
134typedef
136(EFIAPI *EFI_HII_SET_STRING)(
138 IN EFI_HII_HANDLE PackageList,
139 IN EFI_STRING_ID StringId,
140 IN CONST CHAR8 *Language,
141 IN EFI_STRING String,
142 IN CONST EFI_FONT_INFO *StringFontInfo OPTIONAL
143 );
144
167typedef
169(EFIAPI *EFI_HII_GET_LANGUAGES)(
171 IN EFI_HII_HANDLE PackageList,
172 IN OUT CHAR8 *Languages,
173 IN OUT UINTN *LanguagesSize
174 );
175
209typedef
213 IN EFI_HII_HANDLE PackageList,
214 IN CONST CHAR8 *PrimaryLanguage,
215 IN OUT CHAR8 *SecondaryLanguages,
216 IN OUT UINTN *SecondaryLanguagesSize
217 );
218
223 EFI_HII_NEW_STRING NewString;
224 EFI_HII_GET_STRING GetString;
225 EFI_HII_SET_STRING SetString;
226 EFI_HII_GET_LANGUAGES GetLanguages;
227 EFI_HII_GET_2ND_LANGUAGES GetSecondaryLanguages;
228};
229
230extern EFI_GUID gEfiHiiStringProtocolGuid;
231
232#endif
UINT64 UINTN
EFI_STATUS(EFIAPI * EFI_HII_NEW_STRING)(IN CONST EFI_HII_STRING_PROTOCOL *This, IN EFI_HII_HANDLE PackageList, OUT EFI_STRING_ID *StringId, IN CONST CHAR8 *Language, IN CONST CHAR16 *LanguageName OPTIONAL, IN CONST EFI_STRING String, IN CONST EFI_FONT_INFO *StringFontInfo OPTIONAL)
Definition: HiiString.h:56
EFI_STATUS(EFIAPI * EFI_HII_GET_LANGUAGES)(IN CONST EFI_HII_STRING_PROTOCOL *This, IN EFI_HII_HANDLE PackageList, IN OUT CHAR8 *Languages, IN OUT UINTN *LanguagesSize)
Definition: HiiString.h:169
EFI_STATUS(EFIAPI * EFI_HII_GET_2ND_LANGUAGES)(IN CONST EFI_HII_STRING_PROTOCOL *This, IN EFI_HII_HANDLE PackageList, IN CONST CHAR8 *PrimaryLanguage, IN OUT CHAR8 *SecondaryLanguages, IN OUT UINTN *SecondaryLanguagesSize)
Definition: HiiString.h:211
EFI_STATUS(EFIAPI * EFI_HII_SET_STRING)(IN CONST EFI_HII_STRING_PROTOCOL *This, IN EFI_HII_HANDLE PackageList, IN EFI_STRING_ID StringId, IN CONST CHAR8 *Language, IN EFI_STRING String, IN CONST EFI_FONT_INFO *StringFontInfo OPTIONAL)
Definition: HiiString.h:136
EFI_STATUS(EFIAPI * EFI_HII_GET_STRING)(IN CONST EFI_HII_STRING_PROTOCOL *This, IN CONST CHAR8 *Language, IN EFI_HII_HANDLE PackageList, IN EFI_STRING_ID StringId, OUT EFI_STRING String, IN OUT UINTN *StringSize, OUT EFI_FONT_INFO **StringFontInfo OPTIONAL)
Definition: HiiString.h:101
#define CONST
Definition: Base.h:259
#define OPTIONAL
Definition: Base.h:290
#define IN
Definition: Base.h:279
#define OUT
Definition: Base.h:284
RETURN_STATUS EFI_STATUS
Definition: UefiBaseType.h:29
VOID * EFI_HII_HANDLE
Definition: Base.h:213