Author: gedmurphy
Date: Wed Sep 23 20:30:32 2015
New Revision: 69334
URL:
http://svn.reactos.org/svn/reactos?rev=69334&view=rev
Log:
[DEVMGMT]
- Fix devmgmt.exe to correctly build and link against devmgr.dll
- This is a temp exe that just calls DeviceManager_ExecuteW. This will later be replaced
by mmc.exe and devmgmt.msc
Modified:
trunk/reactos/base/applications/mscutils/devmgmt_new/CMakeLists.txt
trunk/reactos/base/applications/mscutils/devmgmt_new/devmgmt.cpp
trunk/reactos/base/applications/mscutils/devmgmt_new/devmgmt.rc
Modified: trunk/reactos/base/applications/mscutils/devmgmt_new/CMakeLists.txt
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/base/applications/mscutils…
==============================================================================
--- trunk/reactos/base/applications/mscutils/devmgmt_new/CMakeLists.txt [iso-8859-1]
(original)
+++ trunk/reactos/base/applications/mscutils/devmgmt_new/CMakeLists.txt [iso-8859-1] Wed
Sep 23 20:30:32 2015
@@ -1,3 +1,7 @@
+
+set_cpp(WITH_RTTI WITH_RUNTIME)
+
+include_directories(${REACTOS_SOURCE_DIR}/include/reactos/dll)
list(APPEND SOURCE
devmgmt.cpp)
Modified: trunk/reactos/base/applications/mscutils/devmgmt_new/devmgmt.cpp
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/base/applications/mscutils…
==============================================================================
--- trunk/reactos/base/applications/mscutils/devmgmt_new/devmgmt.cpp [iso-8859-1]
(original)
+++ trunk/reactos/base/applications/mscutils/devmgmt_new/devmgmt.cpp [iso-8859-1] Wed Sep
23 20:30:32 2015
@@ -1,7 +1,7 @@
#define WIN32_LEAN_AND_MEAN
#include <windows.h>
#include <cfgmgr32.h>
-#include <dll\devmgr\devmgr.h>
+#include <devmgr\devmgr.h>
int WINAPI
wWinMain(HINSTANCE hThisInstance,
@@ -16,6 +16,5 @@
{
return GetLastError();
}
-
return 0;
}
Modified: trunk/reactos/base/applications/mscutils/devmgmt_new/devmgmt.rc
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/base/applications/mscutils…
==============================================================================
Binary files - no diff available.