<div class="content"><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>
  <p>ENABLE_VOLUME_COMPRESSION</p>
  <p>0x00000001</p>
  </td>
  <td>
  <p>File system supports <span><a href="3c91641b-e5cd-409e-a445-2e4d61ae33c6#gt_86f79a17-c0be-4937-8660-0cf6ce5ddc1a" data-linktype="relative-path">NT file system (NTFS)</a></span>
  compression.</p>
  </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>
  <p>FSTYPE_UNKNOWN</p>
  <p>0x00000000</p>
  </td>
  <td>
  <p>File system type is unknown.</p>
  </td>
 </tr><tr>
  <td>
  <p>FSTYPE_NTFS</p>
  <p>0x00000001</p>
  </td>
  <td>
  <p>File system type is NTFS.</p>
  </td>
 </tr><tr>
  <td>
  <p>FSTYPE_FAT</p>
  <p>0x00000002</p>
  </td>
  <td>
  <p>File system type is <span><a href="3c91641b-e5cd-409e-a445-2e4d61ae33c6#gt_f2bf797b-e733-4fb9-b5e5-7e122f4abbe0" data-linktype="relative-path">file allocation table (FAT)</a></span>.</p>
  </td>
 </tr><tr>
  <td>
  <p>FSTYPE_FAT32</p>
  <p>0x00000003</p>
  </td>
  <td>
  <p>File system type is a <span><a href="3c91641b-e5cd-409e-a445-2e4d61ae33c6#gt_6508b992-aee3-43e5-93a7-1de08f7e28d5" data-linktype="relative-path">FAT32 file system</a></span>.</p>
  </td>
 </tr><tr>
  <td>
  <p>FSTYPE_CDFS</p>
  <p>0x00000004</p>
  </td>
  <td>
  <p>File system type is <span><a href="3c91641b-e5cd-409e-a445-2e4d61ae33c6#gt_1ddfdf88-c5e7-4320-bade-80f0b73c9c2e" data-linktype="relative-path">Compact Disc File System
  (CDFS)</a></span>.</p>
  </td>
 </tr><tr>
  <td>
  <p>FSTYPE_UDF</p>
  <p>0x00000005</p>
  </td>
  <td>
  <p>File system type is <span><a href="3c91641b-e5cd-409e-a445-2e4d61ae33c6#gt_cb5a1da2-5cc8-4e3f-80b9-32d55c5ca95f" data-linktype="relative-path">Universal Disk Format (UDF)</a></span>.</p>
  </td>
 </tr><tr>
  <td>
  <p>FSTYPE_OTHER</p>
  <p>0x80000000</p>
  </td>
  <td>
  <p>File system type is not listed.</p>
  </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>