DiskIdGuid
Applies to: desktop apps only
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 | |
|
Structure | |
|
Minimum |
0 |
|
Maximum |
None (but see Maximum String 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
Send comments about this topic to Microsoft
Build date: 3/14/2012