Home | Info | Community | Development | myReactOS | Contact Us
Definition at line 85 of file obsecure.c.
Referenced by SeDefaultObjectMethod().
{ POBJECT_HEADER ObjectHeader; NTSTATUS Status; PSECURITY_DESCRIPTOR ObjectSd; PAGED_CODE(); /* Get the object header */ ObjectHeader = OBJECT_TO_OBJECT_HEADER(Object); /* Get the SD */ ObjectSd = ObpReferenceSecurityDescriptor(ObjectHeader); /* Query the information */ Status = SeQuerySecurityDescriptorInfo(SecurityInformation, SecurityDescriptor, Length, &ObjectSd); /* Check if we have an object SD and dereference it, if so */ if (ObjectSd) ObDereferenceSecurityDescriptor(ObjectSd, 1); /* Return status */ return Status; }