3.2.5.14.1 Handling an Enumeration of Previous Versions Response

If the Status field of the SMB2 header of the response indicates an error, the client MUST return the received status code to the calling application.

If the Status field of the SMB2 header of the response indicates success, the client MUST copy the received information in the SMB2 IOCTL Response following the SMB2 header described by OutputOffset and OutputCount into the buffer that is provided by the calling application for receiving the response output buffer. The client MUST return success and OutputCount to the application.