shell32: Use SW_HIDE with ShellExecuteA in tests.
Vincent Povirk
madewokherd at gmail.com
Wed May 7 14:06:16 CDT 2014
This seems to get rid of the remaining console windows, though I'm
still not clear on why we hate them so much.
-------------- next part --------------
From eaf89c194914a5615e737dda51387011f0d8f487 Mon Sep 17 00:00:00 2001
From: Vincent Povirk <vincent at codeweavers.com>
Date: Wed, 7 May 2014 13:55:01 -0500
Subject: [PATCH] shell32: Use SW_HIDE with ShellExecuteA in tests.
---
dlls/shell32/tests/shlexec.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/dlls/shell32/tests/shlexec.c b/dlls/shell32/tests/shlexec.c
index e3169c8..7f07c70 100644
--- a/dlls/shell32/tests/shlexec.c
+++ b/dlls/shell32/tests/shlexec.c
@@ -118,7 +118,7 @@ static INT_PTR shell_execute(LPCSTR verb, LPCSTR file, LPCSTR parameters, LPCSTR
* association it displays the 'Open With' dialog and I could not find
* a flag to prevent this.
*/
- rc=(INT_PTR)ShellExecuteA(NULL, verb, file, parameters, directory, SW_SHOWNORMAL);
+ rc=(INT_PTR)ShellExecuteA(NULL, verb, file, parameters, directory, SW_HIDE);
if (rc > 32)
{
--
1.8.3.2
More information about the wine-patches
mailing list