Bewerken

Delen via


RtlLengthSecurityDescriptor function (wdm.h)

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

Syntax

NTSYSAPI ULONG RtlLengthSecurityDescriptor(
  [in] PSECURITY_DESCRIPTOR SecurityDescriptor
);

Parameters

[in] SecurityDescriptor

Pointer to a SECURITY_DESCRIPTOR.

Return value

RtlLengthSecurityDescriptor returns the size in bytes of the descriptor.

Requirements

Requirement Value
Minimum supported client 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