SaferComputeTokenFromLevel (advapi32)
Last changed: anonymous

.
Summary
The SaferComputeTokenFromLevel function restricts a token using restrictions specified by a SAFER_LEVEL_HANDLE.

C# Signature:

[DllImport("advapi32", SetLastError = true, CallingConvention = CallingConvention.StdCall)]
public static extern bool SaferComputeTokenFromLevel(IntPtr LevelHandle, IntPtr InAccessToken, out IntPtr OutAccessToken, int dwFlags, IntPtr lpReserved);

VB Signature:

Declare Function SaferComputeTokenFromLevel Lib "advapi32.dll" (TODO) As TODO

User-Defined Types:

None.

Alternative Managed API:

Do you know one? Please contribute it!

Notes:

Create a LevelHandle using SaferCreateLevel.

Tips & Tricks:

Please add some!

Sample Code:

Please add some!

Documentation