mirror of
https://github.com/mirror/processhacker
synced 2026-06-08 16:03:24 +00:00
4335b8f3ca
* created provider threads * added Windows version detection * fixed hashtable bugs * added callback object git-svn-id: svn://svn.code.sf.net/p/processhacker/code@2523 21ef857c-d57f-4fe0-8362-d861dc6d29cd
28 lines
764 B
C
28 lines
764 B
C
#ifndef NTSEAPI_H
|
|
#define NTSEAPI_H
|
|
|
|
// System calls
|
|
|
|
typedef NTSTATUS (NTAPI *_NtOpenProcessToken)(
|
|
__in HANDLE ProcessHandle,
|
|
__in ACCESS_MASK DesiredAccess,
|
|
__out PHANDLE TokenHandle
|
|
);
|
|
|
|
typedef NTSTATUS (NTAPI *_NtQueryInformationToken)(
|
|
__in HANDLE TokenHandle,
|
|
__in TOKEN_INFORMATION_CLASS TokenInformationClass,
|
|
__out_bcount(TokenInformationLength) PVOID TokenInformation,
|
|
__in ULONG TokenInformationLength,
|
|
__out PULONG ReturnLength
|
|
);
|
|
|
|
typedef NTSTATUS (NTAPI *_NtSetInformationToken)(
|
|
__in HANDLE TokenHandle,
|
|
__in TOKEN_INFORMATION_CLASS TokenInformationClass,
|
|
__in_bcount(TokenInformationLength) PVOID TokenInformation,
|
|
__in ULONG TokenInformationLength
|
|
);
|
|
|
|
#endif
|