2.2.3.16 CLUS_STORAGE_SET_DRIVELETTER

The CLUS_STORAGE_SET_DRIVELETTER structure supplies drive letter information for a disk partition associated with a storage class resource.

The CLUS_STORAGE_SET_DRIVELETTER is a custom-marshaled 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

PartitionNumber

DriveLetterMask

PartitionNumber (4 bytes): A 32-bit integer that indicates a partition on the storage device.

DriveLetterMask (4 bytes): A 32-bit integer bitmask that indicates either the new drive letter of the partition or that the partition's drive letter SHOULD be removed. Each bit represents a drive letter where bit 0 represents 'A', bit 1 represents 'B', and so forth through bit 25. Bits 26 through 31 are ignored. A value of zero indicates that the drive letter SHOULD be removed.