[The Drive property is
available for use in the operating systems specified in the Requirements section. It may be altered or unavailable in
subsequent versions.]
Specifies the drive letter
for the Physical Disk resource. The following table
summarizes the attributes of the Drive
property.
Remarks
The Drive property is used to create
Physical Disk resources with the command-line
tool Cluster.exe. Make sure that the assigned drive letter does
not conflict with existing drive letters anywhere in the cluster, including each
node's local drives.
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 Drive can be set with the following example
code.
WCHAR szDriveData[] = L"D:";
CLUSPROP_SZ_DECLARE( DriveValue,
sizeof( szDriveData ) / sizeof( WCHAR ) );
DriveValue.Syntax.dw = CLUSPROP_SYNTAX_LIST_VALUE_SZ;
DriveValue.cbLength = sizeof( szDriveData );
StringCbCopy( DriveValue.sz, DriveValue.cbLength, szDriveData );
Requirements
| Minimum supported client | None supported |
| Minimum supported server | Windows 2000 Server Advanced Server, Windows 2000 Server Datacenter |
| End of server support | Windows Server 2003 Datacenter, Windows Server 2003 Enterprise |
See Also
- Physical Disk Private Properties
- CLUSPROP_SZ
- CLUSPROP_SZ_DECLARE
Send comments about this topic to Microsoft
Build date: 11/19/2009