diff options
author | Konstantin Aladyshev <aladyshev22@gmail.com> | 2022-03-28 18:33:03 +0300 |
---|---|---|
committer | Konstantin Aladyshev <aladyshev22@gmail.com> | 2022-03-28 18:33:03 +0300 |
commit | 1f5278a5ef565b4833f407ac1493d14cd1fd7d21 (patch) | |
tree | 5fa9c3a0c645ec58de8e103e82deb4bb8a5e907e /Lessons/Lesson_73/UefiLessonsPkg/HIIFormDataElements/Data.h | |
parent | 10d9e1d18a32576c85d0a42933e79b6dbb6ebc9c (diff) | |
download | UEFI-Lessons-1f5278a5ef565b4833f407ac1493d14cd1fd7d21.tar.gz UEFI-Lessons-1f5278a5ef565b4833f407ac1493d14cd1fd7d21.tar.bz2 UEFI-Lessons-1f5278a5ef565b4833f407ac1493d14cd1fd7d21.zip |
Add sources to lesson 73
Signed-off-by: Konstantin Aladyshev <aladyshev22@gmail.com>
Diffstat (limited to 'Lessons/Lesson_73/UefiLessonsPkg/HIIFormDataElements/Data.h')
-rw-r--r-- | Lessons/Lesson_73/UefiLessonsPkg/HIIFormDataElements/Data.h | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/Lessons/Lesson_73/UefiLessonsPkg/HIIFormDataElements/Data.h b/Lessons/Lesson_73/UefiLessonsPkg/HIIFormDataElements/Data.h new file mode 100644 index 0000000..2b2ea49 --- /dev/null +++ b/Lessons/Lesson_73/UefiLessonsPkg/HIIFormDataElements/Data.h @@ -0,0 +1,23 @@ +#ifndef _DATA_H_ +#define _DATA_H_ + +#define FORMSET_GUID {0x531bc507, 0x9191, 0x4fa2, {0x94, 0x46, 0xb8, 0x44, 0xe3, 0x5d, 0xd1, 0x2a}} + +#define UEFI_VARIABLE_STRUCTURE_NAME L"FormData" + +#pragma pack(1) +typedef struct { + UINT8 CheckboxValue; + UINT16 NumericValue; + CHAR16 StringValue[11]; + EFI_HII_DATE DateValue; + EFI_HII_TIME TimeValue; + UINT8 OneOfValue; + UINT8 OrderedListValue[3]; +} UEFI_VARIABLE_STRUCTURE; +#pragma pack() + +#define LABEL_START 0x1111 +#define LABEL_END 0x2222 + +#endif |