27 lines
1.0 KiB
C#
27 lines
1.0 KiB
C#
namespace Standard
|
|
{
|
|
using System;
|
|
using System.Diagnostics.CodeAnalysis;
|
|
using System.IO;
|
|
using System.Runtime.InteropServices;
|
|
using System.Runtime.InteropServices.ComTypes;
|
|
|
|
[StructLayout(LayoutKind.Sequential, CharSet=CharSet.Unicode), BestFitMapping(false), SuppressMessage("Microsoft.Performance", "CA1812:AvoidUninstantiatedInternalClasses")]
|
|
internal class WIN32_FIND_DATAW
|
|
{
|
|
public FileAttributes dwFileAttributes;
|
|
public System.Runtime.InteropServices.ComTypes.FILETIME ftCreationTime;
|
|
public System.Runtime.InteropServices.ComTypes.FILETIME ftLastAccessTime;
|
|
public System.Runtime.InteropServices.ComTypes.FILETIME ftLastWriteTime;
|
|
public int nFileSizeHigh;
|
|
public int nFileSizeLow;
|
|
public int dwReserved0;
|
|
public int dwReserved1;
|
|
[MarshalAs(UnmanagedType.ByValTStr, SizeConst=260)]
|
|
public string cFileName;
|
|
[MarshalAs(UnmanagedType.ByValTStr, SizeConst=14)]
|
|
public string cAlternateFileName;
|
|
}
|
|
}
|
|
|