You've already forked wine-staging
mirror of
https://gitlab.winehq.org/wine/wine-staging.git
synced 2025-04-13 14:42:51 -07:00
Added patch to improve WTSQueryUserToken stub.
This commit is contained in:
@@ -0,0 +1,26 @@
|
||||
From 83df2a25df1f0a9e057fbac19c2c1601373b9c38 Mon Sep 17 00:00:00 2001
|
||||
From: Sebastian Lackner <sebastian@fds-team.de>
|
||||
Date: Thu, 11 Feb 2016 19:07:36 +0100
|
||||
Subject: wtsapi32: Improve WTSQueryUserToken stub.
|
||||
|
||||
---
|
||||
dlls/wtsapi32/wtsapi32.c | 3 ++-
|
||||
1 file changed, 2 insertions(+), 1 deletion(-)
|
||||
|
||||
diff --git a/dlls/wtsapi32/wtsapi32.c b/dlls/wtsapi32/wtsapi32.c
|
||||
index c668604..e1a9cd2 100644
|
||||
--- a/dlls/wtsapi32/wtsapi32.c
|
||||
+++ b/dlls/wtsapi32/wtsapi32.c
|
||||
@@ -243,7 +243,8 @@ BOOL WINAPI WTSQuerySessionInformationW(
|
||||
BOOL WINAPI WTSQueryUserToken(ULONG session_id, PHANDLE token)
|
||||
{
|
||||
FIXME("%u %p\n", session_id, token);
|
||||
- return FALSE;
|
||||
+ if (token) *token = GetCurrentProcessToken();
|
||||
+ return token != NULL;
|
||||
}
|
||||
|
||||
/************************************************************
|
||||
--
|
||||
2.7.1
|
||||
|
1
patches/wtsapi32-WTSQueryUserToken/definition
Normal file
1
patches/wtsapi32-WTSQueryUserToken/definition
Normal file
@@ -0,0 +1 @@
|
||||
Fixes: [39663] Improve WTSQueryUserToken stub to make GOG Galaxy happy
|
Reference in New Issue
Block a user