CREATE_DISK_GPT structure (winioctl.h)
Contains information used by the IOCTL_DISK_CREATE_DISK control code to initialize GUID partition table (GPT) disks.
Syntax
typedef struct _CREATE_DISK_GPT {
GUID DiskId;
DWORD MaxPartitionCount;
} CREATE_DISK_GPT, *PCREATE_DISK_GPT;
Members
DiskId
The disk identifier (GUID) of the GPT disk to be initialized.
MaxPartitionCount
The maximum number of partitions allowed on the GPT disk to be initialized without repartitioning the disk.
Remarks
The CREATE_DISK_GPT structure is defined as part of the CREATE_DISK structure.
If a maximum partition count of less than 128 is specified, it will be reset to 128. This is in compliance with the EFI specification.
Requirements
Requirement | Value |
---|---|
Minimum supported client | Windows XP [desktop apps only] |
Minimum supported server | Windows Server 2003 [desktop apps only] |
Header | winioctl.h (include Windows.h) |