<div class="content" name="FILE_INFO_3" uuid="1ce89330-a817-408d-975b-eb2852481238"><p>The FILE_INFO_3 structure contains the identifier and other
pertinent information about files, devices, and pipes.</p><dl>
<dd>
<div><pre> typedef struct _FILE_INFO_3 {
   DWORD fi3_id;
   DWORD fi3_permissions;
   DWORD fi3_num_locks;
   [string] wchar_t* fi3_pathname;
   [string] wchar_t* fi3_username;
 } FILE_INFO_3,
  *PFILE_INFO_3,
  *LPFILE_INFO_3;
</pre></div>
</dd></dl><p><b>fi3_id:</b>  Specifies a DWORD value
that contains the identifier that is assigned to the file, device, or pipe when
it was opened. See section <a href="6abb30a6-9f6d-4339-b022-81f3f78b11f8" data-linktype="relative-path">3.1.1</a>
for details.</p><p><b>fi3_permissions:</b>  Specifies a DWORD
value that contains the access permissions that are associated with the opening
application. This member MUST be a combination of one or more of the following
values. </p><dl>
<dd>
<table><thead>
  <tr>
   <th>
   <p>Value</p>
   </th>
   <th>
   <p>Meaning</p>
   </th>
  </tr>
 </thead><tbody><tr>
  <td>PERM_FILE_READ 0x00000001</td>
  <td>Permission to read a resource, and, by default, execute the resource.</td>
 </tr><tr>
  <td>PERM_FILE_WRITE 0x00000002</td>
  <td>Permission to write to a resource.</td>
 </tr><tr>
  <td>PERM_FILE_CREATE 0x00000004</td>
  <td>Permission to create a resource; data can be written when creating the resource.</td>
 </tr><tr>
  <td>ACCESS_EXEC 0x00000008</td>
  <td>Permission to execute a resource.</td>
 </tr><tr>
  <td>ACCESS_DELETE 0x00000010</td>
  <td>Permission to delete a resource.</td>
 </tr><tr>
  <td>ACCESS_ATRIB 0x00000020</td>
  <td>Permission to modify the attributes of a resource.</td>
 </tr><tr>
  <td>ACCESS_PERM 0x00000040</td>
  <td>Permission to modify the permissions assigned to a resource for a user or application.</td>
 </tr></tbody></table>
</dd></dl><p><b>fi3_num_locks:</b>  Specifies a DWORD
value that contains the number of file locks on the file, device, or pipe.</p><p><b>fi3_pathname:</b>  A pointer to a string
that specifies the path of the opened file, device, or pipe.</p><p><b>fi3_username:</b>  A pointer to a string
that specifies which user opened the file, device, or pipe.</p></div>