InputBuffer is of type FILE_POSITION_INFORMATION, as described in [MS-FSCC] section 2.4.32.

Pseudocode for the operation is as follows:

  • If InputBufferSize is less than the size, in bytes, of the FILE_POSITION_INFORMATION structure, the operation MUST be failed with STATUS_INFO_LENGTH_MISMATCH.

  • The operation MUST be failed with STATUS_INVALID_PARAMETER under either of the following conditions:

    • InputBuffer.CurrentByteOffset is less than 0.

    • Open.Mode contains FILE_NO_INTERMEDIATE_BUFFERING and InputBuffer.CurrentByteOffset is not an integer multiple of Open.File.Volume.LogicalBytesPerSector.

  • The object store MUST set Open.CurrentByteOffset equal to InputBuffer.CurrentByteOffset.

  • The operation returns STATUS_SUCCESS.<145>