]> git.proxmox.com Git - mirror_edk2.git/blob - MdePkg/Include/Guid/FileSystemVolumeLabelInfo.h
b9c2d4d4a52de7e52ac01e308e1041f63e7280a2
[mirror_edk2.git] / MdePkg / Include / Guid / FileSystemVolumeLabelInfo.h
1 /** @file
2 Provides a GUID and a data structure that can be used with EFI_FILE_PROTOCOL.GetInfo()
3 or EFI_FILE_PROTOCOL.SetInfo() to get or set the system's volume label.
4 This guid is defined in UEFI specification.
5
6 Copyright (c) 2006, Intel Corporation
7 All rights reserved. This program and the accompanying materials
8 are licensed and made available under the terms and conditions of the BSD License
9 which accompanies this distribution. The full text of the license may be found at
10 http://opensource.org/licenses/bsd-license.php
11
12 THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,
13 WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
14
15 **/
16
17 #ifndef __FILE_SYSTEM_VOLUME_LABEL_INFO_H__
18 #define __FILE_SYSTEM_VOLUME_LABEL_INFO_H__
19
20 #define EFI_FILE_SYSTEM_VOLUME_LABEL_INFO_ID_GUID \
21 { \
22 0xDB47D7D3, 0xFE81, 0x11d3, {0x9A, 0x35, 0x00, 0x90, 0x27, 0x3F, 0xC1, 0x4D } \
23 }
24
25 #define EFI_FILE_SYSTEM_VOLUME_LABEL_ID \
26 EFI_FILE_SYSTEM_VOLUME_LABEL_INFO_ID_GUID
27
28 typedef struct {
29 ///
30 /// The Null-terminated string that is the volume's label.
31 ///
32 CHAR16 VolumeLabel[1];
33 } EFI_FILE_SYSTEM_VOLUME_LABEL_INFO;
34
35 typedef EFI_FILE_SYSTEM_VOLUME_LABEL_INFO EFI_FILE_SYSTEM_VOLUME_LABEL;
36
37 #define SIZE_OF_EFI_FILE_SYSTEM_VOLUME_LABEL_INFO \
38 EFI_FIELD_OFFSET (EFI_FILE_SYSTEM_VOLUME_LABEL_INFO, VolumeLabel)
39
40 extern EFI_GUID gEfiFileSystemVolumeLabelInfoIdGuid;
41
42 #endif