22.214.171.124 SMB_COM_WRITE_AND_CLOSE (0x2C)
This write and close command has the effect of writing to a range of bytes and then closing the file associated with the supplied FID. This command behaves identically to an SMB_COM_WRITE (section 126.96.36.199) command followed by an SMB_COM_CLOSE (section 188.8.131.52) command. See SMB_COM_WRITE and SMB_COM_CLOSE for more details. This command supports two request formats: one with six parameter words and one with 12 parameter words.
This command supports 32-bit offsets only and is inappropriate for files having 64-bit offsets. The client SHOULD use SMB_COM_WRITE_ANDX to write to files requiring 64-bit file offsets.
The client MUST have at least write access to the file. If an error is returned by the underlying object store, the server SHOULD still close the file.