]>
Commit | Line | Data |
---|---|---|
88f20127 | 1 | /*++\r |
2 | \r | |
3 | Copyright (c) 2006 - 2007, Intel Corporation\r | |
4 | All rights reserved. This program and the accompanying materials\r | |
5 | are licensed and made available under the terms and conditions of the BSD License\r | |
6 | which accompanies this distribution. The full text of the license may be found at\r | |
7 | http://opensource.org/licenses/bsd-license.php\r | |
8 | \r | |
9 | THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,\r | |
10 | WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.\r | |
11 | \r | |
12 | Module Name:\r | |
13 | \r | |
14 | EfiOEMBadging.h\r | |
15 | \r | |
16 | Abstract:\r | |
17 | \r | |
18 | EFI OEM Badging Protocol definition header file\r | |
19 | \r | |
20 | Revision History\r | |
21 | \r | |
22 | --*/\r | |
23 | \r | |
24 | #ifndef __EFI_OEM_BADGING_H__\r | |
25 | #define __EFI_OEM_BADGING_H__\r | |
26 | \r | |
27 | //\r | |
28 | // GUID for EFI OEM Badging Protocol\r | |
29 | //\r | |
30 | #define EFI_OEM_BADGING_PROTOCOL_GUID \\r | |
31 | { 0x170e13c0, 0xbf1b, 0x4218, {0x87, 0x1d, 0x2a, 0xbd, 0xc6, 0xf8, 0x87, 0xbc } }\r | |
32 | \r | |
33 | \r | |
34 | typedef struct _EFI_OEM_BADGING_PROTOCOL EFI_OEM_BADGING_PROTOCOL;\r | |
35 | \r | |
36 | typedef enum {\r | |
37 | EfiBadgingFormatBMP,\r | |
38 | EfiBadgingFormatJPEG,\r | |
39 | EfiBadgingFormatTIFF,\r | |
40 | EfiBadgingFormatGIF,\r | |
41 | EfiBadgingFormatUnknown\r | |
42 | } EFI_BADGING_FORMAT;\r | |
43 | \r | |
44 | typedef enum {\r | |
45 | EfiBadgingDisplayAttributeLeftTop,\r | |
46 | EfiBadgingDisplayAttributeCenterTop,\r | |
47 | EfiBadgingDisplayAttributeRightTop,\r | |
48 | EfiBadgingDisplayAttributeCenterRight,\r | |
49 | EfiBadgingDisplayAttributeRightBottom,\r | |
50 | EfiBadgingDisplayAttributeCenterBottom,\r | |
51 | EfiBadgingDisplayAttributeLeftBottom,\r | |
52 | EfiBadgingDisplayAttributeCenterLeft,\r | |
53 | EfiBadgingDisplayAttributeCenter,\r | |
54 | EfiBadgingDisplayAttributeCustomized\r | |
55 | } EFI_BADGING_DISPLAY_ATTRIBUTE;\r | |
56 | \r | |
57 | \r | |
58 | typedef\r | |
59 | EFI_STATUS\r | |
60 | (EFIAPI *EFI_BADGING_GET_IMAGE) (\r | |
61 | IN EFI_OEM_BADGING_PROTOCOL *This,\r | |
62 | IN OUT UINT32 *Instance,\r | |
63 | OUT EFI_BADGING_FORMAT *Format,\r | |
64 | OUT UINT8 **ImageData,\r | |
65 | OUT UINTN *ImageSize,\r | |
66 | OUT EFI_BADGING_DISPLAY_ATTRIBUTE *Attribute,\r | |
67 | OUT UINTN *CoordinateX,\r | |
68 | OUT UINTN *CoordinateY\r | |
69 | );\r | |
70 | \r | |
71 | \r | |
72 | struct _EFI_OEM_BADGING_PROTOCOL {\r | |
73 | EFI_BADGING_GET_IMAGE GetImage;\r | |
74 | };\r | |
75 | \r | |
76 | \r | |
77 | extern EFI_GUID gEfiOEMBadgingProtocolGuid;\r | |
78 | \r | |
79 | #endif\r |