184.108.40.206 Receiving an SMB_COM_OPEN_PRINT_FILE Response
The SMB_COM_OPEN_PRINT_FILE Response (section 220.127.116.11.2) MUST be processed as specified in section 18.104.22.168.
If the SMB_COM_OPEN_PRINT_FILE (section 22.214.171.124) command fails, the error status MUST be passed to the application.
If the request succeeds, the FID returned in the SMB_COM_OPEN_PRINT_FILE Response MUST be returned to the application. The FID MUST also be used to create a new entry in Client.Connection.OpenTable. If an OpLock was requested, the value of Client.Open.OpLock MUST be set to indicate the type of OpLock that was granted, if any. Client.Open.TreeConnect MUST be set to Client.Connection.TreeConnectTable[TID], where the TID matches the TID field sent by the server in the SMB Header (section 126.96.36.199) of the SMB_COM_OPEN_PRINT_FILE Response. Client.Open.Session MUST be set to a Client.Session where Client.Session.SessionUID matches the UID sent by the server in the SMB Header of the SMB_COM_OPEN_PRINT_FILE Response. Client.Open.Connection MUST be set to Client.Open.Session.Connection.
The Client.Open matching the FID provided in the response MUST be returned to the application.