Export (0) Print
Expand All

2.2.3.9 CLUS_PARTITION_INFO

The CLUS_PARTITION_INFO data structure is the format in which a property value of syntax CLUSPROP_SYNTAX_PARTITION_INFO, as specified in section 2.2.2.3, is written as a property value, as specified in section 2.2.3.10.1. CLUS_PARTITION_INFO contains data about a disk partition that is configured with a basic volume.

CLUS_PARTITION_INFO is a custom-marshaled data structure that has fields as follows.


0

1

2

3

4

5

6

7

8

9
1
0

1

2

3

4

5

6

7

8

9
2
0

1

2

3

4

5

6

7

8

9
3
0

1

dwFlags

szDeviceName

...

...

...

...

...

...

...

(szDeviceName cont'd for 122 rows)

szVolumeLabel

...

...

...

...

...

...

...

(szVolumeLabel cont'd for 122 rows)

dwSerialNumber

rgdwMaximumComponentLength

dwFileSystemFlags

szFileSystem

...

...

...

...

...

...

...

(szFileSystem cont'd for 8 rows)

dwFlags (4 bytes): An unsigned 32-bit integer. Indicates characteristics about the partition. Can be a combination of the following values.

Value Meaning

0x00000000

No flags are set.

CLUSPROP_PIFLAG_STICKY
0x00000001

The volume is configured with a drive letter.

Can be combined with any other flag.

CLUSPROP_PIFLAG_USABLE
0x00000004

The partition is formatted with a file system that is usable by the cluster software. This flag SHOULD be set if and only if the partition is formatted with the NT File System (NTFS).

Can be combined with any other flag, but MUST be set if CLUSPROP_PIFLAG_DEFAULT_QUORUM is set.

CLUSPROP_PIFLAG_DEFAULT_QUORUM
0x00000008

Indicates that the smallest NTFS partition MUST be at least 50,000,000 bytes in size.

Can be combined with any other flag, but CLUSPROP_PIFLAG_USABLE MUST also be set if this flag is set.

szDeviceName (520 bytes): A 520-byte long fixed-length field. It contains a null-terminated Unicode string that contains the drive letter of the volume if the volume has a drive letter. If the volume is not configured with a drive letter, a null-terminated Unicode string of the format "DiskNNNPartitionYYY", where NNN is the disk number and YYY is the partition number, as specified in [MS-DMRP].

szVolumeLabel (520 bytes): A 520-byte long fixed-length field. It contains the file system label. This field is a null-terminated Unicode string.

dwSerialNumber (4 bytes): An unsigned 32-bit integer. This is the serial number that is assigned by the operating system when the partition was formatted.

rgdwMaximumComponentLength (4 bytes): An unsigned 32-bit integer. A value specifying the maximum length, in characters, of a file name component that is supported by the specified file system. A file name component is the portion of a file name between "\" characters.

dwFileSystemFlags (4 bytes): An unsigned 32-bit integer. The file system flags.

szFileSystem (64 bytes): A 64-byte long fixed-length field that contains a null-terminated Unicode string, which is the name of the file system, as specified in [MS-DMRP].

 
Show:
© 2015 Microsoft