188.8.131.52 Receiving an SMB_COM_CREATE_TEMPORARY Response
The SMB_COM_CREATE_TEMPORARY Response (section 184.108.40.206.2) MUST be processed as specified in section 220.127.116.11.
If the SMB_COM_CREATE_TEMPORARY was successful, a new Client.Open must be entered into the Client.Connection.OpenTable. Client.Open.FID is set to the returned FID, and Client.Open.OpLock is set based on the SMB_Header.Flags SMB_FLAGS_OPLOCK and SMB_FLAGS_OPBATCH flags. Client.Open.TreeConnect MUST be set to a Client.TreeConnect where Client.TreeConnect.TreeID matches the TID sent by the server in the SMB Header of the SMB_COM_CREATE_TEMPORARY 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_CREATE_TEMPORARY 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. In addition, the name of the temporary file created by the server can be returned to the application, if requested.