CREATE_DISK_GPT - NtDoc

Native API online documentation, based on the System Informer (formerly Process Hacker) phnt headers
// 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

NtDoc

No description available.

Windows Driver Kit DDI reference (ns-ntdddisk-_create_disk_gpt)

_CREATE_DISK_GPT structure

Description

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

Members

DiskId

Specifies the GUID that uniquely identifies the disk.

MaxPartitionCount

Specifies the maximum number of partitions allowed on the disk.

See also

CREATE_DISK

IOCTL_DISK_CREATE_DISK


Win32 API reference (ns-winioctl-create_disk_gpt)

CREATE_DISK_GPT structure

Description

Contains information used by the IOCTL_DISK_CREATE_DISK control code to initialize GUID partition table (GPT) disks.

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.

See also

CREATE_DISK

CREATE_DISK_MBR

IOCTL_DISK_CREATE_DISK