다음을 통해 공유


3.3.5.57.8 Receiving a TRANS_RAW_WRITE_NMPIPE Request

This method of writing data to a named pipe ignores message boundaries, even if the pipe is set up as a message mode pipe.

Upon receipt of a TRANS_RAW_WRITE_NMPIPE subcommand request, the SMB Trans subsystem MUST write the contents of the WriteData field to the open named pipe specified by the FID, which is contained in Setup[1] in the request. The write SHOULD<332> be performed in blocking mode and byte mode, even if these modes are not set on the pipe (see the description of the PipeState field of TRANS_SET_NMPIPE_STATE for more information). The amount of data to be written is specified by the TotalDataCount value of the SMB_COM_TRANSACTION request.

If the request fails, the status code indicating the error is returned in an SMB_COM_TRANSACTION error response message. If successful, the number of bytes written MUST be returned in the BytesWritten field of the transaction response. The CIFS server passes the results to the client in the SMB_COM_TRANSACTION response.<333>