2024-10-04 18:27:49 -07:00
|
|
|
From 4dfa7d8a06e20d9888398298e03c20fac89a9fdf Mon Sep 17 00:00:00 2001
|
2017-01-12 17:00:22 -08:00
|
|
|
From: Sebastian Lackner <sebastian@fds-team.de>
|
|
|
|
Date: Fri, 13 Jan 2017 01:59:13 +0100
|
2024-10-04 18:27:49 -07:00
|
|
|
Subject: [PATCH] kernel32: Always start debugger on WinSta0.
|
2017-01-12 17:00:22 -08:00
|
|
|
|
|
|
|
---
|
2019-09-09 16:52:44 -07:00
|
|
|
dlls/kernelbase/debug.c | 1 +
|
2017-01-12 17:00:22 -08:00
|
|
|
1 file changed, 1 insertion(+)
|
|
|
|
|
2019-09-09 16:52:44 -07:00
|
|
|
diff --git a/dlls/kernelbase/debug.c b/dlls/kernelbase/debug.c
|
2024-10-04 18:27:49 -07:00
|
|
|
index cbefc0c8733..b37faaa0003 100644
|
2019-09-09 16:52:44 -07:00
|
|
|
--- a/dlls/kernelbase/debug.c
|
|
|
|
+++ b/dlls/kernelbase/debug.c
|
2024-10-04 18:27:49 -07:00
|
|
|
@@ -625,6 +625,7 @@ static BOOL start_debugger( EXCEPTION_POINTERS *epointers, HANDLE event )
|
2019-09-09 16:52:44 -07:00
|
|
|
TRACE( "Starting debugger %s\n", debugstr_w(cmdline) );
|
|
|
|
memset( &startup, 0, sizeof(startup) );
|
2017-01-12 17:00:22 -08:00
|
|
|
startup.cb = sizeof(startup);
|
2021-06-07 16:15:19 -07:00
|
|
|
+ startup.lpDesktop = (WCHAR*)L"WinSta0";
|
2017-01-12 17:00:22 -08:00
|
|
|
startup.dwFlags = STARTF_USESHOWWINDOW;
|
|
|
|
startup.wShowWindow = SW_SHOWNORMAL;
|
2024-10-04 18:27:49 -07:00
|
|
|
ret = CreateProcessW( NULL, cmdline, NULL, NULL, TRUE, CREATE_UNICODE_ENVIRONMENT, env, NULL, &startup, &info );
|
2017-01-12 17:00:22 -08:00
|
|
|
--
|
2024-10-04 18:27:49 -07:00
|
|
|
2.45.2
|
2017-01-12 17:00:22 -08:00
|
|
|
|