master
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
9#ifdef __cplusplus
10extern "C" {
11#endif
12
13typedef struct _STORAGE_DEVICE_UNIQUE_IDENTIFIER {
14 ULONG Version;
15 ULONG Size;
16 ULONG StorageDeviceIdOffset;
17 ULONG StorageDeviceOffset;
18 ULONG DriveLayoutSignatureOffset;
19} STORAGE_DEVICE_UNIQUE_IDENTIFIER, *PSTORAGE_DEVICE_UNIQUE_IDENTIFIER;
20
21typedef struct _STORAGE_DEVICE_LAYOUT_SIGNATURE {
22 ULONG Version;
23 ULONG Size;
24 BOOLEAN Mbr;
25 union {
26 ULONG MbrSignature;
27 GUID GptDiskId;
28 } DeviceSpecific;
29} STORAGE_DEVICE_LAYOUT_SIGNATURE, *PSTORAGE_DEVICE_LAYOUT_SIGNATURE;
30
31#ifdef __cplusplus
32}
33#endif
34#endif /*_INC_STORDUID*/