<div class="content" name="FILE_SYSTEM_INFO" uuid="ddcbe2a1-f199-4d10-87ec-f0673d3702ee"><p> </p><p>The FILE_SYSTEM_INFO structure provides information about a <span><a href="3c91641b-e5cd-409e-a445-2e4d61ae33c6#gt_528b06a4-e67c-43b3-a02d-8738858a691d" data-linktype="relative-path">file
system</a></span>. This structure is used for file system enumeration, file
system operations, and notification of file system changes in the configuration
database. For more information about the parameters, see <span><a href="https://go.microsoft.com/fwlink/?LinkId=90139" data-linktype="external">[MSDN-STC]</a></span>.</p><dl>
<dd>
<div><pre> struct filesysteminfo {
   LdmObjectId id;
   LdmObjectId storageId;
   LONGLONG totalAllocationUnits;
   LONGLONG availableAllocationUnits;
   unsigned long allocationUnitSize;
   unsigned long fsflags;
   hyper lastKnownState;
   LdmObjectId taskId;
   long fsType;
   int cchLabel;
   [size_is(cchLabel)] wchar_t* label;
 };
 typedef struct filesysteminfo FILE_SYSTEM_INFO;
</pre></div>
</dd></dl><p><b>id:</b>  Specifies the OID for the file
system.</p><p><b>storageId:</b>   Specifies the OID for
the <span><a href="3c91641b-e5cd-409e-a445-2e4d61ae33c6#gt_9a876829-33a1-4f0b-8b81-8552b7e5561c" data-linktype="relative-path">volume</a></span>,
partition, or <span><a href="3c91641b-e5cd-409e-a445-2e4d61ae33c6#gt_a6adfe1b-35d0-404e-b2fb-4d45e9f579e0" data-linktype="relative-path">logical drive</a></span>
associated with the file system.</p><p><b>totalAllocationUnits:</b>  Total number
of <span><a href="3c91641b-e5cd-409e-a445-2e4d61ae33c6#gt_9d6cc9e0-7976-4270-a624-01c86d47426e" data-linktype="relative-path">file
allocation units</a></span> in the file system.</p><p><b>availableAllocationUnits:</b>  Number of
available file allocation units in the file system.</p><p><b>allocationUnitSize:</b>  Size of a file
allocation unit in bytes.</p><p><b>fsflags:</b>  Bitmap of <span><a href="3c91641b-e5cd-409e-a445-2e4d61ae33c6#gt_bafb2696-b639-45eb-9d5a-95d905a2262d" data-linktype="relative-path">file
system flags</a></span>. The value of this field is generated by combining zero
or more of the applicable <span><a href="3c91641b-e5cd-409e-a445-2e4d61ae33c6#gt_425bcab9-7911-4eae-b414-624b7a51eb5f" data-linktype="relative-path">flags</a></span> with a logical
OR operation.</p><dl>
<dd>
<table><thead>
  <tr>
   <th>
   <p>Value</p>
   </th>
   <th>
   <p>Meaning</p>
   </th>
  </tr>
 </thead><tbody><tr>
  <td>ENABLE_VOLUME_COMPRESSION 0x00000001</td>
  <td>File system supports NT file system (NTFS) compression.</td>
 </tr></tbody></table>
</dd></dl><p><b>lastKnownState:</b>  File system&#39;s last
known <span><a href="3c91641b-e5cd-409e-a445-2e4d61ae33c6#gt_5a574d80-6bdb-4fb0-a0dd-b0601d16b4cd" data-linktype="relative-path">modification sequence number</a></span>.</p><p><b>taskId:</b>  Specifies the task
identifier of the associated user request. If no request is made, the value is
0. For more information about this task identifier, see section <span><a href="d55c167e-c6ad-445f-951c-9ac2d0de7a11" data-linktype="relative-path">2.2.17</a></span>.</p><p><b>fsType:</b>  Type of the file system.</p><dl>
<dd>
<table><thead>
  <tr>
   <th>
   <p>Value</p>
   </th>
   <th>
   <p>Meaning</p>
   </th>
  </tr>
 </thead><tbody><tr>
  <td>FSTYPE_UNKNOWN 0x00000000</td>
  <td>File system type is unknown.</td>
 </tr><tr>
  <td>FSTYPE_NTFS 0x00000001</td>
  <td>File system type is NTFS.</td>
 </tr><tr>
  <td>FSTYPE_FAT 0x00000002</td>
  <td>File system type is file allocation table (FAT).</td>
 </tr><tr>
  <td>FSTYPE_FAT32 0x00000003</td>
  <td>File system type is a FAT32 file system.</td>
 </tr><tr>
  <td>FSTYPE_CDFS 0x00000004</td>
  <td>File system type is Compact Disc File System (CDFS).</td>
 </tr><tr>
  <td>FSTYPE_UDF 0x00000005</td>
  <td>File system type is Universal Disk Format (UDF).</td>
 </tr><tr>
  <td>FSTYPE_OTHER 0x80000000</td>
  <td>File system type is not listed.</td>
 </tr></tbody></table>
</dd></dl><p><b>cchLabel:</b>   Length of the label of
the file system, in <span><a href="3c91641b-e5cd-409e-a445-2e4d61ae33c6#gt_c305d0ab-8b94-461a-bd76-13b40cb8c4d8" data-linktype="relative-path">Unicode</a></span> characters,
including the terminating null character.</p><p><b>label:</b>  Null-terminated label of the
file system. This is Unicode.</p></div>