CLUSPROP_PARTITION_INFO

The CLUSPROP_PARTITION_INFO structure contains information relevant to storage class resources that is used in a value list and consists of:

An example of a storage class resource is the Physical Disk resource. To promote clarity, the individual members of these two structures are included in the CLUSPROP_PARTITION_INFO definition.

The CLUSPROP_PARTITION_INFO structure is defined in CLUSAPI.H.

typedef struct _CLUSPROP_PARTITION_INFO {
    CLUSPROP_SYNTAX           Syntax;
    DWORD                     cbLength;
    DWORD                     dwFlags;
    WCHAR                     szDeviceName[MAX_PATH];
    WCHAR                     szVolumeLabel[MAX_PATH];
    DWORD                     dwSerialNumber;
    DWORD                     rgdwMaximumComponentLength[2];
    DWORD                     dwFileSystemFlags;
    WCHAR                     szFileSystem[32];
} CLUSPROP_PARTITION_INFO, *PCLUSPROP_PARTITION_INFO;
 

Members

Syntax
Member of the CLUSPROP_VALUE structure describing the format and type of the partition information.
cbLength
Member of the CLUSPROP_VALUE structure indicating the count of bytes in the partition information data. The count does not include the data in the Syntax or cbLength members.
dwFlags
Member of the CLUS_PARTITION_INFO structure that describes the disk. One of the following flags is valid:
Partition flag value Description
CLUSPROP_PIFLAG_STICKY The drive letter is sticky.
CLUSPROP_PIFLAG_REMOVABLE The disk is removable.
CLUSPROP_PIFLAG_USABLE The disk is formatted with a file system that is usable by the Cluster Service.
szDeviceName
Member of the CLUS_PARTITION_INFO structure that describes the device name for the disk, such as C:. No backslashes are included.
szVolumeLabel
Member of the CLUS_PARTITION_INFO structure that describes the volume label for the disk.
dwSerialNumber
Member of the CLUS_PARTITION_INFO structure that describes the serial number of the disk volume.
rgdwMaximumComponentLength
Member of the CLUS_PARTITION_INFO structure that describes the maximum length, in characters, of a file name component supported by the specified file system. A file name component is that portion of a file name between backslashes.
dwFileSystemFlags
Member of the CLUS_PARTITION_INFO structure that describes the file system. One or more of the following flags are valid:
Flag Description
FS_CASE_IS_PRESERVED The file system preserves the case of file names when it places a name on disk.
FS_CASE_SENSITIVE The file system supports case-sensitive file names.
FS_UNICODE_STORED_ON_DISK The file system supports Unicode in file names as they appear on disk.
FS_PERSISTENT_ACLS The file system preserves and enforces Access Control Lists (ACLs).
szFileSystem
Member of the CLUS_PARTITION_INFO structure that describes the name of the file system such as FAT, HPFS, or NTFS.

QuickInfo

  Version: Use Windows NT Server Enterprise Edition 4.0.
  Windows CE: Unsupported.
  Header: Declared in clusapi.h.