3.3.5.15.17 Handling a Duplicate Extents To File Request

When the server receives a request that contains an SMB2 header with a Command value equal to SMB2 IOCTL and a CtlCode of FSCTL_DUPLICATE_EXTENTS_TO_FILE, message handling proceeds as follows:

If InputCount in SMB2 IOCTL Request is less than the size of SMB2_DUPLICATE_EXTENTS_DATA Request, as specified in [MS-FSCC] section 2.3.7.2, the server MUST fail the request with an error code of STATUS_INVALID_PARAMETER.

If no Open.FileId identified by the Volatile subfield of the SourceFileID field in SMB2_DUPLICATE_EXTENTS_DATA, as specified in [MS-FSCC] section 2.3.7.2, is found in Session.OpenTable, the server MUST fail the request with an error code of STATUS_INVALID_HANDLE.

The server MUST process this request as a pass-through operation as specified in section 3.3.5.15.8.