aboutsummaryrefslogtreecommitdiffstats
path: root/Lessons/Lesson_66/UefiLessonsPkg/HIIFormDataElements/Data.h
diff options
context:
space:
mode:
authorKonstantin Aladyshev <aladyshev22@gmail.com>2022-03-21 17:18:32 +0300
committerKonstantin Aladyshev <aladyshev22@gmail.com>2022-03-21 17:19:06 +0300
commitc28cd7e7867f856318c121a15f73f2b499dd2bb9 (patch)
treeb48c438f00a5c990d36e56e48623d7d0d15eb3a1 /Lessons/Lesson_66/UefiLessonsPkg/HIIFormDataElements/Data.h
parentaeb813ac73c84fe2a6e8b87be429e661c08e5cae (diff)
downloadUEFI-Lessons-c28cd7e7867f856318c121a15f73f2b499dd2bb9.tar.gz
UEFI-Lessons-c28cd7e7867f856318c121a15f73f2b499dd2bb9.tar.bz2
UEFI-Lessons-c28cd7e7867f856318c121a15f73f2b499dd2bb9.zip
Add lesson 66
Signed-off-by: Konstantin Aladyshev <aladyshev22@gmail.com>
Diffstat (limited to 'Lessons/Lesson_66/UefiLessonsPkg/HIIFormDataElements/Data.h')
-rw-r--r--Lessons/Lesson_66/UefiLessonsPkg/HIIFormDataElements/Data.h16
1 files changed, 16 insertions, 0 deletions
diff --git a/Lessons/Lesson_66/UefiLessonsPkg/HIIFormDataElements/Data.h b/Lessons/Lesson_66/UefiLessonsPkg/HIIFormDataElements/Data.h
new file mode 100644
index 0000000..80bd3dc
--- /dev/null
+++ b/Lessons/Lesson_66/UefiLessonsPkg/HIIFormDataElements/Data.h
@@ -0,0 +1,16 @@
+#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];
+} UEFI_VARIABLE_STRUCTURE;
+#pragma pack()
+
+#endif