#ifndef _NTRTL_H
NTSYSAPI
NTSTATUS
NTAPI
RtlSetControlSecurityDescriptor(
_Inout_ PSECURITY_DESCRIPTOR SecurityDescriptor,
_In_ SECURITY_DESCRIPTOR_CONTROL ControlBitsOfInterest,
_In_ SECURITY_DESCRIPTOR_CONTROL ControlBitsToSet
);
View code on GitHubNTSTATUS NTAPI RtlSetControlSecurityDescriptor (
IN PSECURITY_DESCRIPTOR pSecurityDescriptor,
IN SECURITY_DESCRIPTOR_CONTROL ControlBitsOfInterest,
IN SECURITY_DESCRIPTOR_CONTROL ControlBitsToSet
);
View the official Win32 development documentationNo description available.
Sets the control bits of a security descriptor.
A pointer to a SECURITY_DESCRIPTOR structure whose control and revision information are set.
A SECURITY_DESCRIPTOR_CONTROL mask that indicates the control bits to set.
A SECURITY_DESCRIPTOR_CONTROL mask that indicates the new values for the control bits specified by the ControlBitsOfInterest mask.
An NTSTATUS code. For more information, see Using NTSTATUS values.
This function has no associated import library or header file; you must call it using the LoadLibrary and GetProcAddress functions. The API is exported from ntdll.dll.
| Requirement | Value |
|---|---|
| DLL | ntdll.dll |