]> git.proxmox.com Git - mirror_edk2.git/blobdiff - MdeModulePkg/Universal/SetupBrowserDxe/Ui.h
Replace BufToHexString by UnicodeValueToString
[mirror_edk2.git] / MdeModulePkg / Universal / SetupBrowserDxe / Ui.h
index 0f27de5ed1b2e50adab60d882dbff05be5784569..6842fe9d7a4fceca72a146b8fa9187c097ea3f68 100644 (file)
@@ -26,6 +26,13 @@ WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
 \r
 #define SUBTITLE_INDENT  2\r
 \r
+\r
+//\r
+// It take 23 characters including the NULL to print a 64 bits number with "[" and "]".\r
+// pow(2, 64) = [18446744073709551616]\r
+//\r
+#define MAX_NUMERIC_INPUT_WIDTH 23\r
+\r
 typedef enum {\r
   UiNoOperation,\r
   UiDefault,\r
@@ -734,6 +741,8 @@ CompareHiiValue (
 /**\r
   Evaluate the result of a HII expression\r
 \r
+  If Expression is NULL, then ASSERT.\r
+\r
   @param  FormSet                FormSet associated with this expression.\r
   @param  Form                   Form associated with this expression.\r
   @param  Expression             Expression to be evaluated.\r