2019-09-09 16:52:44 -07:00
|
|
|
From b617701d440a9b5210762503cf441e9fcb3132e1 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
|
|
|
|
Subject: kernel32: Always start debugger on WinSta0.
|
|
|
|
|
|
|
|
---
|
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
|
|
|
|
index 016c21109..0681f726b 100644
|
|
|
|
--- a/dlls/kernelbase/debug.c
|
|
|
|
+++ b/dlls/kernelbase/debug.c
|
|
|
|
@@ -640,6 +640,7 @@ static BOOL start_debugger( EXCEPTION_POINTERS *epointers, HANDLE event )
|
|
|
|
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;
|
2019-09-09 16:52:44 -07:00
|
|
|
ret = CreateProcessW( NULL, cmdline, NULL, NULL, TRUE, 0, env, NULL, &startup, &info );
|
2017-01-12 17:00:22 -08:00
|
|
|
--
|
2019-09-09 16:52:44 -07:00
|
|
|
2.23.0
|
2017-01-12 17:00:22 -08:00
|
|
|
|