Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Export (0) Print
Expand All

DiskPath

Used in some recovery scenarios. If this is set to a disk (for example "H:\") then the Physical Disk resource will take control of that disk as part of the recovery process. The following table summarizes the attributes of the DiskPath property.

AttributeValue
Data typeNull-terminated Unicode string
Access Read/write
StatusOptional
Structure CLUSPROP_SZ
Minimum0
MaximumNone (but see Maximum String Size)
Default0

 

Remarks

The CLUSPROP_SZ_DECLARE macro creates a CLUSPROP_SZ structure with an array of the correct size.

Examples

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


WCHAR                szDiskPathData[] = L"H:\\";
CLUSPROP_SZ_DECLARE( DiskPathValue, 
                     sizeof( szDiskPathData ) / sizeof( WCHAR ) );

DiskPathValue.Syntax.dw = CLUSPROP_SYNTAX_LIST_VALUE_SZ;
DiskPathValue.cbLength  = sizeof( szDiskPathData );
StringCbCopy( DiskPathValue.sz, 
              DiskPathValue.cbLength, 
              szDiskPathData );


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
CLUSPROP_SZ_DECLARE

 

 

Show:
© 2015 Microsoft