Export (0) Print
Expand All

DiskIdType

Describes the partition type of the physical disk resource. The following table summarizes the attributes of the DiskIdType property.

AttributeValue
Data typeDWORD
Access Read/write
StatusRequired
Structure CLUSPROP_DWORD
Minimum0
Maximum5000
Default5000

 

Remarks

The DiskIdType property can be set to one of the following values.

ValueDescription

PARTITION_STYLE_MBR (0)

The disk has a Master Boot Record (MBR) partition.

PARTITION_STYLE_GPT (1)

The disk has a GUID Partition Table (GPT) partition.

5000

The disk has an unrecognized partitioning scheme.

 

PARTITION_STYLE_MBR and PARTITION_STYLE_GPT are defined in WinIoCtl.h.

Examples

The property value portion of a property list entry for DiskIdType can be set with the following example code.



DWORD          DiskIdTypeData = 0;
CLUSPROP_DWORD DiskIdTypeValue;

DiskIdTypeValue.Syntax.dw = CLUSPROP_SYNTAX_LIST_VALUE_DWORD;
DiskIdTypeValue.cbLength  = sizeof(DWORD);
DiskIdTypeValue.dw        = DiskIdTypeData;


Requirements

Minimum supported client

None supported

Minimum supported server

Windows Server 2008 Datacenter, Windows Server 2008 Enterprise

See also

Physical Disk Private Properties

 

 

Show:
© 2014 Microsoft