RtlValidSecurityDescriptor

BOOLEAN
RtlValidSecurityDescriptor(

IN PSECURITY_DESCRIPTOR SecurityDescriptor
);

RtlValidSecurityDescriptor checks a given security descriptor’s validity.

Parameters

SecurityDescriptor

Points to the security descriptor to be checked.

Return Value

RtlValidSecurityDescriptor returns TRUE if the given descriptor is valid.

Comments

Callers of RtlValidSecurityDescriptor must be running at IRQL PASSIVE_LEVEL.

See Also

RtlCreateSecurityDescriptor, RtlLengthSecurityDescriptor, RtlSetDaclSecurityDescriptor