Error code Meaning STATUS_BUFFER_TOO_SMALL The input buffer is too small to contain a FILE_REGION_INPUT structure, or the output buffer is too small to contain a FILE_REGION_OUTPUT structure. 0xC0000023 STATUS_BUFFER_OVERFLOW The output buffer was filled before all the desired regions for this file were returned. 0x80000005 STATUS_INVALID_PARAMETER A specified file region is invalid, or the specified desired usage flag is invalid, or the given handle is not for a file (but for a directory or volume instead). 0xC000000D FILE_REGION_INFO The FILE_REGION_INFO structure contains a computed region of a file based on a desired usage. This structure is used to store region information for the reply message, with the FILE_REGION_OUTPUT structure containing one or more FILE_REGION_INFO structures. A FILE_REGION_INFO data element is as follows. 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 FileOffset ... Length ... DesiredUsage Reserved FileOffset (8 bytes): A 64-bit signed integer that contains the file offset, in bytes, of the region. Length (8 bytes): A 64-bit signed integer that contains the size, in bytes, of the region. DesiredUsage (4 bytes): A 32-bit unsigned integer that indicates the usage for the given region of the file. The valid values are defined in section . Reserved (4 bytes): A 32-bit unsigned integer field that is reserved. This field SHOULD be set to 0x00000000 and MUST be ignored. FSCTL_QUERY_ON_DISK_VOLUME_INFO Request This message requests UDF-specific volume information for the volume that contains the file or directory associated with the handle on which this FSCTL was invoked. This message does not contain any additional data elements. This FSCTL is only valid on UDF file systems. All other File Systems will treat this as an invalid FSCTL. For information regarding UDF, see .
Error code Meaning STATUS_BUFFER_TOO_SMALL 0xC0000023 The input buffer is too small to contain a FILE_REGION_INPUT structure, or the output buffer is too small to contain a FILE_REGION_OUTPUT structure. STATUS_BUFFER_OVERFLOW 0x80000005 The output buffer was filled before all the desired regions for this file were returned. STATUS_INVALID_PARAMETER 0xC000000D A specified file region is invalid, or the specified desired usage flag is invalid, or the given handle is not for a file (but for a directory or volume instead). FILE_REGION_INFO The FILE_REGION_INFO structure contains a computed region of a file based on a desired usage. This structure is used to store region information for the reply message, with the FILE_REGION_OUTPUT structure containing one or more FILE_REGION_INFO structures. A FILE_REGION_INFO data element is 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 FileOffset ... Length ... DesiredUsage Reserved FileOffset (8 bytes): A 64-bit signed integer that contains the file offset, in bytes, of the region. Length (8 bytes): A 64-bit signed integer that contains the size, in bytes, of the region. DesiredUsage (4 bytes): A 32-bit unsigned integer that indicates the usage for the given region of the file. The valid values are defined in section . Reserved (4 bytes): A 32-bit unsigned integer field that is reserved. This field SHOULD be set to 0x00000000 and MUST be ignored. FSCTL_QUERY_ON_DISK_VOLUME_INFO Request This message requests UDF-specific volume information for the volume that contains the file or directory associated with the handle on which this FSCTL was invoked. This message does not contain any additional data elements. This FSCTL is only valid on UDF file systems. All other File Systems will treat this as an invalid FSCTL. For information regarding UDF, see .
%5BMS-FSCC%5D-160714.docx