DiskIdGuid

Specifies the partition GUID for a Physical Disk resource formatted with a GUID Partition Table (GPT). The DiskIdType property of the Physical Disk resource has a value of PARTITION_STYLE_GPT (1) for GPT partitioned disks. The following table summarizes the attributes of the DiskIdGuid property.

AttributeValue
Data typeNull-terminated Unicode string
Access Read/write
StatusRequired if DiskSignature is missing
Structure CLUSPROP_SZ
MaximumNone (but see Maximum Property Size.)
Default0

 

Examples

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



WCHAR                szDiskIdGuidData[] = L"d44e4b8d-ead2-4221-b709-ccbb4ef70fd1";
CLUSPROP_SZ_DECLARE( DiskIdGuidValue, sizeof(szDiskIdGuidData) / sizeof(WCHAR) );

DiskIdGuidValue.Syntax.dw = CLUSPROP_SYNTAX_LIST_VALUE_SZ;
DiskIdGuidValue.cbLength  = sizeof( szDiskIdGuidData );
StringCbCopy( DiskIdGuidValue.sz, DiskIdGuidValue.cbLength, szDiskIdGuidData );


Requirements

Minimum supported client

None supported

Minimum supported server

Windows Server 2008 Datacenter, Windows Server 2008 Enterprise

See also

Physical Disk Private Properties
CLUSPROP_SZ
DiskSignature

 

 

Show: