);\r
\r
/**\r
- This code Finds the Next available variable.\r
+ This code finds the next available variable.\r
\r
Caution: This function may receive untrusted input.\r
This function may be invoked in SMM mode. This function will do basic validation, before parse the data.\r
\r
- @param[in] VariableName Pointer to variable name.\r
- @param[in] VendorGuid Variable Vendor Guid.\r
- @param[out] VariablePtr Pointer to variable header address.\r
+ @param[in] VariableName Pointer to variable name.\r
+ @param[in] VendorGuid Variable Vendor Guid.\r
+ @param[in] VariableStoreList A list of variable stores that should be used to get the next variable.\r
+ The maximum number of entries is the max value of VARIABLE_STORE_TYPE.\r
+ @param[out] VariablePtr Pointer to variable header address.\r
\r
@retval EFI_SUCCESS The function completed successfully.\r
@retval EFI_NOT_FOUND The next variable was not found.\r
- @retval EFI_INVALID_PARAMETER If VariableName is not an empty string, while VendorGuid is NULL.\r
+ @retval EFI_INVALID_PARAMETER If VariableName is nt an empty string, while VendorGuid is NULL.\r
@retval EFI_INVALID_PARAMETER The input values of VariableName and VendorGuid are not a name and\r
GUID of an existing variable.\r
\r
VariableServiceGetNextVariableInternal (\r
IN CHAR16 *VariableName,\r
IN EFI_GUID *VendorGuid,\r
+ IN VARIABLE_STORE_HEADER **VariableStoreList,\r
OUT VARIABLE_HEADER **VariablePtr\r
);\r
\r