]> git.proxmox.com Git - mirror_edk2.git/blob - MdePkg/Include/IndustryStandard/WindowsUxCapsule.h
6908218c5bfb99bb8978c4057f319098f4cb47c7
[mirror_edk2.git] / MdePkg / Include / IndustryStandard / WindowsUxCapsule.h
1 /** @file
2 Defines Windows UX Capsule GUID and layout defined at Microsoft
3 Windows UEFI Firmware Update Platform specification
4
5 Copyright (c) 2015, Intel Corporation. All rights reserved.<BR>
6 This program and the accompanying materials
7 are licensed and made available under the terms and conditions of the BSD License
8 which accompanies this distribution. The full text of the license may be found at
9 http://opensource.org/licenses/bsd-license.php
10
11 THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,
12 WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
13
14 --*/
15
16 #ifndef _WINDOWS_UX_CAPSULE_GUID_H
17 #define _WINDOWS_UX_CAPSULE_GUID_H
18
19 #pragma pack(1)
20
21 typedef struct {
22 UINT8 Version;
23 UINT8 Checksum;
24 UINT8 ImageType;
25 UINT8 Reserved;
26 UINT32 Mode;
27 UINT32 OffsetX;
28 UINT32 OffsetY;
29 //UINT8 Image[];
30 } DISPLAY_DISPLAY_PAYLOAD;
31
32 typedef struct {
33 EFI_CAPSULE_HEADER CapsuleHeader;
34 DISPLAY_DISPLAY_PAYLOAD ImagePayload;
35 } EFI_DISPLAY_CAPSULE;
36
37 #pragma pack()
38
39 #define WINDOWS_UX_CAPSULE_GUID \
40 { \
41 0x3b8c8162, 0x188c, 0x46a4, { 0xae, 0xc9, 0xbe, 0x43, 0xf1, 0xd6, 0x56, 0x97} \
42 }
43
44 extern EFI_GUID gWindowsUxCapsuleGuid;
45
46 #endif