dotnet: FileSystemHost.DeviceControl flag

This commit is contained in:
Bill Zissimopoulos 2018-08-29 17:21:24 -07:00
parent 4756ee2d8a
commit 4725ff41d3
2 changed files with 6 additions and 0 deletions

View File

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

View File

@ -48,6 +48,7 @@ namespace Fsp.Interop
internal const UInt32 AlwaysUseDoubleBuffering = 0x00001000;
internal const UInt32 PassQueryDirectoryFileName = 0x00002000;
internal const UInt32 FlushAndPurgeOnCleanup = 0x00004000;
internal const UInt32 DeviceControl = 0x00008000;
internal const UInt32 UmFileContextIsUserContext2 = 0x00010000;
internal const UInt32 UmFileContextIsFullContext = 0x00020000;
internal const int PrefixSize = 192;