Partager via


2.2.8.4.6 SMB_SET_FILE_END_OF_FILE_INFO

This information level structure is used in TRANS2_SET_PATH_INFORMATION (section 2.2.6.7) and TRANS2_SET_FILE_INFORMATION (section 2.2.6.9) requests to set end-of-file information for the file specified in the request.<185>

 SMB_SET_FILE_END_OF_FILE_INFO 
   {
   LARGE_INTEGER EndOfFile;
   }

EndOfFile: (8 bytes): A 64-bit signed integer that contains the absolute new end-of-file position as a byte offset from the start of the file. EndOfFile specifies the offset from the beginning of the file to the byte following the last byte in the file. It is the offset from the beginning of the file at which new bytes appended to the file are to be written. The value of this field MUST be greater than or equal to 0x0000000000000000.