The RtlCreateSecurityDescriptor routine initializes a new absolute-format security descriptor. On return, the security descriptor is initialized with no system ACL, no discretionary ACL, no owner, no primary group, and all control flags set to zero.
NTSTATUS
RtlCreateSecurityDescriptor(
IN OUT PSECURITY_DESCRIPTOR SecurityDescriptor,
IN ULONG Revision
);
RtlCreateSecurityDescriptor can return one of the following.
Declared in ntddk.h. Include ntddk.h.
In effect, a successful call to this routine initializes a security descriptor without security constraints.
Callers of RtlCreateSecurityDescriptor must be running at IRQL = PASSIVE_LEVEL.
RtlLengthSecurityDescriptor, RtlSetDaclSecurityDescriptor, RtlValidSecurityDescriptor, SECURITY_DESCRIPTOR