Init wShowWindow in RTL_USER_PARAMETERS for Wine processes started
from the command-line.
This commit is contained in:
parent
66f839d94f
commit
63e5d5e5b9
|
@ -122,6 +122,7 @@ void thread_init(void)
|
||||||
peb.LdrData = &ldr;
|
peb.LdrData = &ldr;
|
||||||
params.CurrentDirectory.DosPath.Buffer = current_dir;
|
params.CurrentDirectory.DosPath.Buffer = current_dir;
|
||||||
params.CurrentDirectory.DosPath.MaximumLength = sizeof(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_bitmap, peb.TlsBitmapBits, sizeof(peb.TlsBitmapBits) * 8 );
|
||||||
RtlInitializeBitMap( &tls_expansion_bitmap, peb.TlsExpansionBitmapBits,
|
RtlInitializeBitMap( &tls_expansion_bitmap, peb.TlsExpansionBitmapBits,
|
||||||
sizeof(peb.TlsExpansionBitmapBits) * 8 );
|
sizeof(peb.TlsExpansionBitmapBits) * 8 );
|
||||||
|
|
Loading…
Reference in New Issue