NTSTATUS
RtlSetDaclSecurityDescriptor(
IN OUT PSECURITY_DESCRIPTOR SecurityDescriptor,
IN BOOLEAN DaclPresent,
IN PACL Dacl, /* optional */
IN BOOLEAN DaclDefaulted /* optional */
);
RtlSetDaclSecurityDescriptor sets the DACL information of an absolute-format security descriptor. If there is already a DACL present in the security descriptor, it is superseded.
RtlSetDaclSecurityDescriptor can return one of the following status codes:
Value |
Meaning |
STATUS_SUCCESS |
Indicates the call completed successfully. |
STATUS_UNKNOWN_REVISION |
Indicates the revision of the security descriptor is unknown. |
STATUS_INVALID_SECURITY_DESCR |
Indicates the security descriptor is not an absolute format security descriptor. |
Callers of RtlSetDaclSecurityDescriptor must be running at IRQL PASSIVE_LEVEL.
RtlCreateSecurityDescriptor, RtlLengthSecurityDescriptor, RtlValidSecurityDescriptor