diff options
Diffstat (limited to 'winsup/cygwin/ntdll.h')
-rw-r--r-- | winsup/cygwin/ntdll.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/winsup/cygwin/ntdll.h b/winsup/cygwin/ntdll.h index 93f786b..0eeeb54 100644 --- a/winsup/cygwin/ntdll.h +++ b/winsup/cygwin/ntdll.h @@ -859,6 +859,10 @@ typedef enum _EVENT_INFORMATION_CLASS /* Function declarations for ntdll.dll. These don't appear in any standard Win32 header. */ + +#define NtCurrentProcess() ((HANDLE) 0xffffffff) +#define NtCurrentThread() ((HANDLE) 0xfffffffe) + extern "C" { NTSTATUS NTAPI NtAdjustPrivilegesToken (HANDLE, BOOLEAN, PTOKEN_PRIVILEGES, |