SeDeassignSecurity routine

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

Syntax


NTSTATUS SeDeassignSecurity(
  _Inout_  PSECURITY_DESCRIPTOR *SecurityDescriptor
);

Parameters

SecurityDescriptor [in, out]

Pointer to the buffered SECURITY_DESCRIPTOR being released.

Return value

If the deallocation succeeds, SeDeassignSecurity returns STATUS_SUCCESS.

Requirements

Version

Available in Windows 2000 and later versions of Windows.

Header

Wdm.h (include Wdm.h, Ntddk.h, or Ntifs.h)

Library

Ntoskrnl.lib

IRQL

PASSIVE_LEVEL

DDI compliance rules

PowerIrpDDis, HwStorPortProhibitedDDIs

See also

SeAssignSecurity
SECURITY_DESCRIPTOR

 

 

Send comments about this topic to Microsoft

Show:
© 2014 Microsoft