[PATCH] [shell32] Implement SHRunControlPanel using ShellExecute (try 2)

Robert Naumann gonzomdx at gmail.com
Thu Feb 26 09:49:13 CST 2015


---
 dlls/shell32/shellord.c | 7 +++++--
 1 file changed, 5 insertions(+), 2 deletions(-)

diff --git a/dlls/shell32/shellord.c b/dlls/shell32/shellord.c
index 914dc5a..05d7a57 100644
--- a/dlls/shell32/shellord.c
+++ b/dlls/shell32/shellord.c
@@ -1129,8 +1129,11 @@ HRESULT WINAPI SHWinHelp (DWORD v, DWORD w, DWORD x, DWORD z)
  */
 BOOL WINAPI SHRunControlPanel (LPCWSTR commandLine, HWND parent)
 {
-	FIXME("(%s, %p): stub\n", debugstr_w(commandLine), parent);
-	return FALSE;
+    TRACE("%s, %p\n", debugstr_w(commandLine), parent);
+    if((int)ShellExecute(parent,NULL,commandLine,NULL,NULL,SW_NORMAL)>32)
+        return TRUE;
+    else
+        return FALSE;
 }
 
 static LPUNKNOWN SHELL32_IExplorerInterface=0;
-- 
1.9.5.msysgit.0





More information about the wine-patches mailing list