/* This function will check if VarName should be recorded and return the address of VarName if it is needed. */
CHAR16* AssignVarName(IN CHAR16 *VarName)
/* This function will check if VarName should be recorded and return the address of VarName if it is needed. */
CHAR16* AssignVarName(IN CHAR16 *VarName)
{
  UINTN  Index;
  for (Index = 0; Index < sizeof (mVariableType)/sizeof (mVariableType[0]); Index++) {
    if (StrCmp (VarName, mVariableType[Index].VariableName) == 0) {
      return mVariableType[Index].VariableName;
    }
  }
  return NULL;
}