Receiving an SMB_COM_IOCTL Response

The SMB_COM_IOCTL response MUST be processed as described in section

If the Status field indicates an error, the error MUST be passed to the application. Otherwise, the SMB_COM_IOCTL MUST be unpacked as described in section, and the results MUST be returned to the application. The format of the results of the IOCTL are specific to the platform, device type, and function called.