public OBJECT_ATTRIBUTES(UNICODE_STRING *name, ObjectAttributesFlags flags, IntPtr hRootDirectory) { Length = sizeof(OBJECT_ATTRIBUTES); Attributes = flags; ObjectName = name; SecurityDescriptor = SecurityQualityOfService = IntPtr.Zero; RootDirectory = hRootDirectory; }
public OBJECT_ATTRIBUTES(UNICODE_STRING *name, ObjectAttributesFlags flags = ObjectAttributesFlags.None) : this(name, flags, IntPtr.Zero) { }
IntPtr SecurityQualityOfService; // Points to type SECURITY_QUALITY_OF_SERVICE public void Init(void *str, ObjectAttributesFlags flags) { Length = sizeof(ObjectAttributes); ObjectName = str; Attributes = flags; }