fix compile with msvc
authorChristoph von Wittich <christoph_vw@reactos.org>
Wed, 19 Oct 2005 21:08:53 +0000 (21:08 +0000)
committerChristoph von Wittich <christoph_vw@reactos.org>
Wed, 19 Oct 2005 21:08:53 +0000 (21:08 +0000)
svn path=/trunk/; revision=18605

reactos/subsys/system/devmgr/devmgr.c
reactos/subsys/system/devmgr/devmgr.xml

index 9de95cd..0b2bf6e 100644 (file)
@@ -12,7 +12,9 @@
 #include <commctrl.h>
 #include <windows.h>
 #include <commctrl.h>
 #include <commctrl.h>
 #include <windows.h>
 #include <commctrl.h>
-
+#if defined (__GNUC__)
+#include <winioctl.h>
+#endif
 
 /* FIXME: should be in cfgmgr32.h */
 typedef DWORD               CONFIGRET;
 
 /* FIXME: should be in cfgmgr32.h */
 typedef DWORD               CONFIGRET;
@@ -342,9 +344,6 @@ int ListByInterface(const GUID* guid)
        return 0;
 }
 
        return 0;
 }
 
-DEFINE_GUID(GUID_DEVINTERFACE_SERENUM_BUS_ENUMERATOR,
-  0x4D36E978L, 0xE325, 0x11CE, 0xBF, 0xC1, 0x08, 0x00, 0x2B, 0xE1, 0x03, 0x18);
-
 /*int main(void)
 {
        ListByClass();
 /*int main(void)
 {
        ListByClass();
index 56146ce..e3259bc 100644 (file)
@@ -1,5 +1,6 @@
 <module name="devmgr" type="win32cui" installbase="system32" installname="devmgr.exe">
        <define name="__USE_W32API" />
 <module name="devmgr" type="win32cui" installbase="system32" installname="devmgr.exe">
        <define name="__USE_W32API" />
+       <define name="DEFINE_GUID" />
        <library>ntdll</library>
        <library>setupapi</library>
        <library>gdi32</library>
        <library>ntdll</library>
        <library>setupapi</library>
        <library>gdi32</library>