Interop.Windows.NtDll.ObjectAttributes
struct ObjectAttributes
OBJECT_ATTRIBUTES structure.
The OBJECT_ATTRIBUTES structure specifies attributes that can be applied to objects or object handles by routines
that create objects and/or return handles to objects.
Name of the object. Must be fully qualified if RootDirectory isn't set.
Otherwise, is relative to RootDirectory.
Optional handle to root object directory for the given ObjectName.
Can be a file system directory or object manager directory.
If null, object will receive default security settings.
Optional quality of service to be applied to the object. Used to indicate
security impersonation level and context tracking mode (dynamic or static).
public ObjectAttributes(UnicodeString* objectName, ObjectAttributeFlags attributes, IntPtr rootDirectory, SecurityQualityOfService* securityQos)
Equivalent of InitializeObjectAttributes macro with the exception that you can directly set SQOS.