]> git.proxmox.com Git - mirror_edk2.git/blame - MdePkg/Include/Guid/FileSystemVolumeLabelInfo.h
MdePkg: Replace BSD License with BSD+Patent License
[mirror_edk2.git] / MdePkg / Include / Guid / FileSystemVolumeLabelInfo.h
CommitLineData
c2f83f0a 1/** @file\r
25cfda03
LG
2 Provides a GUID and a data structure that can be used with EFI_FILE_PROTOCOL.GetInfo()\r
3 or EFI_FILE_PROTOCOL.SetInfo() to get or set the system's volume label.\r
1a2f870c 4 This GUID is defined in UEFI specification.\r
c2f83f0a 5\r
9095d37b 6 Copyright (c) 2006 - 2018, Intel Corporation. All rights reserved.<BR>\r
9344f092 7 SPDX-License-Identifier: BSD-2-Clause-Patent\r
c2f83f0a 8\r
c2f83f0a 9**/\r
10\r
11#ifndef __FILE_SYSTEM_VOLUME_LABEL_INFO_H__\r
12#define __FILE_SYSTEM_VOLUME_LABEL_INFO_H__\r
13\r
992f22b9 14#define EFI_FILE_SYSTEM_VOLUME_LABEL_ID \\r
c2f83f0a 15 { \\r
16 0xDB47D7D3, 0xFE81, 0x11d3, {0x9A, 0x35, 0x00, 0x90, 0x27, 0x3F, 0xC1, 0x4D } \\r
17 }\r
18\r
c2f83f0a 19typedef struct {\r
25cfda03
LG
20 ///\r
21 /// The Null-terminated string that is the volume's label.\r
22 ///\r
c2f83f0a 23 CHAR16 VolumeLabel[1];\r
992f22b9 24} EFI_FILE_SYSTEM_VOLUME_LABEL;\r
c2f83f0a 25\r
992f22b9 26#define SIZE_OF_EFI_FILE_SYSTEM_VOLUME_LABEL \\r
07636730 27 OFFSET_OF (EFI_FILE_SYSTEM_VOLUME_LABEL, VolumeLabel)\r
c2f83f0a 28\r
29extern EFI_GUID gEfiFileSystemVolumeLabelInfoIdGuid;\r
30\r
31#endif\r