=?UTF-8?Q?Michael=20M=C3=BCller=20?=: include: Add definitions for Win8 pseudo handles.

Alexandre Julliard julliard at wine.codeweavers.com
Tue Apr 12 06:45:24 CDT 2016


Module: wine
Branch: stable
Commit: c25f74019ae5b6a341fa11b9e7cad2e118f9d485
URL:    http://source.winehq.org/git/wine.git/?a=commit;h=c25f74019ae5b6a341fa11b9e7cad2e118f9d485

Author: Michael Müller <michael at fds-team.de>
Date:   Wed Feb 10 22:22:30 2016 +0100

include: Add definitions for Win8 pseudo handles.

Signed-off-by: Michael Müller <michael at fds-team.de>
Signed-off-by: Sebastian Lackner <sebastian at fds-team.de>
Signed-off-by: Alexandre Julliard <julliard at winehq.org>
(cherry picked from commit e7bbca8fcc5f460c5b7dc43cfaca661bc802f413)
Signed-off-by: Michael Stefaniuc <mstefani at winehq.org>

---

 include/winbase.h | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/include/winbase.h b/include/winbase.h
index 7216086..09b11e9 100644
--- a/include/winbase.h
+++ b/include/winbase.h
@@ -2972,6 +2972,10 @@ WINBASEAPI VOID        WINAPI SetLastError(DWORD);
 #define GetCurrentThread()  ((HANDLE)~(ULONG_PTR)1)
 #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. */
 /* If this is not declared, we cannot compile many sources written with C++. */
 int WINAPI WinMain(HINSTANCE,HINSTANCE,LPSTR,int);




More information about the wine-cvs mailing list