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

WIN32_FIND_DATA (Structures)
 
.
Summary
TODO - a short description

C# Definition:

// The CharSet must match the CharSet of the
// corresponding PInvoke signature
[StructLayout(LayoutKind.Sequential, CharSet=CharSet.Auto)]
struct WIN32_FIND_DATA
{
   public uint dwFileAttributes;
   public long ftCreationTime;
   public long ftLastAccessTime;
   public long ftLastWriteTime;
   public uint nFileSizeHigh;
   public uint nFileSizeLow;
   public uint dwReserved0;
   public uint dwReserved1;
   [MarshalAs(UnmanagedType.ByValTStr, SizeConst=260)]
   public string cFileName;
   [MarshalAs(UnmanagedType.ByValTStr, SizeConst=14)]
   public string cAlternateFileName;
}

VB Definition:

    <Serializable(), StructLayout(LayoutKind.Sequential, CharSet:=CharSet.Auto)> _
    Structure WIN32_FIND_DATA
    Public dwFileAttributes As Long
    Public ftCreationTime As FILETIME
    Public ftLastAccessTime As FILETIME
    Public ftLastWriteTime As FILETIME
    Public nFileSizeHigh As Long
    Public nFileSizeLow As Long
    Public dwReserved0 As Long
    Public dwReserved1 As Long
    <MarshalAs(UnmanagedType.ByValTStr, SizeConst:=260)> _
      Public cFileName As String
    <MarshalAs(UnmanagedType.ByValTStr, SizeConst:=14)> _
        Public cAlternate As String
    End Structure

User-Defined Field Types:

None.

Notes:

None.

Documentation

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
Find References
Show Printable Version
Revisions