CREATE_DISK_GPT structure (ntdddisk.h)

The CREATE_DISK_GPT structure is used with the IOCTL IOCTL_DISK_CREATE_DISK to initialize a disk with an empty GPT partition table.

Syntax

typedef struct _CREATE_DISK_GPT {
  GUID  DiskId;
  ULONG MaxPartitionCount;
} CREATE_DISK_GPT, *PCREATE_DISK_GPT;

Members

DiskId

Specifies the GUID that uniquely identifies the disk.

MaxPartitionCount

Specifies the maximum number of partitions allowed on the disk.

Requirements

Requirement Value
Header ntdddisk.h (include Ntdddisk.h)

See also

CREATE_DISK

IOCTL_DISK_CREATE_DISK