Receiving an SMB_COM_READ_ANDX Response

The SMB_COM_READ_ANDX response MUST be processed as specified in section

If the Status of the response indicates either success or that a time-out occurred, the client MUST forward any available data returned in the Data field to the application, along with the number of bytes returned, as indicated in the DataLength field.

If the application requested it, the client MUST forward the information in the Available field to the calling application.

In the event of a STATUS_BUFFER_OVERFLOW (ERRDOS/ERRmoredata) error, the server MUST return a complete SMB_COM_READ_ANDX response (not an error response). The DataLength field indicates the number of bytes successfully read.