SeFreePrivileges function (ntifs.h)

The SeFreePrivileges routine frees a privilege set returned by SeAccessCheck.

Syntax

void SeFreePrivileges(
  [in] PPRIVILEGE_SET Privileges
);

Parameters

[in] Privileges

Pointer to the privilege set to be freed.

Return value

None

Remarks

For more information about security and access control, see Windows security model for driver developers and the documentation on these topics in the Windows SDK.

Requirements

Requirement Value
Target Platform Universal
Header ntifs.h (include Ntifs.h)
Library NtosKrnl.lib
DLL NtosKrnl.exe
IRQL PASSIVE_LEVEL

See also

PRIVILEGE_SET

SeAccessCheck

SeAppendPrivileges

SePrivilegeCheck