ReactOS
0.4.16-dev-2332-g4cba65d
AppleGraphInfo.h
Go to the documentation of this file.
1
/*
2
* PROJECT: ReactOS UEFI Support
3
* LICENSE: MIT (https://spdx.org/licenses/MIT)
4
* PURPOSE: Apple Graphics Info Protocol
5
* COPYRIGHT: Copyright 2026 Sylas Hollander <distrohopper39b.business@gmail.com>
6
*/
7
8
/*
9
* Implementation based on AppleGraphInfo.h from macosxbootloader, written by "tiamo"
10
* which is licensed under BSD-3-Clause (https://spdx.org/licenses/BSD-3-Clause)
11
* (see note in macosxbootloader README)
12
*/
13
14
#pragma once
15
16
#define APPLE_GRAPH_INFO_PROTOCOL_GUID {0xe316e100, 0x0751, 0x4c49, {0x90, 0x56, 0x48, 0x6c, 0x7e, 0x47, 0x29, 0x03}}
17
18
typedef
struct
_APPLE_GRAPH_INFO_PROTOCOL
APPLE_GRAPH_INFO_PROTOCOL
;
19
20
typedef
EFI_STATUS
(
EFIAPI
*
GET_INFO
)(
21
APPLE_GRAPH_INFO_PROTOCOL
*
This
,
22
UINT64
*
BaseAddress
,
23
UINT64
*
FrameBufferSize
,
24
UINT32
*BytesPerRow,
25
UINT32
*
Width
,
26
UINT32
*
Height
,
27
UINT32
*
Depth
);
28
29
struct
_APPLE_GRAPH_INFO_PROTOCOL
30
{
31
GET_INFO
GetInfo
;
32
};
GET_INFO
EFI_STATUS(EFIAPI * GET_INFO)(APPLE_GRAPH_INFO_PROTOCOL *This, UINT64 *BaseAddress, UINT64 *FrameBufferSize, UINT32 *BytesPerRow, UINT32 *Width, UINT32 *Height, UINT32 *Depth)
Definition:
AppleGraphInfo.h:20
EFIAPI
#define EFIAPI
Definition:
ProcessorBind.h:271
EFI_STATUS
RETURN_STATUS EFI_STATUS
Definition:
UefiBaseType.h:31
UINT64
COMPILER_DEPENDENT_UINT64 UINT64
Definition:
actypes.h:131
FrameBufferSize
ULONG FrameBufferSize
Definition:
xboxvideo.c:30
This
BaseAddress
_In_ HANDLE _Outptr_result_bytebuffer_ ViewSize PVOID * BaseAddress
Definition:
mmfuncs.h:404
_APPLE_GRAPH_INFO_PROTOCOL
Definition:
AppleGraphInfo.h:30
_APPLE_GRAPH_INFO_PROTOCOL::GetInfo
GET_INFO GetInfo
Definition:
AppleGraphInfo.h:31
UINT32
uint32_t UINT32
Definition:
typedefs.h:59
Width
_In_ HFONT _Out_ PUINT _Out_ PUINT Width
Definition:
font.h:89
Height
_In_ HFONT _Out_ PUINT Height
Definition:
font.h:88
Depth
_In_opt_ PALLOCATE_FUNCTION _In_opt_ PFREE_FUNCTION _In_ ULONG _In_ SIZE_T _In_ ULONG _In_ USHORT Depth
Definition:
exfuncs.h:819
sdk
include
reactos
edk2
AppleGraphInfo.h
Generated on Sat Mar 7 2026 06:15:00 for ReactOS by
1.9.6