Compartilhar via


3.3.5.57.10 Receiving a TRANS_WRITE_NMPIPE Request

Upon receipt of a TRANS_WRITE_NMPIPE (section 2.2.5.9) subcommand request, the SMB Trans subsystem MUST attempt to write data to the underlying object store for the open named pipe identified by the SMB_Parameters.Words.Setup.FID field of the request. The data to be written is contained in the Trans_Data.WriteData field of the request. The write MUST be performed with respect to the current I/O state of the pipe (see TRANS_SET_NMPIPE_STATE (section 2.2.5.1) and TRANS_QUERY_NMPIPE_STATE (section 2.2.5.3)).<335>

If the operation fails, the status code indicating the error is returned in an SMB_COM_TRANSACTION (section 2.2.4.33) error response message. If the operation is successful, the server MUST construct a TRANS_WRITE_NMPIPE Response (section 2.2.5.9.2).

The CIFS server passes the results to the client in the SMB_COM_TRANSACTION Response (section 2.2.4.33.2).