5 efi_main (EFI_HANDLE image, EFI_SYSTEM_TABLE *systab)
7 EFI_INPUT_KEY efi_input_key;
10 InitializeLib(image, systab);
12 Print(L"HelloLib application started\n");
14 Print(L"\n\n\nHit any key to exit this image\n");
15 WaitForSingleEvent(ST->ConIn->WaitForKey, 0);
17 uefi_call_wrapper(ST->ConOut->OutputString, 2, ST->ConOut, L"\n\n");
19 efi_status = uefi_call_wrapper(ST->ConIn->ReadKeyStroke, 2, ST->ConIn, &efi_input_key);
21 Print(L"ScanCode: %xh UnicodeChar: %xh\n",
22 efi_input_key.ScanCode, efi_input_key.UnicodeChar);