ReactOS 0.4.16-dev-297-gc569aee
UgaDraw.h
Go to the documentation of this file.
1
17#ifndef __UGA_DRAW_H__
18#define __UGA_DRAW_H__
19
20
21#define EFI_UGA_DRAW_PROTOCOL_GUID \
22 { \
23 0x982c298b, 0xf4fa, 0x41cb, {0xb8, 0x38, 0x77, 0xaa, 0x68, 0x8f, 0xb8, 0x39 } \
24 }
25
27
42typedef
46 OUT UINT32 *HorizontalResolution,
47 OUT UINT32 *VerticalResolution,
48 OUT UINT32 *ColorDepth,
49 OUT UINT32 *RefreshRate
50 );
51
65typedef
69 IN UINT32 HorizontalResolution,
70 IN UINT32 VerticalResolution,
71 IN UINT32 ColorDepth,
72 IN UINT32 RefreshRate
73 );
74
75typedef struct {
81
82typedef union {
86
90typedef enum {
95
102
109
114
118
139typedef
143 IN EFI_UGA_PIXEL * BltBuffer, OPTIONAL
144 IN EFI_UGA_BLT_OPERATION BltOperation,
145 IN UINTN SourceX,
146 IN UINTN SourceY,
147 IN UINTN DestinationX,
148 IN UINTN DestinationY,
149 IN UINTN Width,
152 );
153
162};
163
165
166#endif
#define EFIAPI
unsigned char UINT8
UINT32 UINTN
unsigned int UINT32
RETURN_STATUS EFI_STATUS
Definition: UefiBaseType.h:31
EFI_STATUS(EFIAPI * EFI_UGA_DRAW_PROTOCOL_SET_MODE)(IN EFI_UGA_DRAW_PROTOCOL *This, IN UINT32 HorizontalResolution, IN UINT32 VerticalResolution, IN UINT32 ColorDepth, IN UINT32 RefreshRate)
Definition: UgaDraw.h:67
EFI_STATUS(EFIAPI * EFI_UGA_DRAW_PROTOCOL_BLT)(IN EFI_UGA_DRAW_PROTOCOL *This, IN EFI_UGA_PIXEL *BltBuffer, OPTIONAL IN EFI_UGA_BLT_OPERATION BltOperation, IN UINTN SourceX, IN UINTN SourceY, IN UINTN DestinationX, IN UINTN DestinationY, IN UINTN Width, IN UINTN Height, IN UINTN Delta OPTIONAL)
Definition: UgaDraw.h:141
EFI_GUID gEfiUgaDrawProtocolGuid
EFI_UGA_BLT_OPERATION
Definition: UgaDraw.h:90
@ EfiUgaVideoToVideo
Definition: UgaDraw.h:110
@ EfiUgaVideoToBltBuffer
Definition: UgaDraw.h:96
@ EfiUgaBltBufferToVideo
Definition: UgaDraw.h:103
@ EfiUgaVideoFill
Definition: UgaDraw.h:91
@ EfiUgaBltMax
Definition: UgaDraw.h:115
EFI_STATUS(EFIAPI * EFI_UGA_DRAW_PROTOCOL_GET_MODE)(IN EFI_UGA_DRAW_PROTOCOL *This, OUT UINT32 *HorizontalResolution, OUT UINT32 *VerticalResolution, OUT UINT32 *ColorDepth, OUT UINT32 *RefreshRate)
Definition: UgaDraw.h:44
PULONG MinorVersion OPTIONAL
Definition: CrossNt.h:68
UINT8 Reserved
Definition: UgaDraw.h:79
UINT8 Blue
Definition: UgaDraw.h:76
UINT8 Green
Definition: UgaDraw.h:77
UINT8 Red
Definition: UgaDraw.h:78
EFI_UGA_DRAW_PROTOCOL_SET_MODE SetMode
Definition: UgaDraw.h:160
EFI_UGA_DRAW_PROTOCOL_GET_MODE GetMode
Definition: UgaDraw.h:159
EFI_UGA_DRAW_PROTOCOL_BLT Blt
Definition: UgaDraw.h:161
#define OPTIONAL
Definition: typedefs.h:41
#define IN
Definition: typedefs.h:39
#define OUT
Definition: typedefs.h:40
EFI_UGA_PIXEL Pixel
Definition: UgaDraw.h:83
_In_ HFONT _Out_ PUINT _Out_ PUINT Width
Definition: font.h:89
_In_ HFONT _Out_ PUINT Height
Definition: font.h:88
static ULONG Delta
Definition: xboxvideo.c:33