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