aboutsummaryrefslogtreecommitdiffstats
path: root/UefiLessonsPkg/HIIFormCallbackDebug2/Data.h
diff options
context:
space:
mode:
authorKonstantin Aladyshev <aladyshev22@gmail.com>2024-02-21 18:58:35 +0300
committerKonstantin Aladyshev <aladyshev22@gmail.com>2024-02-21 18:58:35 +0300
commitdcd9aa0c3d8f764c0ba3d3348451b8d7773971eb (patch)
tree10b3562a79f6e04af9f167b8bc99ccf3b01e1fe4 /UefiLessonsPkg/HIIFormCallbackDebug2/Data.h
parent8540c30aa69a939327b8a1c2cca7a85ed83cace4 (diff)
downloadUEFI-Lessons-dcd9aa0c3d8f764c0ba3d3348451b8d7773971eb.tar.gz
UEFI-Lessons-dcd9aa0c3d8f764c0ba3d3348451b8d7773971eb.tar.bz2
UEFI-Lessons-dcd9aa0c3d8f764c0ba3d3348451b8d7773971eb.zip
Add lesson about the form browser action requests
Signed-off-by: Konstantin Aladyshev <aladyshev22@gmail.com>
Diffstat (limited to 'UefiLessonsPkg/HIIFormCallbackDebug2/Data.h')
-rw-r--r--UefiLessonsPkg/HIIFormCallbackDebug2/Data.h23
1 files changed, 23 insertions, 0 deletions
diff --git a/UefiLessonsPkg/HIIFormCallbackDebug2/Data.h b/UefiLessonsPkg/HIIFormCallbackDebug2/Data.h
new file mode 100644
index 0000000..8df01aa
--- /dev/null
+++ b/UefiLessonsPkg/HIIFormCallbackDebug2/Data.h
@@ -0,0 +1,23 @@
+#ifndef _DATA_H_
+#define _DATA_H_
+
+#define FORMSET_GUID {0xf8f0d09a, 0xbc44, 0x4490, {0xb1, 0x7a, 0xdd, 0xf0, 0xe5, 0xdc, 0x41, 0x7f}}
+#define DATAPATH_GUID {0xfb821964, 0xacb4, 0x437b, {0x9f, 0xe6, 0x66, 0xaa, 0x7a, 0xd7, 0xc5, 0xd8}}
+#define STORAGE_GUID {0x37807592, 0x733a, 0x4f1b, {0x95, 0x57, 0xf2, 0x2a, 0xf7, 0x43, 0xe8, 0xc2}}
+
+#define CHECKBOX_QUESTION_ID 0x5555
+#define NUMERIC_QUESTION_ID 0x4444
+
+#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];
+} VARIABLE_STRUCTURE;
+#pragma pack()
+
+#endif