RtlLengthSecurityDescriptor function

The RtlLengthSecurityDescriptor routine returns the size of a given security descriptor.

Syntax

NTSYSAPI ULONG RtlLengthSecurityDescriptor(
  PSECURITY_DESCRIPTOR SecurityDescriptor
);

Parameters

SecurityDescriptor

Pointer to a SECURITY_DESCRIPTOR.

Return Value

RtlLengthSecurityDescriptor returns the size in bytes of the descriptor.

Requirements

   
Windows version Available in Windows 2000 and later versions of Windows.
Target Platform Universal
Header wdm.h (include Wdm.h, Ntddk.h, Ntifs.h)
Library NtosKrnl.lib
DLL NtosKrnl.exe
IRQL PASSIVE_LEVEL

See Also

RtlCreateSecurityDescriptor

RtlSetDaclSecurityDescriptor

RtlValidSecurityDescriptor

SECURITY_DESCRIPTOR