wine/dlls/ntdll thread.c

Alexandre Julliard julliard at wine.codeweavers.com
Mon Nov 14 05:21:13 CST 2005


ChangeSet ID:	21241
CVSROOT:	/opt/cvs-commit
Module name:	wine
Changes by:	julliard at winehq.org	2005/11/14 05:21:13

Modified files:
	dlls/ntdll     : thread.c 

Log message:
	Eric Pouech <eric.pouech at wanadoo.fr>
	Init wShowWindow in RTL_USER_PARAMETERS for Wine processes started
	from the command-line.

Patch: http://cvs.winehq.org/patch.py?id=21241

Old revision  New revision  Changes     Path
 1.45          1.46          +1 -0       wine/dlls/ntdll/thread.c

Index: wine/dlls/ntdll/thread.c
diff -u -p wine/dlls/ntdll/thread.c:1.45 wine/dlls/ntdll/thread.c:1.46
--- wine/dlls/ntdll/thread.c:1.45	14 Nov 2005 11:21:13 -0000
+++ wine/dlls/ntdll/thread.c	14 Nov 2005 11:21:13 -0000
@@ -122,6 +122,7 @@ void thread_init(void)
     peb.LdrData            = &ldr;
     params.CurrentDirectory.DosPath.Buffer = current_dir;
     params.CurrentDirectory.DosPath.MaximumLength = sizeof(current_dir);
+    params.wShowWindow = 1; /* SW_SHOWNORMAL */
     RtlInitializeBitMap( &tls_bitmap, peb.TlsBitmapBits, sizeof(peb.TlsBitmapBits) * 8 );
     RtlInitializeBitMap( &tls_expansion_bitmap, peb.TlsExpansionBitmapBits,
                          sizeof(peb.TlsExpansionBitmapBits) * 8 );



More information about the wine-cvs mailing list