Compartilhar via


2.1.5.12 Server Requests a Query of File Information

The server provides:

  • Open: An Open of a DataStream or DirectoryStream.

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

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

On completion, the object store MUST return:

  • Status: An NTSTATUS code that specifies the result.

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

  • ByteCount: The number of bytes stored in OutputBuffer.

If FileInformationClass is not defined in [MS-FSCC] section 2.4, the operation MUST be failed with STATUS_INVALID_INFO_CLASS.