do {
Status = refit_call4_wrapper(ST->ConOut->QueryMode, ST->ConOut, i, &Width, &Height);
if (Status == EFI_SUCCESS)
Print(L"Mode %d: %d x %d\n", i, Width, Height);
} while (++i < ST->ConOut->Mode->MaxMode);
do {
Status = refit_call4_wrapper(ST->ConOut->QueryMode, ST->ConOut, i, &Width, &Height);
if (Status == EFI_SUCCESS)
Print(L"Mode %d: %d x %d\n", i, Width, Height);
} while (++i < ST->ConOut->Mode->MaxMode);