3.2.5.14 Receiving an SMB2 IOCTL Response

If Connection.Dialect belongs to the SMB 3.x dialect family and the status code is STATUS_FILE_NOT_AVAILABLE, and Connection.ServerCapabilities includes SMB2_GLOBAL_CAP_PERSISTENT_HANDLES or SMB2_GLOBAL_CAP_MULTI_CHANNEL, the client MUST look up the request in Connection.OutstandingRequests using the MessageId field of the SMB2 header. If the request is found, the client SHOULD<187> replay the request by setting SMB2_FLAGS_REPLAY_OPERATION bit in the SMB2 header.

If the OutputCount field in an SMB2 IOCTL Response is 0, the OutputOffset field SHOULD<188> be ignored by the client.

IOCTL-specific processing is specified in the following sections.