]> git.proxmox.com Git - mirror_edk2.git/blame - MdeModulePkg/Include/Protocol/OEMBadging.h
Remove the tailing ',' to ensure the code pass EBC's -Za option (Enforces strict...
[mirror_edk2.git] / MdeModulePkg / Include / Protocol / OEMBadging.h
CommitLineData
1e354c03 1/** @file\r
2 EFI OEM Badging Protocol definition header file\r
88f20127 3\r
1e354c03 4Copyright (c) 2006 - 2008, Intel Corporation. <BR>\r
88f20127 5All rights reserved. This program and the accompanying materials\r
6are licensed and made available under the terms and conditions of the BSD License\r
7which accompanies this distribution. The full text of the license may be found at\r
8http://opensource.org/licenses/bsd-license.php\r
9\r
10THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,\r
11WITHOUT 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
25typedef struct _EFI_OEM_BADGING_PROTOCOL EFI_OEM_BADGING_PROTOCOL;\r
26\r
27typedef enum {\r
28 EfiBadgingFormatBMP,\r
29 EfiBadgingFormatJPEG,\r
30 EfiBadgingFormatTIFF,\r
31 EfiBadgingFormatGIF,\r
32 EfiBadgingFormatUnknown\r
33} EFI_BADGING_FORMAT;\r
34\r
35typedef 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
49typedef\r
50EFI_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
63struct _EFI_OEM_BADGING_PROTOCOL {\r
64 EFI_BADGING_GET_IMAGE GetImage;\r
65};\r
66\r
67\r
68extern EFI_GUID gEfiOEMBadgingProtocolGuid;\r
69\r
70#endif\r