Reference

NtSetSecurityObject(3w)

NAME

NtSetSecurityObject (NTDLL.@)

SYNOPSIS

NTSTATUS NtSetSecurityObject
(
HANDLE Handle,
SECURITY_INFORMATION SecurityInformation,
PSECURITY_DESCRIPTOR SecurityDescriptor
)

DESCRIPTION

Sets specified parts of the object's security descriptor.

PARAMS

Handle [In] Handle to the object to change security descriptor of.

SecurityInformation [In] Specifies which parts of the security descriptor to set.

SecurityDescriptor [In] New parts of a security descriptor for the object.

RETURNS

NTSTATUS code.

IMPLEMENTATION

Declared in "winternl.h".

Implemented in "dlls/ntdll/sec.c".

Debug channel "ntdll".

History