use a .spec file and fix the export ordinals
[reactos.git] / reactos / lib / devmgr / devmgr.xml
index 2bf1bfd..c7435dd 100644 (file)
@@ -1,19 +1,24 @@
-<module name="devmgr" type="win32dll" baseaddress="${BASEADDRESS_DEVMGR}" installbase="system32" installname="devmgr.dll" allowwarnings="true">
-       <importlibrary definition="devmgr.def" />
+<module name="devmgr" type="win32dll" baseaddress="${BASEADDRESS_DEVENUM}" installbase="system32" installname="devmgr.dll" allowwarnings="true">
        <include base="devmgr">.</include>
+       <importlibrary definition="devmgr.spec.def" />
        <define name="UNICODE" />
        <define name="_UNICODE" />
        <define name="__REACTOS__" />
        <define name="__USE_W32API" />
        <define name="_WIN32_IE">0x600</define>
        <define name="_WIN32_WINNT">0x501</define>
-       <library>ntdll</library>
+       <define name="WINVER">0x501</define>
+       <define name="_SETUPAPI_VER">0x501</define>
        <library>kernel32</library>
-       <library>advapi32</library>
+       <library>ntdll</library>
+       <library>setupapi</library>
        <library>user32</library>
-       <file>devmgr.c</file>
-       <file>stubs.c</file>
-        <linkerflag>-nostartfiles</linkerflag>
-        <linkerflag>-nostdlib</linkerflag>
        <file>devmgr.rc</file>
-</module>
+       <file>advprop.c</file>
+       <file>devprblm.c</file>
+       <file>hwpage.c</file>
+       <file>misc.c</file>
+       <file>stubs.c</file>
+       <file>devmgr.spec</file>
+       <pch>precomp.h</pch>
+</module>
\ No newline at end of file