From e6a90b38c0f25d94d9a874f20fbb63d3151da033 Mon Sep 17 00:00:00 2001 From: Konstantin Aladyshev Date: Mon, 21 Mar 2022 17:59:51 +0300 Subject: Add lesson 67 Signed-off-by: Konstantin Aladyshev --- .../UefiLessonsPkg/HIIFormDataElements/Data.h | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100644 Lessons/Lesson_67/UefiLessonsPkg/HIIFormDataElements/Data.h (limited to 'Lessons/Lesson_67/UefiLessonsPkg/HIIFormDataElements/Data.h') diff --git a/Lessons/Lesson_67/UefiLessonsPkg/HIIFormDataElements/Data.h b/Lessons/Lesson_67/UefiLessonsPkg/HIIFormDataElements/Data.h new file mode 100644 index 0000000..89eee4e --- /dev/null +++ b/Lessons/Lesson_67/UefiLessonsPkg/HIIFormDataElements/Data.h @@ -0,0 +1,18 @@ +#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; +} UEFI_VARIABLE_STRUCTURE; +#pragma pack() + +#endif -- cgit v1.2.3-18-g5258