// ntdddisk.h
typedef struct _CREATE_DISK_GPT {
GUID DiskId;
ULONG MaxPartitionCount;
} CREATE_DISK_GPT, *PCREATE_DISK_GPT;
View the official Windows Driver Kit DDI reference
// winioctl.h
typedef struct _CREATE_DISK_GPT {
GUID DiskId;
DWORD MaxPartitionCount;
} CREATE_DISK_GPT, *PCREATE_DISK_GPT;
View the official Win32 API reference
No description available.
The CREATE_DISK_GPT structure is used with the IOCTL IOCTL_DISK_CREATE_DISK to initialize a disk with an empty GPT partition table.
DiskId
Specifies the GUID that uniquely identifies the disk.
MaxPartitionCount
Specifies the maximum number of partitions allowed on the disk.
Contains information used by the IOCTL_DISK_CREATE_DISK control code to initialize GUID partition table (GPT) disks.
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.
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.