]> git.proxmox.com Git - mirror_edk2.git/blame - EdkModulePkg/Include/Protocol/OEMBadging.h
Check in patch to refine DevicePath Module and USB2HostController Module.
[mirror_edk2.git] / EdkModulePkg / Include / Protocol / OEMBadging.h
CommitLineData
878ddf1f 1/*++\r
2\r
3Copyright (c) 2006, Intel Corporation \r
4All rights reserved. This program and the accompanying materials \r
5are licensed and made available under the terms and conditions of the BSD License \r
6which accompanies this distribution. The full text of the license may be found at \r
7http://opensource.org/licenses/bsd-license.php \r
8 \r
9THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS, \r
10WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED. \r
11\r
12Module Name:\r
13\r
14 EfiOEMBadging.h\r
15 \r
16Abstract:\r
17\r
18 EFI OEM Badging Protocol definition header file\r
19\r
20Revision 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
34typedef struct _EFI_OEM_BADGING_PROTOCOL EFI_OEM_BADGING_PROTOCOL;\r
35\r
36typedef enum {\r
37 EfiBadgingFormatBMP,\r
38 EfiBadgingFormatJPEG,\r
39 EfiBadgingFormatTIFF,\r
40 EfiBadgingFormatGIF,\r
41 EfiBadgingFormatUnknown\r
42} EFI_BADGING_FORMAT;\r
43\r
44typedef 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
58typedef\r
59EFI_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
72struct _EFI_OEM_BADGING_PROTOCOL {\r
73 EFI_BADGING_GET_IMAGE GetImage;\r
74};\r
75\r
76\r
77extern EFI_GUID gEfiOEMBadgingProtocolGuid;\r
78\r
79#endif\r