2.1.5.13 Server Requests a Query of File System Information

The server provides:

  • Open: An Open of a DataFile or DirectoryFile.

  • OutputBufferSize: The maximum number of bytes to be returned in OutputBuffer.

  • FsInformationClass: The type of information being queried, as specified in [MS-FSCC] section 2.5.

On completion, the object store MUST return:

  • Status: An NTSTATUS code that specifies the result.

  • OutputBuffer: An array of bytes containing the file system information. The structure of these bytes is dependent on FsInformationClass, as noted in the relevant subsection.

  • ByteCount: The number of bytes stored in OutputBuffer.

Pseudocode for the operation is as follows:

  • If FsInformationClass is not defined in [MS-FSCC] section 2.5, the operation MUST be failed with STATUS_INVALID_PARAMETER.