Freigeben über


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.

Attribute Value
Data type Null-terminated Unicode string
Access Read/write
Status Required if DiskSignature is missing
Structure CLUSPROP_SZ
Maximum None (but see Maximum Property Size.)
Default 0

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