ReactOS  0.4.15-dev-3173-g40ee59d
SimpleTextInEx.h
Go to the documentation of this file.
1 
19 #ifndef __SIMPLE_TEXT_IN_EX_H__
20 #define __SIMPLE_TEXT_IN_EX_H__
21 
22 #include <SimpleTextIn.h>
23 
24 #define EFI_SIMPLE_TEXT_INPUT_EX_PROTOCOL_GUID \
25  {0xdd9e7534, 0x7762, 0x4698, { 0x8c, 0x14, 0xf5, 0x85, 0x17, 0xa6, 0x25, 0xaa } }
26 
27 
29 
55 typedef
59 IN BOOLEAN ExtendedVerification
60 );
61 
62 
69 
70 typedef struct _EFI_KEY_STATE {
86 
87 typedef struct {
96 } EFI_KEY_DATA;
97 
98 //
99 // Any Shift or Toggle State that is valid should have
100 // high order bit set.
101 //
102 // Shift state
103 //
104 #define EFI_SHIFT_STATE_VALID 0x80000000
105 #define EFI_RIGHT_SHIFT_PRESSED 0x00000001
106 #define EFI_LEFT_SHIFT_PRESSED 0x00000002
107 #define EFI_RIGHT_CONTROL_PRESSED 0x00000004
108 #define EFI_LEFT_CONTROL_PRESSED 0x00000008
109 #define EFI_RIGHT_ALT_PRESSED 0x00000010
110 #define EFI_LEFT_ALT_PRESSED 0x00000020
111 #define EFI_RIGHT_LOGO_PRESSED 0x00000040
112 #define EFI_LEFT_LOGO_PRESSED 0x00000080
113 #define EFI_MENU_KEY_PRESSED 0x00000100
114 #define EFI_SYS_REQ_PRESSED 0x00000200
115 
116 //
117 // Toggle state
118 //
119 #define EFI_TOGGLE_STATE_VALID 0x80
120 #define EFI_KEY_STATE_EXPOSED 0x40
121 #define EFI_SCROLL_LOCK_ACTIVE 0x01
122 #define EFI_NUM_LOCK_ACTIVE 0x02
123 #define EFI_CAPS_LOCK_ACTIVE 0x04
124 
125 //
126 // EFI Scan codes
127 //
128 #define SCAN_F11 0x0015
129 #define SCAN_F12 0x0016
130 #define SCAN_PAUSE 0x0048
131 #define SCAN_F13 0x0068
132 #define SCAN_F14 0x0069
133 #define SCAN_F15 0x006A
134 #define SCAN_F16 0x006B
135 #define SCAN_F17 0x006C
136 #define SCAN_F18 0x006D
137 #define SCAN_F19 0x006E
138 #define SCAN_F20 0x006F
139 #define SCAN_F21 0x0070
140 #define SCAN_F22 0x0071
141 #define SCAN_F23 0x0072
142 #define SCAN_F24 0x0073
143 #define SCAN_MUTE 0x007F
144 #define SCAN_VOLUME_UP 0x0080
145 #define SCAN_VOLUME_DOWN 0x0081
146 #define SCAN_BRIGHTNESS_UP 0x0100
147 #define SCAN_BRIGHTNESS_DOWN 0x0101
148 #define SCAN_SUSPEND 0x0102
149 #define SCAN_HIBERNATE 0x0103
150 #define SCAN_TOGGLE_DISPLAY 0x0104
151 #define SCAN_RECOVERY 0x0105
152 #define SCAN_EJECT 0x0106
153 
203 typedef
207 OUT EFI_KEY_DATA *KeyData
208 );
209 
230 typedef
234 IN EFI_KEY_TOGGLE_STATE *KeyToggleState
235 );
236 
240 typedef
243 IN EFI_KEY_DATA *KeyData
244 );
245 
271 typedef
275 IN EFI_KEY_DATA *KeyData,
276 IN EFI_KEY_NOTIFY_FUNCTION KeyNotificationFunction,
277 OUT EFI_HANDLE *NotifyHandle
278 );
279 
295 typedef
299 IN EFI_HANDLE NotificationHandle
300 );
301 
302 
319 };
320 
321 
323 
324 #endif
325 
#define IN
Definition: typedefs.h:39
EFI_STATUS(EFIAPI * EFI_KEY_NOTIFY_FUNCTION)(IN EFI_KEY_DATA *KeyData)
EFI_UNREGISTER_KEYSTROKE_NOTIFY UnregisterKeyNotify
EFI_STATUS(EFIAPI * EFI_INPUT_READ_KEY_EX)(IN EFI_SIMPLE_TEXT_INPUT_EX_PROTOCOL *This, OUT EFI_KEY_DATA *KeyData)
UINT32 KeyShiftState
EFI_STATUS(EFIAPI * EFI_SET_STATE)(IN EFI_SIMPLE_TEXT_INPUT_EX_PROTOCOL *This, IN EFI_KEY_TOGGLE_STATE *KeyToggleState)
EFI_STATUS(EFIAPI * EFI_INPUT_RESET_EX)(IN EFI_SIMPLE_TEXT_INPUT_EX_PROTOCOL *This, IN BOOLEAN ExtendedVerification)
EFI_STATUS(EFIAPI * EFI_REGISTER_KEYSTROKE_NOTIFY)(IN EFI_SIMPLE_TEXT_INPUT_EX_PROTOCOL *This, IN EFI_KEY_DATA *KeyData, IN EFI_KEY_NOTIFY_FUNCTION KeyNotificationFunction, OUT EFI_HANDLE *NotifyHandle)
unsigned int UINT32
unsigned char BOOLEAN
EFI_INPUT_KEY Key
EFI_REGISTER_KEYSTROKE_NOTIFY RegisterKeyNotify
RETURN_STATUS EFI_STATUS
Definition: UefiBaseType.h:31
#define EFIAPI
struct _EFI_KEY_STATE EFI_KEY_STATE
EFI_INPUT_READ_KEY_EX ReadKeyStrokeEx
UINT8 EFI_KEY_TOGGLE_STATE
EFI_KEY_TOGGLE_STATE KeyToggleState
#define OUT
Definition: typedefs.h:40
EFI_KEY_STATE KeyState
unsigned char UINT8
EFI_STATUS(EFIAPI * EFI_UNREGISTER_KEYSTROKE_NOTIFY)(IN EFI_SIMPLE_TEXT_INPUT_EX_PROTOCOL *This, IN EFI_HANDLE NotificationHandle)
EFI_GUID gEfiSimpleTextInputExProtocolGuid