mirror of
https://github.com/ReneLergner/WPinternals.git
synced 2026-06-14 03:16:40 +10:00
Project: Add SDK
This commit is contained in:
@@ -0,0 +1,32 @@
|
||||
using System;
|
||||
using System.Runtime.InteropServices;
|
||||
using System.Runtime.InteropServices.ComTypes;
|
||||
|
||||
namespace WPinternalsSDK
|
||||
{
|
||||
[StructLayout(LayoutKind.Sequential, CharSet = CharSet.Unicode)]
|
||||
internal struct WIN32_FIND_DATA
|
||||
{
|
||||
public uint dwFileAttributes;
|
||||
|
||||
public FILETIME ftCreationTime;
|
||||
|
||||
public FILETIME ftLastAccessTime;
|
||||
|
||||
public FILETIME 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;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user