2OO1, 28 January
NtOpenProcessToken
NtOpenProcessToken
NTSYSAPI
NTSTATUS
NTAPI
NtOpenProcessToken(
IN HANDLE ProcessHandle,
IN ACCESS_MASK DesiredAccess,
OUT PHANDLE TokenHandle );
- ProcessHandle HANDLE to Process
Object.
- DesiredAccess Access mask for opened
Token Object.
- TokenHandle Result of call -
HANDLE to Token Object associated with process specified by
ProcessHandle parameter.
See also PROCESS_INFORMATION_CLASS with
ProcessAccessToken
information class.
- Documented by:
- Tomasz Nowak
Requirements:
- Library: ntdll.lib
See also:
- NtCreateToken
-
NtOpenThreadToken
-
NtQueryInformationProcess
-
NtSetInformationProcess
- PROCESS_INFORMATION_CLASS