OutputBuffer is of type FILE_MODE_INFORMATION as described in [MS-FSCC] 2.4.24.

Pseudocode for the operation is as follows:

  • If OutputBufferSize is smaller than sizeof(FILE_MODE_INFORMATION), the operation MUST be failed with STATUS_INFO_LENGTH_MISMATCH.

  • OutputBuffer MUST be constructed as follows:

    • OutputBuffer.Mode MUST be set to Open.Mode.

  • Upon successful completion of the operation, the object store MUST return:

    • ByteCount set to sizeof(FILE_MODE_INFORMATION).

    • Status set to STATUS_SUCCESS.