src: dotnet: WIP

This commit is contained in:
Bill Zissimopoulos 2017-04-03 15:27:33 -07:00
parent 74c2494bbd
commit a5db7a2cca
2 changed files with 13 additions and 3 deletions

View File

@ -41,8 +41,8 @@
<Reference Include="System" /> <Reference Include="System" />
</ItemGroup> </ItemGroup>
<ItemGroup> <ItemGroup>
<Compile Include="..\..\src\dotnet\FileSystem+NtStatus.cs"> <Compile Include="..\..\src\dotnet\FileSystem+Const.cs">
<Link>FileSystem+NtStatus.cs</Link> <Link>FileSystem+Const.cs</Link>
</Compile> </Compile>
<Compile Include="..\..\src\dotnet\FileSystem.cs"> <Compile Include="..\..\src\dotnet\FileSystem.cs">
<Link>FileSystem.cs</Link> <Link>FileSystem.cs</Link>
@ -67,6 +67,7 @@
<AssemblyInfo Include="[assembly: AssemblyVersion(&quot;$(MyCanonicalVersion)&quot;)]" /> <AssemblyInfo Include="[assembly: AssemblyVersion(&quot;$(MyCanonicalVersion)&quot;)]" />
<AssemblyInfo Include="[assembly: AssemblyFileVersion(&quot;$(MyVersion)&quot;)]" /> <AssemblyInfo Include="[assembly: AssemblyFileVersion(&quot;$(MyVersion)&quot;)]" />
</ItemGroup> </ItemGroup>
<MakeDir Directories="$(IntermediateOutputPath)" />
<WriteLinesToFile File="$(IntermediateOutputPath)AssemblyInfo.cs" Lines="@(AssemblyInfo)" Overwrite="true" /> <WriteLinesToFile File="$(IntermediateOutputPath)AssemblyInfo.cs" Lines="@(AssemblyInfo)" Overwrite="true" />
<ItemGroup> <ItemGroup>
<Compile Include="$(IntermediateOutputPath)AssemblyInfo.cs" /> <Compile Include="$(IntermediateOutputPath)AssemblyInfo.cs" />

View File

@ -1,5 +1,5 @@
/** /**
* @file dotnet/FileSystem.cs * @file dotnet/FileSystem+Const.cs
* *
* @copyright 2015-2017 Bill Zissimopoulos * @copyright 2015-2017 Bill Zissimopoulos
*/ */
@ -22,6 +22,15 @@ namespace Fsp
public partial class FileSystem public partial class FileSystem
{ {
/* Cleanup */
public const UInt32 CleanupDelete = 0x01;
public const UInt32 CleanupSetAllocationSize = 0x02;
public const UInt32 CleanupSetArchiveBit = 0x10;
public const UInt32 CleanupSetLastAccessTime = 0x20;
public const UInt32 CleanupSetLastWriteTime = 0x40;
public const UInt32 CleanupSetChangeTime = 0x80;
/* NTSTATUS */
public const Int32 STATUS_SUCCESS = unchecked((Int32)0x00000000); public const Int32 STATUS_SUCCESS = unchecked((Int32)0x00000000);
public const Int32 STATUS_WAIT_1 = unchecked((Int32)0x00000001); public const Int32 STATUS_WAIT_1 = unchecked((Int32)0x00000001);
public const Int32 STATUS_WAIT_2 = unchecked((Int32)0x00000002); public const Int32 STATUS_WAIT_2 = unchecked((Int32)0x00000002);