RtlValidSecurityDescriptor routine

The RtlValidSecurityDescriptor routine checks a given security descriptor's validity.

Syntax


BOOLEAN RtlValidSecurityDescriptor(
  _In_ PSECURITY_DESCRIPTOR SecurityDescriptor
);

Parameters

SecurityDescriptor [in]

Pointer to the SECURITY_DESCRIPTOR to be checked.

Return value

RtlValidSecurityDescriptor returns TRUE if the given descriptor is valid.

Remarks

The routine checks the validity of an absolute-format security descriptor. To check the validity of a self-relative security descriptor, use the RtlValidRelativeSecurityDescriptor routine instead.

Requirements

Target platform

Universal

Version

Available starting with Windows 2000.

Header

Wdm.h (include Wdm.h, Ntddk.h, or Ntifs.h)

Library

NtosKrnl.lib

DLL

NtosKrnl.exe

IRQL

PASSIVE_LEVEL

See also

RtlCreateSecurityDescriptor
RtlLengthSecurityDescriptor
RtlSetDaclSecurityDescriptor
RtlValidRelativeSecurityDescriptor
SECURITY_DESCRIPTOR

 

 

Send comments about this topic to Microsoft

Show: