]> git.proxmox.com Git - mirror_edk2.git/blob - MdePkg/Include/Protocol/FileSystemVolumeLabelInfo.h
Initial import.
[mirror_edk2.git] / MdePkg / Include / Protocol / FileSystemVolumeLabelInfo.h
1 /** @file
2 FileSystemVolumeLabelInfo protocol as defined in the EFI 1.0 specification.
3
4 Copyright (c) 2006, Intel Corporation
5 All rights reserved. This program and the accompanying materials
6 are licensed and made available under the terms and conditions of the BSD License
7 which accompanies this distribution. The full text of the license may be found at
8 http://opensource.org/licenses/bsd-license.php
9
10 THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,
11 WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
12
13 Module Name: FileSystemVolumeLabelInfo.h
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 //
26 // Protocol Name defined in spec.
27 //
28 #define EFI_FILE_SYSTEM_VOLUME_LABEL_ID \
29 EFI_FILE_SYSTEM_VOLUME_LABEL_INFO_ID_GUID
30
31 typedef struct {
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