19 LPCTSTR *unneededPrivs,
size_t count);
static BOOL DisableUnneededPrivileges(HANDLE token, LPCTSTR *unneededPrivs, size_t count)
static LPCTSTR PrivsToDisable[]
static HANDLE OpenLinkedToken(HANDLE token)
static bool CanUserElevate()
static HANDLE OpenUserToken(DWORD sessionID)
static BOOL SetPrivilege(HANDLE token, LPCTSTR privs, BOOL enable)
static BOOL DisablePrivileges(HANDLE token)
const wchar_t *typedef BOOL