RtlLengthSecurityDescriptor

ULONG
    RtlLengthSecurityDescriptor(

        IN PSECURITY_DESCRIPTOR  SecurityDescriptor
        );

RtlLLengthSecurityDescriptor returns the size of a given security descriptor.

Parameters

SecurityDescriptor
Points to a security descriptor.

Return Value

RtlLengthSecurityDescriptor returns the size in bytes of the descriptor.

Comments

Callers of RtlLengthSecurityDescriptor must be running at IRQL PASSIVE_LEVEL.

See Also

RtlCreateSecurityDescriptor, RtlSetDaclSecurityDescriptor, RtlValidSecurityDescriptor