Commit e7bbca8f authored by Michael Müller's avatar Michael Müller Committed by Alexandre Julliard

include: Add definitions for Win8 pseudo handles.

parent 4155c22e
...@@ -2973,6 +2973,10 @@ WINBASEAPI VOID WINAPI SetLastError(DWORD); ...@@ -2973,6 +2973,10 @@ WINBASEAPI VOID WINAPI SetLastError(DWORD);
#define GetCurrentThread() ((HANDLE)~(ULONG_PTR)1) #define GetCurrentThread() ((HANDLE)~(ULONG_PTR)1)
#endif #endif
#define GetCurrentProcessToken() ((HANDLE)~(ULONG_PTR)3)
#define GetCurrentThreadToken() ((HANDLE)~(ULONG_PTR)4)
#define GetCurrentThreadEffectiveToken() ((HANDLE)~(ULONG_PTR)5)
/* WinMain(entry point) must be declared in winbase.h. */ /* WinMain(entry point) must be declared in winbase.h. */
/* If this is not declared, we cannot compile many sources written with C++. */ /* If this is not declared, we cannot compile many sources written with C++. */
int WINAPI WinMain(HINSTANCE,HINSTANCE,LPSTR,int); int WINAPI WinMain(HINSTANCE,HINSTANCE,LPSTR,int);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment