include: Add definitions for Win8 pseudo handles.
Signed-off-by: Michael Müller <michael@fds-team.de> Signed-off-by: Sebastian Lackner <sebastian@fds-team.de> Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
parent
4155c22e25
commit
e7bbca8fcc
|
@ -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);
|
||||||
|
|
Loading…
Reference in New Issue