/* Check whether the ConfigRequest string has the request elements. For EFI_HII_VARSTORE_BUFFER type, the request has "&OFFSET=****&WIDTH=****..." format. For EFI_HII_VARSTORE_NAME_VALUE type, the request has "&NAME1**&NAME2..." format. */
BOOLEAN GetElementsFromRequest(IN EFI_STRING ConfigRequest)
/* Check whether the ConfigRequest string has the request elements. For EFI_HII_VARSTORE_BUFFER type, the request has "&OFFSET=****&WIDTH=****..." format. For EFI_HII_VARSTORE_NAME_VALUE type, the request has "&NAME1**&NAME2..." format. */
BOOLEAN GetElementsFromRequest(IN EFI_STRING ConfigRequest)
{
  EFI_STRING  TmpRequest;
  TmpRequest = StrStr (ConfigRequest, L"PATH=");
  ASSERT (TmpRequest != NULL);
  if ((StrStr (TmpRequest, L"&OFFSET=") != NULL) || (StrStr (TmpRequest, L"&") != NULL)) {
    return TRUE;
  }
  return FALSE;
}