TianoCore EDK2
master
Loading...
Searching...
No Matches
SimplePointer.h
Go to the documentation of this file.
1
11
#ifndef __SIMPLE_POINTER_H__
12
#define __SIMPLE_POINTER_H__
13
14
#define EFI_SIMPLE_POINTER_PROTOCOL_GUID \
15
{ \
16
0x31878c87, 0xb75, 0x11d5, {0x9a, 0x4f, 0x0, 0x90, 0x27, 0x3f, 0xc1, 0x4d } \
17
}
18
19
typedef
struct
_EFI_SIMPLE_POINTER_PROTOCOL
EFI_SIMPLE_POINTER_PROTOCOL
;
20
21
//
22
// Data structures
23
//
24
typedef
struct
{
28
INT32
RelativeMovementX
;
32
INT32
RelativeMovementY
;
36
INT32
RelativeMovementZ
;
41
BOOLEAN
LeftButton
;
46
BOOLEAN
RightButton
;
47
}
EFI_SIMPLE_POINTER_STATE
;
48
49
typedef
struct
{
54
UINT64
ResolutionX
;
59
UINT64
ResolutionY
;
64
UINT64
ResolutionZ
;
68
BOOLEAN
LeftButton
;
72
BOOLEAN
RightButton
;
73
}
EFI_SIMPLE_POINTER_MODE
;
74
87
typedef
88
EFI_STATUS
89
(EFIAPI *
EFI_SIMPLE_POINTER_RESET
)(
90
IN
EFI_SIMPLE_POINTER_PROTOCOL
*This,
91
IN
BOOLEAN ExtendedVerification
92
);
93
108
typedef
109
EFI_STATUS
110
(EFIAPI *
EFI_SIMPLE_POINTER_GET_STATE
)(
111
IN
EFI_SIMPLE_POINTER_PROTOCOL
*This,
112
OUT
EFI_SIMPLE_POINTER_STATE
*State
113
);
114
122
struct
_EFI_SIMPLE_POINTER_PROTOCOL
{
123
EFI_SIMPLE_POINTER_RESET
Reset;
124
EFI_SIMPLE_POINTER_GET_STATE
GetState;
128
EFI_EVENT
WaitForInput
;
132
EFI_SIMPLE_POINTER_MODE
*
Mode
;
133
};
134
135
extern
EFI_GUID
gEfiSimplePointerProtocolGuid;
136
137
#endif
IN
#define IN
Definition:
Base.h:279
OUT
#define OUT
Definition:
Base.h:284
EFI_SIMPLE_POINTER_RESET
EFI_STATUS(EFIAPI * EFI_SIMPLE_POINTER_RESET)(IN EFI_SIMPLE_POINTER_PROTOCOL *This, IN BOOLEAN ExtendedVerification)
Definition:
SimplePointer.h:89
EFI_SIMPLE_POINTER_GET_STATE
EFI_STATUS(EFIAPI * EFI_SIMPLE_POINTER_GET_STATE)(IN EFI_SIMPLE_POINTER_PROTOCOL *This, OUT EFI_SIMPLE_POINTER_STATE *State)
Definition:
SimplePointer.h:110
EFI_STATUS
RETURN_STATUS EFI_STATUS
Definition:
UefiBaseType.h:29
EFI_EVENT
VOID * EFI_EVENT
Definition:
UefiBaseType.h:37
_EFI_SIMPLE_POINTER_PROTOCOL
Definition:
SimplePointer.h:122
_EFI_SIMPLE_POINTER_PROTOCOL::WaitForInput
EFI_EVENT WaitForInput
Definition:
SimplePointer.h:128
_EFI_SIMPLE_POINTER_PROTOCOL::Mode
EFI_SIMPLE_POINTER_MODE * Mode
Definition:
SimplePointer.h:132
EFI_SIMPLE_POINTER_MODE
Definition:
SimplePointer.h:49
EFI_SIMPLE_POINTER_MODE::ResolutionY
UINT64 ResolutionY
Definition:
SimplePointer.h:59
EFI_SIMPLE_POINTER_MODE::ResolutionX
UINT64 ResolutionX
Definition:
SimplePointer.h:54
EFI_SIMPLE_POINTER_MODE::ResolutionZ
UINT64 ResolutionZ
Definition:
SimplePointer.h:64
EFI_SIMPLE_POINTER_MODE::LeftButton
BOOLEAN LeftButton
Definition:
SimplePointer.h:68
EFI_SIMPLE_POINTER_MODE::RightButton
BOOLEAN RightButton
Definition:
SimplePointer.h:72
EFI_SIMPLE_POINTER_STATE
Definition:
SimplePointer.h:24
EFI_SIMPLE_POINTER_STATE::RelativeMovementY
INT32 RelativeMovementY
Definition:
SimplePointer.h:32
EFI_SIMPLE_POINTER_STATE::LeftButton
BOOLEAN LeftButton
Definition:
SimplePointer.h:41
EFI_SIMPLE_POINTER_STATE::RelativeMovementX
INT32 RelativeMovementX
Definition:
SimplePointer.h:28
EFI_SIMPLE_POINTER_STATE::RelativeMovementZ
INT32 RelativeMovementZ
Definition:
SimplePointer.h:36
EFI_SIMPLE_POINTER_STATE::RightButton
BOOLEAN RightButton
Definition:
SimplePointer.h:46
GUID
Definition:
Base.h:213
MdePkg
Include
Protocol
SimplePointer.h
Generated on Fri Nov 15 2024 18:01:16 for TianoCore EDK2 by
1.9.6