You've already forked wine-staging
mirror of
https://gitlab.winehq.org/wine/wine-staging.git
synced 2025-09-12 18:50:20 -07:00
Rebase against ce275f38a02dd5f809eea45ff3fa02f645b56a7c
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
From 39813f58fc654ecd12f9ce5cf0d6e356e2e81697 Mon Sep 17 00:00:00 2001
|
||||
From f79b3408935d1f4650c7369e0507c223c5f9ed33 Mon Sep 17 00:00:00 2001
|
||||
From: David Torok <dt@zeroitlab.com>
|
||||
Date: Tue, 19 Nov 2019 23:01:46 +0100
|
||||
Subject: [PATCH] ntdll: Stub NtQueryInformationThread(ThreadHideFromDebugger).
|
||||
@@ -8,13 +8,13 @@ Subject: [PATCH] ntdll: Stub NtQueryInformationThread(ThreadHideFromDebugger).
|
||||
1 file changed, 5 insertions(+)
|
||||
|
||||
diff --git a/dlls/ntdll/thread.c b/dlls/ntdll/thread.c
|
||||
index 621aaddfe..512b4814e 100644
|
||||
index b913326f796..840b8ffd0b1 100644
|
||||
--- a/dlls/ntdll/thread.c
|
||||
+++ b/dlls/ntdll/thread.c
|
||||
@@ -1115,6 +1115,11 @@ NTSTATUS WINAPI NtQueryInformationThread( HANDLE handle, THREADINFOCLASS class,
|
||||
*(BOOL*)data = FALSE;
|
||||
if (ret_len) *ret_len = sizeof(BOOL);
|
||||
return STATUS_SUCCESS;
|
||||
@@ -1460,6 +1460,11 @@ NTSTATUS WINAPI NtQueryInformationThread( HANDLE handle, THREADINFOCLASS class,
|
||||
*ret_len = sizeof(*info) + desc_len;
|
||||
}
|
||||
return status;
|
||||
+ case ThreadHideFromDebugger:
|
||||
+ if (length != sizeof(char)) return STATUS_INFO_LENGTH_MISMATCH;
|
||||
+ *(BOOLEAN *)data = TRUE;
|
||||
@@ -24,5 +24,5 @@ index 621aaddfe..512b4814e 100644
|
||||
case ThreadBasePriority:
|
||||
case ThreadImpersonationToken:
|
||||
--
|
||||
2.23.0
|
||||
2.24.0
|
||||
|
||||
|
Reference in New Issue
Block a user