Search
Module:
Directory

   Desktop Functions:

   Smart Device Functions:


Show Recent Changes
Subscribe (RSS)
Misc. Pages
Comments
FAQ
Helpful Tools
Playground
Suggested Reading
Website TODO List
Download Visual Studio Add-In

FILE_INFO_3 (Structures)
 
.
Summary
The FILE_INFO_3 structure contains the identification number and other pertinent information about files, devices, and pipes.

C# Definition:

[StructLayout(LayoutKind.Sequential, CharSet = CharSet.Auto)]
struct FILE_INFO_3
{
   public int fi3_id;
   public int fi3_permission;
   public int fi3_num_locks;
   [MarshalAs(UnmanagedType.LPWStr)]
   public string fi3_pathname;
   [MarshalAs(UnmanagedType.LPWStr)]
   public string fi3_username;
}

VB Definition:

Note
When using this structure with NetFileEnum, the "Pack:=4" attribute may cause Marshal.PtrToStructure to fail.

    <StructLayout(LayoutKind.Sequential, CharSet:=CharSet.Auto, Pack:=4)> _
    Structure FILE_INFO_3
    Dim fi3_id As Integer
    Dim fi3_permission As Integer
    Dim fi3_num_locks As Integer
    Dim fi3_pathname As String
    Dim fi3_username As String
    End Structure

User-Defined Field Types:

None.

Notes:

See NetFileEnum

Documentation
FILE_INFO_3 on MSDN

Please edit this page!

Do you have...

  • helpful tips?
  • corrections to the existing content?
  • alternate definitions?
  • additional languages you want to include?

Select "Edit This Page" on the right hand toolbar and edit it! Or add new pages containing any supporting types needed.

 
Access PInvoke.net directly from VS:
Terms of Use
Edit This Page
Find References
Show Printable Version
Revisions