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 - 2008, Intel Corporation. All rights reserved.<BR>
|
---|
7 | 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_ID \
|
---|
21 | { \
|
---|
22 | 0xDB47D7D3, 0xFE81, 0x11d3, {0x9A, 0x35, 0x00, 0x90, 0x27, 0x3F, 0xC1, 0x4D } \
|
---|
23 | }
|
---|
24 |
|
---|
25 | typedef struct {
|
---|
26 | ///
|
---|
27 | /// The Null-terminated string that is the volume's label.
|
---|
28 | ///
|
---|
29 | CHAR16 VolumeLabel[1];
|
---|
30 | } EFI_FILE_SYSTEM_VOLUME_LABEL;
|
---|
31 |
|
---|
32 | #define SIZE_OF_EFI_FILE_SYSTEM_VOLUME_LABEL \
|
---|
33 | OFFSET_OF (EFI_FILE_SYSTEM_VOLUME_LABEL, VolumeLabel)
|
---|
34 |
|
---|
35 | extern EFI_GUID gEfiFileSystemVolumeLabelInfoIdGuid;
|
---|
36 |
|
---|
37 | #endif
|
---|