mirror of
https://github.com/acidanthera/OpenCorePkg.git
synced 2025-12-08 19:25:01 +00:00
OcAppleEventEx: Initial import of protocol
This commit is contained in:
parent
ad482e498a
commit
4f7f17cd65
29
Include/Acidanthera/Protocol/OcAppleEventEx.h
Normal file
29
Include/Acidanthera/Protocol/OcAppleEventEx.h
Normal file
@ -0,0 +1,29 @@
|
||||
#ifndef OC_APPLE_EVENT_EX_PROTOCOL_H_
|
||||
#define OC_APPLE_EVENT_EX_PROTOCOL_H_
|
||||
|
||||
#include <Protocol/AppleEvent.h>
|
||||
|
||||
#define OC_APPLE_EVENT_EX_PROTOCOL_REVISION 0x00000001
|
||||
|
||||
#define OC_APPLE_EVENT_EX_PROTOCOL_GUID \
|
||||
{ 0xA35F3047, 0x4F1C, 0x4937, \
|
||||
{ 0xB9, 0x52, 0xBB, 0x58, 0x3A, 0x2E, 0x4E, 0x30 }}
|
||||
|
||||
typedef struct OC_APPLE_EVENT_EX_PROTOCOL_ OC_APPLE_EVENT_EX_PROTOCOL;
|
||||
|
||||
typedef
|
||||
UINT32
|
||||
(EFIAPI *OC_APPLE_EVENT_EX_SET_POINTER_SCALE)(
|
||||
IN OUT OC_APPLE_EVENT_EX_PROTOCOL *This,
|
||||
IN UINT32 Scale
|
||||
);
|
||||
|
||||
struct OC_APPLE_EVENT_EX_PROTOCOL_ {
|
||||
UINTN Revision;
|
||||
OC_APPLE_EVENT_EX_SET_POINTER_SCALE SetPointerScale;
|
||||
APPLE_EVENT_PROTOCOL AppleEvent;
|
||||
};
|
||||
|
||||
extern EFI_GUID gOcAppleEventExProtocolGuid;
|
||||
|
||||
#endif // OC_APPLE_EVENT_EX_PROTOCOL_H_
|
||||
@ -498,6 +498,9 @@
|
||||
## Include/Acidanthera/Protocol/OcAfterBootCompat.h
|
||||
gOcAfterBootCompatProtocolGuid = { 0xC7CBA84E, 0xCC77, 0x461D, { 0x9E, 0x3C, 0x6B, 0xE0, 0xCB, 0x79, 0xA7, 0xC1 }}
|
||||
|
||||
## Include/Acidanthera/Protocol/OcAppleEventEx.h
|
||||
gOcAppleEventExProtocolGuid = { 0xA35F3047, 0x4F1C, 0x4937, { 0xB9, 0x52, 0xBB, 0x58, 0x3A, 0x2E, 0x4E, 0x30 }}
|
||||
|
||||
## Include/Acidanthera/Protocol/OcFirmwareRuntime.h
|
||||
gOcFirmwareRuntimeProtocolGuid = { 0x570332E4, 0xFC50, 0x4B21, { 0xAB, 0xE8, 0xAE, 0x72, 0xF0, 0x5B, 0x4F, 0xF7 }}
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user