#include <nt.h>
#include <ntrtl.h>
#include <stdio.h>
#include <string.h>
Go to the source code of this file.
Defines | |
#define | SHIFT(c, v) {c--; v++;} |
Functions | |
VOID | Usage (VOID) |
BOOLEAN | OpenAppropriateToken (OUT PHANDLE Token) |
VOID | EnableAllPrivileges (VOID) |
VOID | ResetAllPrivileges (VOID) |
VOID | DisableAllPrivileges (VOID) |
int | PrivMain (IN int c, IN PCHAR v[]) |
Variables | |
BOOLEAN | SwitchEnable = FALSE |
BOOLEAN | SwitchDisable = FALSE |
BOOLEAN | SwitchReset = FALSE |
BOOLEAN | SwitchAll = FALSE |
|
Definition at line 53 of file uipriv.c. Referenced by GetMouseKeyState(), InitSKT1ButtonPos(), PrivMain(), and SKC1MousePosition(). |
|
Definition at line 432 of file uipriv.c. References ASSERT, NT_INFORMATION, NT_SUCCESS, NtAdjustPrivilegesToken(), NtClose(), NTSTATUS(), NULL, OpenAppropriateToken(), Status, Token, and TRUE. Referenced by NtAdjustPrivilegesToken(), PrivMain(), and SepAdjustPrivileges().
|
|
Definition at line 225 of file uipriv.c. References ASSERT, FALSE, Index, NT_INFORMATION, NT_SUCCESS, NtAdjustPrivilegesToken(), NtClose(), NtQueryInformationToken(), NTSTATUS(), NULL, OpenAppropriateToken(), RtlAllocateHeap, RtlFreeHeap, Status, and Token. Referenced by PrivMain().
|
|
Definition at line 148 of file uipriv.c. References FALSE, NT_SUCCESS, NtClose(), NtOpenProcess(), NtOpenProcessToken(), NTSTATUS(), NULL, Status, Token, and TRUE. Referenced by DisableAllPrivileges(), EnableAllPrivileges(), and ResetAllPrivileges().
|
|
Definition at line 486 of file uipriv.c. References c, CHAR, DisableAllPrivileges(), EnableAllPrivileges(), ResetAllPrivileges(), SHIFT, SwitchAll, SwitchDisable, SwitchEnable, SwitchReset, TRUE, and Usage().
|
|
Definition at line 322 of file uipriv.c. References ASSERT, FALSE, Index, NT_INFORMATION, NT_SUCCESS, NtAdjustPrivilegesToken(), NtClose(), NtQueryInformationToken(), NTSTATUS(), NULL, OpenAppropriateToken(), RtlAllocateHeap, RtlFreeHeap, Status, and Token. Referenced by PrivMain().
|
|
Definition at line 90 of file uclient.c.
|
|
Definition at line 50 of file uipriv.c. Referenced by PrivMain(). |
|
Definition at line 48 of file uipriv.c. Referenced by PrivMain(). |
|
Definition at line 47 of file uipriv.c. Referenced by PrivMain(). |
|
Definition at line 49 of file uipriv.c. Referenced by PrivMain(). |