]> git.proxmox.com Git - mirror_edk2.git/blame - MdePkg/Include/Guid/FileSystemVolumeLabelInfo.h
MdePkg: Clean up source files
[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
LG
6 Copyright (c) 2006 - 2018, Intel Corporation. All rights reserved.<BR>\r
7 This program and the accompanying materials\r
8 are licensed and made available under the terms and conditions of the BSD License\r
9 which accompanies this distribution. The full text of the license may be found at\r
10 http://opensource.org/licenses/bsd-license.php\r
11\r
12 THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,\r
13 WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.\r
c2f83f0a 14\r
c2f83f0a 15**/\r
16\r
17#ifndef __FILE_SYSTEM_VOLUME_LABEL_INFO_H__\r
18#define __FILE_SYSTEM_VOLUME_LABEL_INFO_H__\r
19\r
992f22b9 20#define EFI_FILE_SYSTEM_VOLUME_LABEL_ID \\r
c2f83f0a 21 { \\r
22 0xDB47D7D3, 0xFE81, 0x11d3, {0x9A, 0x35, 0x00, 0x90, 0x27, 0x3F, 0xC1, 0x4D } \\r
23 }\r
24\r
c2f83f0a 25typedef struct {\r
25cfda03
LG
26 ///\r
27 /// The Null-terminated string that is the volume's label.\r
28 ///\r
c2f83f0a 29 CHAR16 VolumeLabel[1];\r
992f22b9 30} EFI_FILE_SYSTEM_VOLUME_LABEL;\r
c2f83f0a 31\r
992f22b9 32#define SIZE_OF_EFI_FILE_SYSTEM_VOLUME_LABEL \\r
07636730 33 OFFSET_OF (EFI_FILE_SYSTEM_VOLUME_LABEL, VolumeLabel)\r
c2f83f0a 34\r
35extern EFI_GUID gEfiFileSystemVolumeLabelInfoIdGuid;\r
36\r
37#endif\r