Export (0) Print
Expand All

CREATE_DISK structure

Contains information that the IOCTL_DISK_CREATE_DISK control code uses to initialize GUID partition table (GPT), master boot record (MBR), or raw disks.

Syntax


typedef struct {
  PARTITION_STYLE PartitionStyle;
  union {
    CREATE_DISK_MBR Mbr;
    CREATE_DISK_GPT Gpt;
  };
} CREATE_DISK, *PCREATE_DISK;

Members

PartitionStyle

The format of a partition.

For more information, see PARTITION_STYLE.

Mbr

A CREATE_DISK_MBR structure that contains disk information when an MBR disk is to be initialized.

Gpt

A CREATE_DISK_GPT structure that contains disk information when a GPT disk is to be initialized.

Requirements

Minimum supported client

Windows XP [desktop apps only]

Minimum supported server

Windows Server 2003 [desktop apps only]

Header

WinIoCtl.h (include Windows.h)

See also

CREATE_DISK_GPT
CREATE_DISK_MBR
IOCTL_DISK_CREATE_DISK
PARTITION_STYLE

 

 

Community Additions

ADD
Show:
© 2014 Microsoft