storduid.h 851 B

12345678910111213141516171819202122232425262728293031323334
  1. /**
  2. * This file has no copyright assigned and is placed in the Public Domain.
  3. * This file is part of the mingw-w64 runtime package.
  4. * No warranty is given; refer to the file DISCLAIMER.PD within this package.
  5. */
  6. #ifndef _INC_STORDUID
  7. #define _INC_STORDUID
  8. #ifdef __cplusplus
  9. extern "C" {
  10. #endif
  11. typedef struct _STORAGE_DEVICE_UNIQUE_IDENTIFIER {
  12. ULONG Version;
  13. ULONG Size;
  14. ULONG StorageDeviceIdOffset;
  15. ULONG StorageDeviceOffset;
  16. ULONG DriveLayoutSignatureOffset;
  17. } STORAGE_DEVICE_UNIQUE_IDENTIFIER, *PSTORAGE_DEVICE_UNIQUE_IDENTIFIER;
  18. typedef struct _STORAGE_DEVICE_LAYOUT_SIGNATURE {
  19. ULONG Version;
  20. ULONG Size;
  21. BOOLEAN Mbr;
  22. union {
  23. ULONG MbrSignature;
  24. GUID GptDiskId;
  25. } DeviceSpecific;
  26. } STORAGE_DEVICE_LAYOUT_SIGNATURE, *PSTORAGE_DEVICE_LAYOUT_SIGNATURE;
  27. #ifdef __cplusplus
  28. }
  29. #endif
  30. #endif /*_INC_STORDUID*/