Hp Unified Extensible Firmware Interface Instrukcja Użytkownika Strona 72

  • Pobierz
  • Dodaj do moich podręczników
  • Drukuj
  • Strona
    / 80
  • Spis treści
  • BOOKMARKI
  • Oceniono. / 5. Na podstawie oceny klientów
Przeglądanie stron 71
//
// Sample to get list of all environment variables
//
ConstEnvNameList = UefiShellProtocol->GetEnv (NULL);
if (ConstEnvNameList == NULL) {
return EFI_SUCCESS;
}
Print (L"\n");
Print (L"ENVIRONMENT VARIABLES:\n");
Print (L"\n");
//
// Sample to get and display all environment variables
//
while (*ConstEnvNameList != CHAR_NULL){
Value = UefiShellProtocol->GetEnv (ConstEnvNameList);
Print (L"%8s = %s\n", ConstEnvNameList, Value);
ConstEnvNameList += StrLen (ConstEnvNameList)+1;
}
}
return EFI_SUCCESS;
}
72 Das UEFI-Programmiermodell
Przeglądanie stron 71
1 2 ... 67 68 69 70 71 72 73 74 75 76 77 78 79 80

Komentarze do niniejszej Instrukcji

Brak uwag