Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Sets the control bits of a security descriptor.
Syntax
NTSTATUS NTAPI RtlSetControlSecurityDescriptor (
IN PSECURITY_DESCRIPTOR pSecurityDescriptor,
IN SECURITY_DESCRIPTOR_CONTROL ControlBitsOfInterest,
IN SECURITY_DESCRIPTOR_CONTROL ControlBitsToSet
);
Parameters
SecurityDescriptor [in]
A pointer to a SECURITY_DESCRIPTOR structure whose control and revision information are set.
ControlBitsOfInterest [in]
A SECURITY_DESCRIPTOR_CONTROL mask that indicates the control bits to set.
ControlBitsToSet [in]
A SECURITY_DESCRIPTOR_CONTROL mask that indicates the new values for the control bits specified by the ControlBitsOfInterest mask.
Return value
An NTSTATUS code. For more information, see Using NTSTATUS values.
Remarks
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.
Requirements
| Requirement | Value |
|---|---|
| DLL | ntdll.dll |