共用方式為


2.2.8.2.4 SMB_QUERY_FS_SIZE_INFO

This information level structure is used in TRANS2_QUERY_FS_INFORMATION Responses (section 2.2.6.4.2) to return extended allocation and size information of the object store underlying the share specified in the request.<172>

 SMB_QUERY_FS_SIZE_INFO
   {
   LARGE_INTEGER TotalAllocationUnits;
   LARGE_INTEGER TotalFreeAllocationUnits;
   ULONG         SectorsPerAllocationUnit;
   ULONG         BytesPerSector;
   }

TotalAllocationUnits: (8 bytes): This field contains the total number of allocation units assigned to the volume.

TotalFreeAllocationUnits: (8 bytes): This field contains the total number of unallocated or free allocation units for the volume.

SectorsPerAllocationUnit: (4 bytes): This field contains the number of sectors per allocation unit.

BytesPerSector: (4 bytes): This field contains the bytes per sector.