]>
Commit | Line | Data |
---|---|---|
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 - 2008, 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 | |
14 | \r | |
15 | **/\r | |
16 | \r | |
17 | #ifndef __FILE_SYSTEM_VOLUME_LABEL_INFO_H__\r | |
18 | #define __FILE_SYSTEM_VOLUME_LABEL_INFO_H__\r | |
19 | \r | |
20 | #define EFI_FILE_SYSTEM_VOLUME_LABEL_ID \\r | |
21 | { \\r | |
22 | 0xDB47D7D3, 0xFE81, 0x11d3, {0x9A, 0x35, 0x00, 0x90, 0x27, 0x3F, 0xC1, 0x4D } \\r | |
23 | }\r | |
24 | \r | |
25 | typedef struct {\r | |
26 | ///\r | |
27 | /// The Null-terminated string that is the volume's label.\r | |
28 | ///\r | |
29 | CHAR16 VolumeLabel[1];\r | |
30 | } EFI_FILE_SYSTEM_VOLUME_LABEL;\r | |
31 | \r | |
32 | #define SIZE_OF_EFI_FILE_SYSTEM_VOLUME_LABEL \\r | |
33 | OFFSET_OF (EFI_FILE_SYSTEM_VOLUME_LABEL, VolumeLabel)\r | |
34 | \r | |
35 | extern EFI_GUID gEfiFileSystemVolumeLabelInfoIdGuid;\r | |
36 | \r | |
37 | #endif\r |