You don't run a software engineering project by user-based democracy.
Doing that is called Microsoft. Listening to your developers and internal vision while
ignoring users is called Apple. Which makes the more user-friendly product?
Best regards,
Alex Ionescu
-----Original Message-----
From: ros-diffs-bounces(a)reactos.org [mailto:ros-diffs-bounces@reactos.org] On Behalf Of
gedmurphy(a)svn.reactos.org
Sent: May-01-07 12:25 PM
To: ros-diffs(a)reactos.org
Subject: [ros-diffs] [gedmurphy] 26616: quick hack to make sysdm.cpl open our standalone
device manager it's a democracy :
http://www.reactos.org/forum/viewtopic.php?t=3835
Author: gedmurphy
Date: Tue May 1 20:25:26 2007
New Revision: 26616
URL:
http://svn.reactos.org/svn/reactos?rev=26616&view=rev
Log:
quick hack to make sysdm.cpl open our standalone device manager
it's a democracy :
http://www.reactos.org/forum/viewtopic.php?t=3835
Modified:
trunk/reactos/dll/cpl/sysdm/hardware.c
Modified: trunk/reactos/dll/cpl/sysdm/hardware.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/dll/cpl/sysdm/hardware.c?r…
==============================================================================
--- trunk/reactos/dll/cpl/sysdm/hardware.c (original)
+++ trunk/reactos/dll/cpl/sysdm/hardware.c Tue May 1 20:25:26 2007
@@ -14,6 +14,10 @@
BOOL LaunchDeviceManager(HWND hWndParent)
{
+/* hack for ROS to start our devmgmt until we have mmc */
+#ifdef __REACTOS__
+ return ((INT)ShellExecuteW(NULL, L"open", L"devmgmt.exe", NULL,
NULL, SW_SHOWNORMAL) > 32);
+#else
HMODULE hDll;
PDEVMGREXEC DevMgrExec;
BOOL Ret;
@@ -33,6 +37,7 @@
Ret = DevMgrExec(hWndParent, hApplet, NULL /* ??? */, SW_SHOW);
FreeLibrary(hDll);
return Ret;
+#endif /* __REACTOS__ */
}
/* Property page dialog callback */