Windows Dev Center

ClusterDriverDirectory

Provides the name of the cluster driver folder for the Print Spooler resource. The following table summarizes the attributes of the ClusterDriverDirectory property.

AttributeValue
Data typeNull-terminated Unicode string
Access Read/write
StatusRequired
Structure CLUSPROP_SZ
MinimumNULL
MaximumNone (but see Maximum String Size).
DefaultNULL

 

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 ClusterDriverDirectory can be set with the following example code.


WCHAR                szClusterDriverDirData[] = L"C:\\ClusDriverA";
CLUSPROP_SZ_DECLARE( ClusterDriverDirValue, 
                     sizeof( szClusterDriverDirData ) / sizeof( WCHAR ) );

ClusterDriverDirValue.Syntax.dw = CLUSPROP_SYNTAX_LIST_VALUE_SZ;
ClusterDriverDirValue.cbLength  = sizeof( szClusterDriverDirData );
StringCbCopy( ClusterDriverDirValue.sz, 
              ClusterDriverDirValue.cbLength, 
              szClusterDriverDirData );


Requirements

Minimum supported client

None supported

Minimum supported server

Windows Server 2008 Datacenter, Windows Server 2008 Enterprise

See also

Print Spooler Private Properties
CLUSPROP_SZ
CLUSPROP_SZ_DECLARE

 

 

Show:
© 2015 Microsoft