dotnet: implement new Delete design and POSIX semantics

This commit is contained in:
Bill Zissimopoulos
2021-10-20 12:23:14 +01:00
parent 81248f3899
commit 76bfa395a8
6 changed files with 187 additions and 54 deletions

View File

@ -57,6 +57,14 @@ namespace Fsp
public const UInt32 CleanupSetLastWriteTime = 0x40;
public const UInt32 CleanupSetChangeTime = 0x80;
/* Disposition */
public const UInt32 FILE_DISPOSITION_DO_NOT_DELETE = 0x00000000;
public const UInt32 FILE_DISPOSITION_DELETE = 0x00000001;
public const UInt32 FILE_DISPOSITION_POSIX_SEMANTICS = 0x00000002;
public const UInt32 FILE_DISPOSITION_FORCE_IMAGE_SECTION_CHECK = 0x00000004;
public const UInt32 FILE_DISPOSITION_ON_CLOSE = 0x00000008;
public const UInt32 FILE_DISPOSITION_IGNORE_READONLY_ATTRIBUTE = 0x00000010;
/* NTSTATUS */
public const Int32 STATUS_SUCCESS = unchecked((Int32)0x00000000);
public const Int32 STATUS_WAIT_1 = unchecked((Int32)0x00000001);