ULONG
RtlLengthSecurityDescriptor(
IN PSECURITY_DESCRIPTOR SecurityDescriptor
);
RtlLLengthSecurityDescriptor returns the size of a given security descriptor.
RtlLengthSecurityDescriptor returns the size in bytes of the descriptor.
Callers of RtlLengthSecurityDescriptor must be running at IRQL PASSIVE_LEVEL.
RtlCreateSecurityDescriptor, RtlSetDaclSecurityDescriptor, RtlValidSecurityDescriptor