From b617701d440a9b5210762503cf441e9fcb3132e1 Mon Sep 17 00:00:00 2001 From: Sebastian Lackner Date: Fri, 13 Jan 2017 01:59:13 +0100 Subject: kernel32: Always start debugger on WinSta0. --- dlls/kernelbase/debug.c | 1 + 1 file changed, 1 insertion(+) 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) ); startup.cb = sizeof(startup); + startup.lpDesktop = (WCHAR*)L"WinSta0"; startup.dwFlags = STARTF_USESHOWWINDOW; startup.wShowWindow = SW_SHOWNORMAL; ret = CreateProcessW( NULL, cmdline, NULL, NULL, TRUE, 0, env, NULL, &startup, &info ); -- 2.23.0