SeDeassignSecurity function (wdm.h)

The
SeDeassignSecurity routine deallocates the memory associated with a security descriptor that was assigned using SeAssignSecurity.

Syntax

NTSTATUS SeDeassignSecurity(
  [in, out] PSECURITY_DESCRIPTOR *SecurityDescriptor
);

Parameters

[in, out] SecurityDescriptor

Pointer to the buffered SECURITY_DESCRIPTOR being released.

Return value

If the deallocation succeeds, SeDeassignSecurity returns STATUS_SUCCESS.

Requirements

Requirement Value
Minimum supported client Available in Windows 2000 and later versions of Windows.
Target Platform Universal
Header wdm.h (include Wdm.h, Ntddk.h, Ntifs.h)
Library NtosKrnl.lib
DLL NtosKrnl.exe
IRQL PASSIVE_LEVEL
DDI compliance rules HwStorPortProhibitedDDIs(storport), PowerIrpDDis(wdm)

See also

SECURITY_DESCRIPTOR

SeAssignSecurity