This message also returns a status code as specified in section . Upon success, the status code returned directly by the function that processes this is STATUS_SUCCESS. The most common error codes are listed in the following table. Error code Meaning STATUS_INVALID_PARAMETER The handle specified is not open. 0xC000000D STATUS_VOLUME_DISMOUNTED The specified volume is no longer mounted. 0xC000026E STATUS_BUFFER_TOO_SMALL The output buffer is too small to contain an NTFS_VOLUME_DATA_BUFFER structure. 0xC0000023 FSCTL_GET_REFS_VOLUME_DATA Request This message requests that the server return information about the ReFS file system volume that contains the file or directory that is associated with the handle on which this FSCTL was invoked. This message does not contain any parameters. FSCTL_GET_REFS_VOLUME_DATA Reply The FSCTL_GET_REFS_VOLUME_DATA reply message returns the results of the FSCTL_GET_REFS_VOLUME_DATA request as an REFS_VOLUME_DATA_BUFFER element. The REFS_VOLUME_DATA_BUFFER contains information on a volume. 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 ByteCount MajorVersion MinorVersion BytesPerPhysicalSector VolumeSerialNumber ... NumberSectors ... TotalClusters ...
This message also returns a status code as specified in section . Upon success, the status code returned directly by the function that processes this is STATUS_SUCCESS. The most common error codes are listed in the following table. Error code Meaning STATUS_INVALID_PARAMETER 0xC000000D The handle specified is not open. STATUS_VOLUME_DISMOUNTED 0xC000026E The specified volume is no longer mounted. STATUS_BUFFER_TOO_SMALL 0xC0000023 The output buffer is too small to contain an NTFS_VOLUME_DATA_BUFFER structure. FSCTL_GET_REFS_VOLUME_DATA Request This message requests that the server return information about the ReFS file system volume that contains the file or directory that is associated with the handle on which this FSCTL was invoked. This message does not contain any parameters. FSCTL_GET_REFS_VOLUME_DATA Reply The FSCTL_GET_REFS_VOLUME_DATA reply message returns the results of the FSCTL_GET_REFS_VOLUME_DATA request as an REFS_VOLUME_DATA_BUFFER element. The REFS_VOLUME_DATA_BUFFER contains information on a volume. 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 ByteCount MajorVersion MinorVersion BytesPerPhysicalSector VolumeSerialNumber ... NumberSectors ... TotalClusters ...
%5BMS-FSCC%5D-180316.docx