MCPcopy Create free account
hub / github.com/CloverHackyColor/CloverBootloader / ReadAllKeyStrokes

Function ReadAllKeyStrokes

rEFIt_UEFI/Platform/BasicIO.cpp:21–37  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

19//
20
21BOOLEAN ReadAllKeyStrokes(VOID)
22{
23 BOOLEAN GotKeyStrokes;
24 EFI_STATUS Status;
25 EFI_INPUT_KEY key;
26
27 GotKeyStrokes = FALSE;
28 for (;;) {
29 Status = gST->ConIn->ReadKeyStroke (gST->ConIn, &key);
30 if (Status == EFI_SUCCESS) {
31 GotKeyStrokes = TRUE;
32 continue;
33 }
34 break;
35 }
36 return GotKeyStrokes;
37}
38
39VOID PauseForKey(CONST CHAR16* msg)
40{

Callers 4

PauseForKeyFunction · 0.70
EndlessIdleLoopFunction · 0.70
RefitMainFunction · 0.50
RunGenericMenuMethod · 0.50

Calls

no outgoing calls

Tested by

no test coverage detected