ReactOS  0.4.15-dev-1197-g8081ba9
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 
42 typedef
46  OUT UINT32 *HorizontalResolution,
47  OUT UINT32 *VerticalResolution,
48  OUT UINT32 *ColorDepth,
49  OUT UINT32 *RefreshRate
50  );
51 
65 typedef
69  IN UINT32 HorizontalResolution,
70  IN UINT32 VerticalResolution,
71  IN UINT32 ColorDepth,
72  IN UINT32 RefreshRate
73  );
74 
75 typedef struct {
81 
82 typedef union {
86 
90 typedef enum {
92 
97 
104 
111 
118 
139 typedef
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,
150  IN UINTN Height,
152  );
153 
162 };
163 
165 
166 #endif
#define IN
Definition: typedefs.h:39
UINT8 Red
Definition: UgaDraw.h:78
EFI_UGA_DRAW_PROTOCOL_BLT Blt
Definition: UgaDraw.h:161
EFI_UGA_DRAW_PROTOCOL_SET_MODE SetMode
Definition: UgaDraw.h:160
EFI_GUID gEfiUgaDrawProtocolGuid
UINT32 UINTN
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
EFI_UGA_BLT_OPERATION
Definition: UgaDraw.h:90
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
UINT8 Green
Definition: UgaDraw.h:77
unsigned int UINT32
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_UGA_DRAW_PROTOCOL_GET_MODE GetMode
Definition: UgaDraw.h:159
UINT8 Blue
Definition: UgaDraw.h:76
RETURN_STATUS EFI_STATUS
Definition: UefiBaseType.h:31
#define EFIAPI
static ULONG Delta
Definition: xboxvideo.c:33
#define OPTIONAL
Definition: typedefs.h:41
#define OUT
Definition: typedefs.h:40
EFI_UGA_PIXEL Pixel
Definition: UgaDraw.h:83
UINT8 Reserved
Definition: UgaDraw.h:79
unsigned char UINT8
PULONG MinorVersion OPTIONAL
Definition: CrossNt.h:68