/* Update names of Name/Value storage to current language. */
EFI_STATUS LoadNameValueNames(IN DRIVER_SAMPLE_PRIVATE_DATA *PrivateData)
/* Update names of Name/Value storage to current language. */
EFI_STATUS LoadNameValueNames(IN DRIVER_SAMPLE_PRIVATE_DATA *PrivateData)
{
  UINTN  Index;
  for (Index = 0; Index < NAME_VALUE_NAME_NUMBER; Index++) {
    PrivateData->NameValueName[Index] = HiiGetString (
                                          PrivateData->HiiHandle[0],
                                          PrivateData->NameStringId[Index],
                                          NULL
                                          );
    if (PrivateData->NameValueName[Index] == NULL) {
      return EFI_NOT_FOUND;
    }
  }
  return EFI_SUCCESS;
}