mirror of
https://github.com/acidanthera/audk.git
synced 2025-07-23 05:34:31 +02:00
change comment style from 3 line to 1 line
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8784 6f19259b-4bc3-4df7-8a09-765794883524
This commit is contained in:
parent
574bb8b749
commit
ee09c93f45
@ -35,65 +35,31 @@
|
|||||||
#pragma pack(1)
|
#pragma pack(1)
|
||||||
|
|
||||||
typedef enum {
|
typedef enum {
|
||||||
///
|
EfiStringAscii, ///< A NULL-terminated ASCII string.
|
||||||
/// A NULL-terminated ASCII string.
|
EfiStringUnicode, ///< A double NULL-terminated Unicode string.
|
||||||
///
|
EfiStringToken ///< An EFI_STATUS_CODE_STRING_TOKEN representing the string.
|
||||||
EfiStringAscii,
|
///< The actual string can be obtained by querying the HII Database.
|
||||||
///
|
|
||||||
/// A double NULL-terminated Unicode string.
|
|
||||||
///
|
|
||||||
EfiStringUnicode,
|
|
||||||
///
|
|
||||||
/// An EFI_STATUS_CODE_STRING_TOKEN representing the string. The actual string
|
|
||||||
/// can be obtained by querying the HII Database.
|
|
||||||
///
|
|
||||||
EfiStringToken
|
|
||||||
} EFI_STRING_TYPE;
|
} EFI_STRING_TYPE;
|
||||||
|
|
||||||
typedef struct {
|
typedef struct {
|
||||||
///
|
FRAMEWORK_EFI_HII_HANDLE Handle; ///< The HII handle of the string pack, which can be
|
||||||
/// The HII handle of the string pack, which can be used to retrieve the string.
|
///< used to retrieve the string. It is a dynamic value
|
||||||
/// It is a dynamic value that may not be the same for different boots.
|
///< that may not be the same for different boots.
|
||||||
///
|
STRING_REF Token; ///< When combined with the HII handle, the string
|
||||||
FRAMEWORK_EFI_HII_HANDLE Handle;
|
///< token can be used to retrieve the string.
|
||||||
///
|
|
||||||
/// When combined with the HII handle, the string token can be used to retrieve the
|
|
||||||
/// string.
|
|
||||||
///
|
|
||||||
STRING_REF Token;
|
|
||||||
} EFI_STATUS_CODE_STRING_TOKEN;
|
} EFI_STATUS_CODE_STRING_TOKEN;
|
||||||
|
|
||||||
typedef union {
|
typedef union {
|
||||||
///
|
CHAR8 *Ascii; ///< ASCII formatted string.
|
||||||
/// ASCII formatted string.
|
CHAR16 *Unicode; ///< Unicode formatted string.
|
||||||
///
|
EFI_STATUS_CODE_STRING_TOKEN Hii; ///< HII handle/token pair.
|
||||||
CHAR8 *Ascii;
|
|
||||||
///
|
|
||||||
/// Unicode formatted string.
|
|
||||||
///
|
|
||||||
CHAR16 *Unicode;
|
|
||||||
///
|
|
||||||
/// HII handle/token pair.
|
|
||||||
///
|
|
||||||
EFI_STATUS_CODE_STRING_TOKEN Hii;
|
|
||||||
} EFI_STATUS_CODE_STRING;
|
} EFI_STATUS_CODE_STRING;
|
||||||
|
|
||||||
typedef struct {
|
typedef struct {
|
||||||
///
|
EFI_STATUS_CODE_DATA DataHeader; ///< The data header identifying the data.
|
||||||
/// The data header identifying the data. The HeaderSize should be sizeof
|
EFI_STRING_TYPE StringType; ///< Specifies if the string is ASCII or Unicode.
|
||||||
/// (EFI_STATUS_CODE_DATA).
|
EFI_STATUS_CODE_STRING String; ///< A pointer to a null-terminated ASCII or Unicode string.
|
||||||
/// The Size should be sizeof(EFI_STATUS_CODE_STRING_DATA) - HeaderSize.
|
|
||||||
/// The Type should be EFI_STATUS_CODE_DATA_TYPE_STRING_GUID.
|
|
||||||
///
|
|
||||||
EFI_STATUS_CODE_DATA DataHeader;
|
|
||||||
///
|
|
||||||
/// Specifies if the string is ASCII or Unicode.
|
|
||||||
///
|
|
||||||
EFI_STRING_TYPE StringType;
|
|
||||||
///
|
|
||||||
/// A pointer to a null-terminated ASCII or Unicode string.
|
|
||||||
///
|
|
||||||
EFI_STATUS_CODE_STRING String;
|
|
||||||
} EFI_STATUS_CODE_STRING_DATA;
|
} EFI_STATUS_CODE_STRING_DATA;
|
||||||
#pragma pack()
|
#pragma pack()
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user