\r
@param NumberOfLines The number of lines for the dialog box\r
@param KeyValue The EFI_KEY value returned if HotKey is TRUE..\r
+ @param String The first String to be displayed in the Pop-Up.\r
@param Marker A series of (quantity == NumberOfLines - 1) text\r
strings which will be used to construct the dialog\r
box\r
IfrLibCreatePopUp2 (\r
IN UINTN NumberOfLines,\r
OUT EFI_INPUT_KEY *KeyValue,\r
+ IN CHAR16 *String,\r
IN VA_LIST Marker\r
)\r
{\r
EFI_EVENT WaitList[2];\r
UINTN CurrentAttribute;\r
EFI_SIMPLE_TEXT_OUTPUT_PROTOCOL *ConOut;\r
- CHAR16 *String;\r
\r
- String = VA_ARG (Marker, CHAR16 *);\r
- \r
if ((KeyValue == NULL) || (String == NULL)) {\r
return EFI_INVALID_PARAMETER;\r
}\r
EFI_STATUS Status;\r
VA_LIST Marker;\r
\r
- VA_START (Marker, KeyValue);\r
+ VA_START (Marker, String);\r
\r
- Status = IfrLibCreatePopUp2 (NumberOfLines, KeyValue, Marker);\r
+ Status = IfrLibCreatePopUp2 (NumberOfLines, KeyValue, String, Marker);\r
\r
VA_END (Marker);\r
\r