Partager via


2.2.8.2.1 SMB_INFO_ALLOCATION

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

 SMB_INFO_ALLOCATION 
   {
   ULONG  idFileSystem;
   ULONG  cSectorUnit;
   ULONG  cUnit;
   ULONG  cUnitAvailable;
   USHORT cbSector;
   }
  

idFileSystem: (4 bytes): This field contains a file system identifier.<169>

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

cUnit: (4 bytes): This field contains the total number of allocation units.

cUnitAvailable: (4 bytes): This field contains the total number of available allocation units.

cbSector: (2 bytes): This field contains the number of bytes per sector.