From a5db7a2cca7daead05fae9fff59166924b26ee13 Mon Sep 17 00:00:00 2001 From: Bill Zissimopoulos Date: Mon, 3 Apr 2017 15:27:33 -0700 Subject: [PATCH] src: dotnet: WIP --- build/VStudio/winfsp.net.csproj | 5 +++-- .../{FileSystem+NtStatus.cs => FileSystem+Const.cs} | 11 ++++++++++- 2 files changed, 13 insertions(+), 3 deletions(-) rename src/dotnet/{FileSystem+NtStatus.cs => FileSystem+Const.cs} (99%) diff --git a/build/VStudio/winfsp.net.csproj b/build/VStudio/winfsp.net.csproj index 792a91e2..49c274c4 100644 --- a/build/VStudio/winfsp.net.csproj +++ b/build/VStudio/winfsp.net.csproj @@ -41,8 +41,8 @@ - - FileSystem+NtStatus.cs + + FileSystem+Const.cs FileSystem.cs @@ -67,6 +67,7 @@ + diff --git a/src/dotnet/FileSystem+NtStatus.cs b/src/dotnet/FileSystem+Const.cs similarity index 99% rename from src/dotnet/FileSystem+NtStatus.cs rename to src/dotnet/FileSystem+Const.cs index e17db3a5..decf5599 100644 --- a/src/dotnet/FileSystem+NtStatus.cs +++ b/src/dotnet/FileSystem+Const.cs @@ -1,5 +1,5 @@ /** - * @file dotnet/FileSystem.cs + * @file dotnet/FileSystem+Const.cs * * @copyright 2015-2017 Bill Zissimopoulos */ @@ -22,6 +22,15 @@ namespace Fsp 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_WAIT_1 = unchecked((Int32)0x00000001); public const Int32 STATUS_WAIT_2 = unchecked((Int32)0x00000002);