CLUS_PARTITION_INFO

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;
 

Members

dwFlags
Value 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
Device name for the disk, such as C:. No backslash is included.
szVolumeLabel
Volume label for the disk.
dwSerialNumber
Serial number of the disk volume.
rgdwMaximumComponentLength
Value of the maximum length, in characters, of a file name component supported by the specified file system. A file name component is the portion of a file name between backslashes.
dwFileSystemFlags
Value 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
Name of the file system such as FAT or NTFS.

Remarks

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.

QuickInfo

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