RtlAdjustPrivilege (ntdll)
Last changed: -103.186.185.230

.
Summary
Return Type is NTSTATUS but too long type definition to wrote this page

C# Signature:

    [DllImport("ntdll.dll", SetLastError = true)]
    public static extern IntPtr RtlAdjustPrivilege(int Privilege, bool bEnablePrivilege,
    bool IsThreadPrivilege, out bool PreviousValue);

VB Signature:

Declare Function RtlAdjustPrivilege Lib "ntdll.dll" (TODO) As TODO

User-Defined Types:

None.

Alternative Managed API:

Do you know one? Please contribute it!

Notes:

SE_DEBUG_PRIVILEGE = 20

Tips & Tricks:

Please add some!

Sample Code:

Please add some!

Documentation