3.2.5.38.10 Receiving a TRANS_CALL_NMPIPE Response
Upon receipt of a TRANS_CALL_NMPIPE subcommand response, the client MUST forward the ReadData buffer from within the Trans_Data block, along with the number of bytes read from the named pipe, to the application. The number of bytes read (the size of ReadData ) is returned in the TotalDataCount field.
In the event of a STATUS_BUFFER_OVERFLOW (ERRDOS/ERRmoredata) error, the server MUST return a complete SMB_COM_TRANSACTION response (not an error response). The TotalDataCount in the TRANS_CALL_NMPIPE contained in the SMB_COM_TRANSACTION response indicates the number of bytes successfully read.