]> git.proxmox.com Git - mirror_edk2.git/blame_incremental - MdePkg/Include/Guid/FileSystemVolumeLabelInfo.h
MdePkg: Replace BSD License with BSD+Patent License
[mirror_edk2.git] / MdePkg / Include / Guid / FileSystemVolumeLabelInfo.h
... / ...
CommitLineData
1/** @file\r
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
4 This GUID is defined in UEFI specification.\r
5\r
6 Copyright (c) 2006 - 2018, Intel Corporation. All rights reserved.<BR>\r
7 SPDX-License-Identifier: BSD-2-Clause-Patent\r
8\r
9**/\r
10\r
11#ifndef __FILE_SYSTEM_VOLUME_LABEL_INFO_H__\r
12#define __FILE_SYSTEM_VOLUME_LABEL_INFO_H__\r
13\r
14#define EFI_FILE_SYSTEM_VOLUME_LABEL_ID \\r
15 { \\r
16 0xDB47D7D3, 0xFE81, 0x11d3, {0x9A, 0x35, 0x00, 0x90, 0x27, 0x3F, 0xC1, 0x4D } \\r
17 }\r
18\r
19typedef struct {\r
20 ///\r
21 /// The Null-terminated string that is the volume's label.\r
22 ///\r
23 CHAR16 VolumeLabel[1];\r
24} EFI_FILE_SYSTEM_VOLUME_LABEL;\r
25\r
26#define SIZE_OF_EFI_FILE_SYSTEM_VOLUME_LABEL \\r
27 OFFSET_OF (EFI_FILE_SYSTEM_VOLUME_LABEL, VolumeLabel)\r
28\r
29extern EFI_GUID gEfiFileSystemVolumeLabelInfoIdGuid;\r
30\r
31#endif\r