RtlValidSecurityDescriptor function (wdm.h)
The RtlValidSecurityDescriptor routine checks a given security descriptor's validity.
Syntax
NTSYSAPI BOOLEAN RtlValidSecurityDescriptor(
[in] PSECURITY_DESCRIPTOR SecurityDescriptor
);
Parameters
[in] SecurityDescriptor
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
Requirement | Value |
---|---|
Minimum supported client | Available starting with Windows 2000. |
Target Platform | Universal |
Header | wdm.h (include Wdm.h, Ntddk.h, Ntifs.h) |
Library | NtosKrnl.lib |
DLL | NtosKrnl.exe |
IRQL | PASSIVE_LEVEL |
See also
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for