]> git.proxmox.com Git - mirror_edk2.git/blobdiff - OldMdePkg/Include/Guid/FileSystemVolumeLabelInfo.h
Moved the MdePkg to OldMdePkg so that new code in MdePkg does not break existing...
[mirror_edk2.git] / OldMdePkg / Include / Guid / FileSystemVolumeLabelInfo.h
diff --git a/OldMdePkg/Include/Guid/FileSystemVolumeLabelInfo.h b/OldMdePkg/Include/Guid/FileSystemVolumeLabelInfo.h
new file mode 100644 (file)
index 0000000..53236a6
--- /dev/null
@@ -0,0 +1,42 @@
+/** @file\r
+  FileSystemVolumeLabelInfo guid and data structure as defined in the EFI 1.0 specification.\r
+\r
+  Copyright (c) 2006, Intel Corporation                                                         \r
+  All rights reserved. This program and the accompanying materials                          \r
+  are licensed and made available under the terms and conditions of the BSD License         \r
+  which accompanies this distribution.  The full text of the license may be found at        \r
+  http://opensource.org/licenses/bsd-license.php                                            \r
+\r
+  THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,                     \r
+  WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.             \r
+\r
+  Module Name:  FileSystemVolumeLabelInfo.h\r
+\r
+**/\r
+\r
+#ifndef __FILE_SYSTEM_VOLUME_LABEL_INFO_H__\r
+#define __FILE_SYSTEM_VOLUME_LABEL_INFO_H__\r
+\r
+#define EFI_FILE_SYSTEM_VOLUME_LABEL_INFO_ID_GUID \\r
+  { \\r
+    0xDB47D7D3, 0xFE81, 0x11d3, {0x9A, 0x35, 0x00, 0x90, 0x27, 0x3F, 0xC1, 0x4D } \\r
+  }\r
+\r
+//\r
+// Protocol Name defined in spec.\r
+//\r
+#define EFI_FILE_SYSTEM_VOLUME_LABEL_ID \\r
+        EFI_FILE_SYSTEM_VOLUME_LABEL_INFO_ID_GUID\r
+\r
+typedef struct {\r
+  CHAR16  VolumeLabel[1];\r
+} EFI_FILE_SYSTEM_VOLUME_LABEL_INFO;\r
+\r
+typedef EFI_FILE_SYSTEM_VOLUME_LABEL_INFO EFI_FILE_SYSTEM_VOLUME_LABEL;\r
+\r
+#define SIZE_OF_EFI_FILE_SYSTEM_VOLUME_LABEL_INFO \\r
+        EFI_FIELD_OFFSET (EFI_FILE_SYSTEM_VOLUME_LABEL_INFO, VolumeLabel)\r
+\r
+extern EFI_GUID gEfiFileSystemVolumeLabelInfoIdGuid;\r
+\r
+#endif\r