Skip to content

Commit 363aa21

Browse files
committed
[PSDK] Add missing GPT partition attributes
1 parent f206063 commit 363aa21

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

sdk/include/psdk/winioctl.h

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -306,6 +306,13 @@ typedef struct _PREVENT_MEDIA_REMOVAL {
306306
((PartitionType) == PARTITION_XINT13) )
307307
#endif
308308

309+
#if (_WIN32_WINNT >= 0x0500)
310+
#define GPT_ATTRIBUTE_PLATFORM_REQUIRED 0x0000000000000001
311+
#define GPT_BASIC_DATA_ATTRIBUTE_READ_ONLY 0x1000000000000000
312+
#define GPT_BASIC_DATA_ATTRIBUTE_SHADOW_COPY 0x2000000000000000
313+
#define GPT_BASIC_DATA_ATTRIBUTE_HIDDEN 0x4000000000000000
314+
#define GPT_BASIC_DATA_ATTRIBUTE_NO_DRIVE_LETTER 0x8000000000000000
315+
#endif
309316

310317
#define DISK_LOGGING_START 0
311318
#define DISK_LOGGING_STOP 1

0 commit comments

Comments
 (0)