Leaked source code of windows server 2003
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

50 lines
1.6 KiB

  1. /*++
  2. Copyright (c) Microsoft Corporation. All rights reserved.
  3. Module Name:
  4. diskguid.h
  5. Abstract:
  6. GPT disk GUIDs.
  7. Revision History:
  8. --*/
  9. //
  10. // GPT Partition Type GUIDs
  11. //
  12. // need these GUIDs outside conditional includes so that user can
  13. // #include <ntdddisk.h> in precompiled header
  14. // #include <initguid.h> in a single source file
  15. // #include <ntdddisk.h> in that source file a second time to instantiate the GUIDs
  16. //
  17. #ifdef DEFINE_GUID
  18. //
  19. // Make sure FAR is defined...
  20. //
  21. #ifndef FAR
  22. #ifdef _WIN32
  23. #define FAR
  24. #else
  25. #define FAR _far
  26. #endif
  27. #endif
  28. //
  29. // Define the GPT partition guids known by disk drivers and volume managers.
  30. //
  31. DEFINE_GUID(PARTITION_ENTRY_UNUSED_GUID, 0x00000000L, 0x0000, 0x0000, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00); // Entry unused
  32. DEFINE_GUID(PARTITION_SYSTEM_GUID, 0xC12A7328L, 0xF81F, 0x11D2, 0xBA, 0x4B, 0x00, 0xA0, 0xC9, 0x3E, 0xC9, 0x3B); // EFI system partition
  33. DEFINE_GUID(PARTITION_MSFT_RESERVED_GUID, 0xE3C9E316L, 0x0B5C, 0x4DB8, 0x81, 0x7D, 0xF9, 0x2D, 0xF0, 0x02, 0x15, 0xAE); // Microsoft reserved space
  34. DEFINE_GUID(PARTITION_BASIC_DATA_GUID, 0xEBD0A0A2L, 0xB9E5, 0x4433, 0x87, 0xC0, 0x68, 0xB6, 0xB7, 0x26, 0x99, 0xC7); // Basic data partition
  35. DEFINE_GUID(PARTITION_LDM_METADATA_GUID, 0x5808C8AAL, 0x7E8F, 0x42E0, 0x85, 0xD2, 0xE1, 0xE9, 0x04, 0x34, 0xCF, 0xB3); // Logical Disk Manager metadata partition
  36. DEFINE_GUID(PARTITION_LDM_DATA_GUID, 0xAF9B60A0L, 0x1431, 0x4F62, 0xBC, 0x68, 0x33, 0x11, 0x71, 0x4A, 0x69, 0xAD); // Logical Disk Manager data partition
  37. #endif