OUT EFI_STRING *Results\r
)\r
{\r
+ if (Request == NULL || Progress == NULL || Results == NULL) {\r
+ return EFI_INVALID_PARAMETER;\r
+ }\r
*Progress = Request;\r
return EFI_NOT_FOUND;\r
}\r
OUT EFI_STRING *Progress\r
)\r
{\r
- if (Configuration == NULL) {\r
+ if (Configuration == NULL || Progress == NULL) {\r
return EFI_INVALID_PARAMETER;\r
}\r
\r
- if (Progress == NULL) {\r
- return EFI_INVALID_PARAMETER;\r
+ *Progress = Configuration;\r
+ if (!HiiIsConfigHdrMatch (Configuration, &mBootMaintGuid, mBootMaintStorageName)\r
+ && !HiiIsConfigHdrMatch (Configuration, &mFileExplorerGuid, mFileExplorerStorageName)) {\r
+ return EFI_NOT_FOUND;\r
}\r
\r
- return EFI_NOT_FOUND;\r
+ *Progress = Configuration + StrLen (Configuration);\r
+ return EFI_SUCCESS;\r
}\r
\r
/**\r