dotnet: RejectIrpPriorToTransact0

This commit is contained in:
Bill Zissimopoulos 2020-02-07 17:07:50 -08:00
parent 24b5d48fed
commit 10f4df519c
No known key found for this signature in database
GPG Key ID: 3D4F95D52C7B3EA3
3 changed files with 7 additions and 0 deletions

View File

@ -307,6 +307,11 @@ namespace Fsp
get { return 0 != (_VolumeParams.Flags & VolumeParams.WslFeatures); }
set { _VolumeParams.Flags |= (value ? VolumeParams.WslFeatures : 0); }
}
public Boolean RejectIrpPriorToTransact0
{
get { return 0 != (_VolumeParams.Flags & VolumeParams.RejectIrpPriorToTransact0); }
set { _VolumeParams.Flags |= (value ? VolumeParams.RejectIrpPriorToTransact0 : 0); }
}
/// <summary>
/// Gets or sets the prefix for a network file system.
/// </summary>

View File

@ -54,6 +54,7 @@ namespace Fsp.Interop
internal const UInt32 AllowOpenInKernelMode = 0x01000000;
internal const UInt32 CasePreservedExtendedAttributes = 0x02000000;
internal const UInt32 WslFeatures = 0x04000000;
internal const UInt32 RejectIrpPriorToTransact0 = 0x10000000;
internal const int PrefixSize = 192;
internal const int FileSystemNameSize = 16;

View File

@ -285,6 +285,7 @@ namespace memfs
Host.PassQueryDirectoryFileName = true;
Host.ExtendedAttributes = true;
Host.WslFeatures = true;
Host.RejectIrpPriorToTransact0 = true;
return STATUS_SUCCESS;
}