OutputBuffer is of type FILE_FS_DEVICE_INFORMATION, as described in [MS-FSCC] section 2.5.10.

Pseudocode for the operation is as follows:

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

  • OutputBuffer MUST be constructed as follows:

    • OutputBuffer.DeviceType set to FILE_DEVICE_DISK or FILE_DEVICE_CD_ROM, as defined in [MS-FSCC] section 2.5.10, depending on the type of media that Open.File.Volume is mounted on.

    • OutputBuffer.Characteristics set to Open.File.Volume.VolumeCharacteristics.

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

    • ByteCount set to sizeof(FILE_FS_DEVICE_INFORMATION).

    • Status set to STATUS_SUCCESS.