KernelFileOptions Enum

Definition

This enumeration supports a bitwise combination of its member values.

[System.Flags]
public enum KernelFileOptions
type KernelFileOptions = 
Public Enum KernelFileOptions
Inheritance
KernelFileOptions
Attributes

Fields

Name Value Description
None 0
DirectoryFile 1
WriteThrough 2
SequentialOnly 4
NoIntermediateBuffering 8
SynchronousIOAlert 16
SynchronousIONonAlert 32
NonDirectoryFile 64
CreateTreeConnection 128
CompleteIfOplocked 256
NoExtendedAttributeKnowledge 512
OpenRemoteInstance 1024
RandomAccess 2048
DeleteOnClose 4096
OpenByFileId 8192
OpenForBackupIntent 16384
NoCompression 32768
OpenRequiringOplock 65536
DisallowExclusive 131072
SessionAware 262144
ReserveFilterOplock 1048576
OpenReparsePoint 2097152
OpenNoRecall 4194304
OpenForFreeSpaceQuery 8388608

Remarks

See the documentation on NtCreateFile's CreateOptions parameter for information on most of these values.

Applies to