The CLUS_PARTITION_INFO structure contains data describing a disk volume and file system. The CLUS_PARTITION_INFO structure is defined in CLUSAPI.H.
typedef struct _CLUS_PARTITION_INFO {
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;
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. |
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). |
A CLUS_PARTITION_INFO structure can be returned by ClusterResourceControl when the dwControlCode parameter is set to CLUSCTL_RESOURCE_STORAGE_GET_DISK_INFO and by ClusterResourceTypeControl when dwControlCode is set to CLUSCTL_RESOURCE_TYPE_STORAGE_GET_AVAILABLE_DISKS.
The CLUS_PARTITION_INFO structure is one of the members of the CLUSPROP_PARTITION_INFO structure. The CLUS_PARTITION_INFO structure provides the data portion for CLUSPROP_PARTITION_INFO.
Because the CLUS_PARTITION_INFO structure describes data, it does not include a value header.
Version: Use Windows NT Server Enterprise Edition 4.0.
Windows CE: Unsupported.
Header: Declared in clusapi.h.