Partager via


2.2.8.4.5 SMB_SET_FILE_ALLOCATION_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 allocation size information for the file specified in the request.<184>

 SMB_SET_FILE_ALLOCATION_INFO 
   {
   LARGE_INTEGER AllocationSize;
   }

AllocationSize: (8 bytes): A 64-bit signed integer containing the file allocation size, in bytes. Usually, this value is a multiple of the sector or cluster size of the underlying physical device. This value MUST be greater than or equal to 0x0000000000000000. All unused allocation (beyond EOF) is freed.