TotalAllocationUnits (8 bytes): A 64-bit signed integer that contains the total number of allocation units on the volume that are available to the user associated with the calling thread. The value of this field MUST be greater than or equal to 0.<132> CallerAvailableAllocationUnits (8 bytes): A 64-bit signed integer that contains the total number of free allocation units on the volume that are available to the user associated with the calling thread. The value of this field MUST be greater than or equal to 0.<133> A 64-bit signed integer that contains the total number ActualAvailableAllocationUnits (8 bytes): of free allocation units on the volume. The value of this field MUST be greater than or equal to 0. A 32-bit unsigned integer that contains the number of sectors SectorsPerAllocationUnit (4 bytes): in each allocation unit. A 32-bit unsigned integer that contains the number of bytes in each BytesPerSector (4 sector. This operation returns a status code as specified in section . Upon success, the status code returned by the function that processes this file system information class is STATUS_SUCCESS. The most common error codes are listed in the following table. code Meaning STATUS_INFO_LENGTH_MISMATCH The specified 0xC0000004 information record length does not the length that is required for the specified information class. FileFsLabelInformation This information class is used locally to set the label for a file system . A FILE_FS_LABEL_INFORMATION data element, defined as follows, is provided by the caller. 1 2 3 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 VolumeLabelLength VolumeLabel (variable) ... VolumeLabelLength (4 bytes): A 32-bit unsigned integer that contains the length, in bytes, including the trailing null, if present, of the name for the volume.<134>
TotalAllocationUnits (8 bytes): A 64-bit signed integer that contains the total number of allocation units on the volume that are available to the user associated with the calling thread. The value of this field MUST be greater than or equal to 0.<132> CallerAvailableAllocationUnits (8 bytes): A 64-bit signed integer that contains the total number of free allocation units on the volume that are available to the user associated with the calling thread. The value of this field MUST be greater than or equal to 0.<133> ActualAvailableAllocationUnits (8 bytes): A 64-bit signed integer that contains the total number of free allocation units on the volume. The value of this field MUST be greater than or equal to 0. SectorsPerAllocationUnit (4 bytes): A 32-bit unsigned integer that contains the number of sectors in each allocation unit. BytesPerSector (4 A 32-bit unsigned integer that contains the number of bytes in each sector. This operation returns a status code as specified in section . Upon success, the status code returned by the function that processes this file system information class is STATUS_SUCCESS. The most common error codes are listed in the following table. code Meaning STATUS_INFO_LENGTH_MISMATCH 0xC0000004 The specified information record length does not the length that is required for the specified information class. FileFsLabelInformation This information class is used locally to set the label for a file system . A FILE_FS_LABEL_INFORMATION data element, defined as follows, is provided by the caller. 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 VolumeLabelLength VolumeLabel (variable) ... VolumeLabelLength (4 bytes): A 32-bit unsigned integer that contains the length, in bytes, including the trailing null, if present, of the name for the volume.<134>