BOOLEAN
RtlValidSecurityDescriptor(
IN PSECURITY_DESCRIPTOR SecurityDescriptor
);
RtlValidSecurityDescriptor checks a given security descriptor’s validity.
RtlValidSecurityDescriptor returns TRUE if the given descriptor is valid.
Callers of RtlValidSecurityDescriptor must be running at IRQL PASSIVE_LEVEL.
RtlCreateSecurityDescriptor, RtlLengthSecurityDescriptor, RtlSetDaclSecurityDescriptor