Mostly stub implemenation for cfgmgr32.

diff --git a/configure b/configure
index 118ff41..ea7c554 100755
--- a/configure
+++ b/configure
@@ -16571,7 +16571,7 @@
 MAKE_PROG_RULES=programs/Makeprog.rules
 
 
-                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          ac_config_files="$ac_config_files Make.rules dlls/Makedll.rules dlls/Maketest.rules libs/Makelib.rules programs/Makeprog.rules Makefile dlls/Makefile dlls/advapi32/Makefile dlls/advapi32/tests/Makefile dlls/avicap32/Makefile dlls/avifil32/Makefile dlls/cabinet/Makefile dlls/comcat/Makefile dlls/comctl32/Makefile dlls/comctl32/tests/Makefile dlls/commdlg/Makefile dlls/crtdll/Makefile dlls/crypt32/Makefile dlls/ctl3d/Makefile dlls/d3d8/Makefile dlls/d3d9/Makefile dlls/d3dim/Makefile dlls/d3dx8/Makefile dlls/dciman32/Makefile dlls/ddraw/Makefile dlls/devenum/Makefile dlls/dinput/Makefile dlls/dinput8/Makefile dlls/dmband/Makefile dlls/dmcompos/Makefile dlls/dmime/Makefile dlls/dmloader/Makefile dlls/dmscript/Makefile dlls/dmstyle/Makefile dlls/dmsynth/Makefile dlls/dmusic/Makefile dlls/dmusic32/Makefile dlls/dplay/Makefile dlls/dplayx/Makefile dlls/dpnhpast/Makefile dlls/dsound/Makefile dlls/dsound/tests/Makefile dlls/gdi/Makefile dlls/gdi/tests/Makefile dlls/glu32/Makefile dlls/icmp/Makefile dlls/imagehlp/Makefile dlls/imm32/Makefile dlls/iphlpapi/Makefile dlls/kernel/Makefile dlls/kernel/tests/Makefile dlls/lzexpand/Makefile dlls/mapi32/Makefile dlls/mpr/Makefile dlls/msacm/Makefile dlls/msacm/imaadp32/Makefile dlls/msacm/msadp32/Makefile dlls/msacm/msg711/Makefile dlls/msacm/winemp3/Makefile dlls/msdmo/Makefile dlls/mshtml/Makefile dlls/msi/Makefile dlls/msimg32/Makefile dlls/msisys/Makefile dlls/msnet32/Makefile dlls/msvcrt/Makefile dlls/msvcrt/tests/Makefile dlls/msvcrt20/Makefile dlls/msvcrtd/Makefile dlls/msvideo/Makefile dlls/msvideo/msrle32/Makefile dlls/mswsock/Makefile dlls/netapi32/Makefile dlls/netapi32/tests/Makefile dlls/ntdll/Makefile dlls/ntdll/tests/Makefile dlls/odbc32/Makefile dlls/ole32/Makefile dlls/oleacc/Makefile dlls/oleaut32/Makefile dlls/oleaut32/tests/Makefile dlls/olecli/Makefile dlls/oledlg/Makefile dlls/olepro32/Makefile dlls/olesvr/Makefile dlls/opengl32/Makefile dlls/psapi/Makefile dlls/qcap/Makefile dlls/quartz/Makefile dlls/rasapi32/Makefile dlls/richedit/Makefile dlls/rpcrt4/Makefile dlls/rpcrt4/tests/Makefile dlls/serialui/Makefile dlls/setupapi/Makefile dlls/shdocvw/Makefile dlls/shell32/Makefile dlls/shell32/tests/Makefile dlls/shfolder/Makefile dlls/shlwapi/Makefile dlls/shlwapi/tests/Makefile dlls/snmpapi/Makefile dlls/sti/Makefile dlls/tapi32/Makefile dlls/ttydrv/Makefile dlls/twain/Makefile dlls/url/Makefile dlls/urlmon/Makefile dlls/urlmon/tests/Makefile dlls/user/Makefile dlls/user/tests/Makefile dlls/uxtheme/Makefile dlls/version/Makefile dlls/win32s/Makefile dlls/winaspi/Makefile dlls/winedos/Makefile dlls/wineps/Makefile dlls/wininet/Makefile dlls/wininet/tests/Makefile dlls/winmm/Makefile dlls/winmm/joystick/Makefile dlls/winmm/mcianim/Makefile dlls/winmm/mciavi/Makefile dlls/winmm/mcicda/Makefile dlls/winmm/mciseq/Makefile dlls/winmm/mciwave/Makefile dlls/winmm/midimap/Makefile dlls/winmm/tests/Makefile dlls/winmm/wavemap/Makefile dlls/winmm/winealsa/Makefile dlls/winmm/winearts/Makefile dlls/winmm/wineaudioio/Makefile dlls/winmm/winenas/Makefile dlls/winmm/winejack/Makefile dlls/winmm/wineoss/Makefile dlls/winnls/Makefile dlls/winsock/Makefile dlls/winsock/tests/Makefile dlls/winspool/Makefile dlls/winspool/tests/Makefile dlls/wintab32/Makefile dlls/wintrust/Makefile dlls/wow32/Makefile dlls/wsock32/Makefile dlls/x11drv/Makefile documentation/Makefile include/Makefile libs/Makefile libs/port/Makefile libs/unicode/Makefile libs/uuid/Makefile libs/wine/Makefile libs/wpp/Makefile miscemu/Makefile programs/Makefile programs/avitools/Makefile programs/clock/Makefile programs/cmdlgtst/Makefile programs/control/Makefile programs/expand/Makefile programs/notepad/Makefile programs/osversioncheck/Makefile programs/progman/Makefile programs/regapi/Makefile programs/regedit/Makefile programs/regsvr32/Makefile programs/regtest/Makefile programs/rpcss/Makefile programs/rundll32/Makefile programs/start/Makefile programs/uninstaller/Makefile programs/view/Makefile programs/wcmd/Makefile programs/wineboot/Makefile programs/winecfg/Makefile programs/wineconsole/Makefile programs/winedbg/Makefile programs/winefile/Makefile programs/winemenubuilder/Makefile programs/winemine/Makefile programs/winepath/Makefile programs/winevdm/Makefile programs/winhelp/Makefile programs/winver/Makefile server/Makefile tools/Makefile tools/widl/Makefile tools/winapi/Makefile tools/winebuild/Makefile tools/winedump/Makefile tools/winegcc/Makefile tools/wmc/Makefile tools/wrc/Makefile"
+                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    ac_config_files="$ac_config_files Make.rules dlls/Makedll.rules dlls/Maketest.rules libs/Makelib.rules programs/Makeprog.rules Makefile dlls/Makefile dlls/advapi32/Makefile dlls/advapi32/tests/Makefile dlls/avicap32/Makefile dlls/avifil32/Makefile dlls/cabinet/Makefile dlls/cfgmgr32/Makefile dlls/comcat/Makefile dlls/comctl32/Makefile dlls/comctl32/tests/Makefile dlls/commdlg/Makefile dlls/crtdll/Makefile dlls/crypt32/Makefile dlls/ctl3d/Makefile dlls/d3d8/Makefile dlls/d3d9/Makefile dlls/d3dim/Makefile dlls/d3dx8/Makefile dlls/dciman32/Makefile dlls/ddraw/Makefile dlls/devenum/Makefile dlls/dinput/Makefile dlls/dinput8/Makefile dlls/dmband/Makefile dlls/dmcompos/Makefile dlls/dmime/Makefile dlls/dmloader/Makefile dlls/dmscript/Makefile dlls/dmstyle/Makefile dlls/dmsynth/Makefile dlls/dmusic/Makefile dlls/dmusic32/Makefile dlls/dplay/Makefile dlls/dplayx/Makefile dlls/dpnhpast/Makefile dlls/dsound/Makefile dlls/dsound/tests/Makefile dlls/gdi/Makefile dlls/gdi/tests/Makefile dlls/glu32/Makefile dlls/icmp/Makefile dlls/imagehlp/Makefile dlls/imm32/Makefile dlls/iphlpapi/Makefile dlls/kernel/Makefile dlls/kernel/tests/Makefile dlls/lzexpand/Makefile dlls/mapi32/Makefile dlls/mpr/Makefile dlls/msacm/Makefile dlls/msacm/imaadp32/Makefile dlls/msacm/msadp32/Makefile dlls/msacm/msg711/Makefile dlls/msacm/winemp3/Makefile dlls/msdmo/Makefile dlls/mshtml/Makefile dlls/msi/Makefile dlls/msimg32/Makefile dlls/msisys/Makefile dlls/msnet32/Makefile dlls/msvcrt/Makefile dlls/msvcrt/tests/Makefile dlls/msvcrt20/Makefile dlls/msvcrtd/Makefile dlls/msvideo/Makefile dlls/msvideo/msrle32/Makefile dlls/mswsock/Makefile dlls/netapi32/Makefile dlls/netapi32/tests/Makefile dlls/ntdll/Makefile dlls/ntdll/tests/Makefile dlls/odbc32/Makefile dlls/ole32/Makefile dlls/oleacc/Makefile dlls/oleaut32/Makefile dlls/oleaut32/tests/Makefile dlls/olecli/Makefile dlls/oledlg/Makefile dlls/olepro32/Makefile dlls/olesvr/Makefile dlls/opengl32/Makefile dlls/psapi/Makefile dlls/qcap/Makefile dlls/quartz/Makefile dlls/rasapi32/Makefile dlls/richedit/Makefile dlls/rpcrt4/Makefile dlls/rpcrt4/tests/Makefile dlls/serialui/Makefile dlls/setupapi/Makefile dlls/shdocvw/Makefile dlls/shell32/Makefile dlls/shell32/tests/Makefile dlls/shfolder/Makefile dlls/shlwapi/Makefile dlls/shlwapi/tests/Makefile dlls/snmpapi/Makefile dlls/sti/Makefile dlls/tapi32/Makefile dlls/ttydrv/Makefile dlls/twain/Makefile dlls/url/Makefile dlls/urlmon/Makefile dlls/urlmon/tests/Makefile dlls/user/Makefile dlls/user/tests/Makefile dlls/uxtheme/Makefile dlls/version/Makefile dlls/win32s/Makefile dlls/winaspi/Makefile dlls/winedos/Makefile dlls/wineps/Makefile dlls/wininet/Makefile dlls/wininet/tests/Makefile dlls/winmm/Makefile dlls/winmm/joystick/Makefile dlls/winmm/mcianim/Makefile dlls/winmm/mciavi/Makefile dlls/winmm/mcicda/Makefile dlls/winmm/mciseq/Makefile dlls/winmm/mciwave/Makefile dlls/winmm/midimap/Makefile dlls/winmm/tests/Makefile dlls/winmm/wavemap/Makefile dlls/winmm/winealsa/Makefile dlls/winmm/winearts/Makefile dlls/winmm/wineaudioio/Makefile dlls/winmm/winenas/Makefile dlls/winmm/winejack/Makefile dlls/winmm/wineoss/Makefile dlls/winnls/Makefile dlls/winsock/Makefile dlls/winsock/tests/Makefile dlls/winspool/Makefile dlls/winspool/tests/Makefile dlls/wintab32/Makefile dlls/wintrust/Makefile dlls/wow32/Makefile dlls/wsock32/Makefile dlls/x11drv/Makefile documentation/Makefile include/Makefile libs/Makefile libs/port/Makefile libs/unicode/Makefile libs/uuid/Makefile libs/wine/Makefile libs/wpp/Makefile miscemu/Makefile programs/Makefile programs/avitools/Makefile programs/clock/Makefile programs/cmdlgtst/Makefile programs/control/Makefile programs/expand/Makefile programs/notepad/Makefile programs/osversioncheck/Makefile programs/progman/Makefile programs/regapi/Makefile programs/regedit/Makefile programs/regsvr32/Makefile programs/regtest/Makefile programs/rpcss/Makefile programs/rundll32/Makefile programs/start/Makefile programs/uninstaller/Makefile programs/view/Makefile programs/wcmd/Makefile programs/wineboot/Makefile programs/winecfg/Makefile programs/wineconsole/Makefile programs/winedbg/Makefile programs/winefile/Makefile programs/winemenubuilder/Makefile programs/winemine/Makefile programs/winepath/Makefile programs/winevdm/Makefile programs/winhelp/Makefile programs/winver/Makefile server/Makefile tools/Makefile tools/widl/Makefile tools/winapi/Makefile tools/winebuild/Makefile tools/winedump/Makefile tools/winegcc/Makefile tools/wmc/Makefile tools/wrc/Makefile"
 
 
 cat >confcache <<\_ACEOF
@@ -17113,6 +17113,7 @@
   "dlls/avicap32/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/avicap32/Makefile" ;;
   "dlls/avifil32/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/avifil32/Makefile" ;;
   "dlls/cabinet/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/cabinet/Makefile" ;;
+  "dlls/cfgmgr32/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/cfgmgr32/Makefile" ;;
   "dlls/comcat/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/comcat/Makefile" ;;
   "dlls/comctl32/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/comctl32/Makefile" ;;
   "dlls/comctl32/tests/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/comctl32/tests/Makefile" ;;
diff --git a/configure.ac b/configure.ac
index 2312127..8e19ab4 100644
--- a/configure.ac
+++ b/configure.ac
@@ -1414,6 +1414,7 @@
 dlls/avicap32/Makefile
 dlls/avifil32/Makefile
 dlls/cabinet/Makefile
+dlls/cfgmgr32/Makefile
 dlls/comcat/Makefile
 dlls/comctl32/Makefile
 dlls/comctl32/tests/Makefile
diff --git a/dlls/Makefile.in b/dlls/Makefile.in
index 833e81e..64df12c 100644
--- a/dlls/Makefile.in
+++ b/dlls/Makefile.in
@@ -19,6 +19,7 @@
 	avicap32 \
 	avifil32 \
 	cabinet \
+	cfgmgr32 \
 	comcat \
 	comctl32 \
 	commdlg \
@@ -204,6 +205,7 @@
 	avicap32.dll$(DLLEXT) \
 	avifil32.dll$(DLLEXT) \
 	cabinet.dll$(DLLEXT) \
+	cfgmgr32.dll$(DLLEXT) \
 	comcat.dll$(DLLEXT) \
 	comctl32.dll$(DLLEXT) \
 	comdlg32.dll$(DLLEXT) \
@@ -332,6 +334,9 @@
 cabinet.dll$(DLLEXT): cabinet/cabinet.dll$(DLLEXT)
 	$(RM) $@ && $(LN_S) cabinet/cabinet.dll$(DLLEXT) $@
 
+cfgmgr32.dll$(DLLEXT): cfgmgr32/cfgmgr32.dll$(DLLEXT)
+	$(RM) $@ && $(LN_S) cfgmgr32/cfgmgr32.dll$(DLLEXT) $@
+
 comcat.dll$(DLLEXT): comcat/comcat.dll$(DLLEXT)
 	$(RM) $@ && $(LN_S) comcat/comcat.dll$(DLLEXT) $@
 
@@ -694,6 +699,7 @@
 	libavicap32 \
 	libavifil32 \
 	libcabinet \
+	libcfgmgr32 \
 	libcomcat \
 	libcomctl32 \
 	libcomdlg32 \
@@ -812,6 +818,11 @@
 libcabinet.a: cabinet/cabinet.spec.def
 	$(DLLTOOL) -k -l $@ -d cabinet/cabinet.spec.def
 
+libcfgmgr32.def: cfgmgr32/cfgmgr32.spec.def
+	$(RM) $@ && $(LN_S) cfgmgr32/cfgmgr32.spec.def $@
+libcfgmgr32.a: cfgmgr32/cfgmgr32.spec.def
+	$(DLLTOOL) -k -l $@ -d cfgmgr32/cfgmgr32.spec.def
+
 libcomcat.def: comcat/comcat.spec.def
 	$(RM) $@ && $(LN_S) comcat/comcat.spec.def $@
 libcomcat.a: comcat/comcat.spec.def
@@ -1301,6 +1312,7 @@
 avicap32/avicap32.spec.def: $(WINEBUILD)
 avifil32/avifil32.spec.def: $(WINEBUILD)
 cabinet/cabinet.spec.def: $(WINEBUILD)
+cfgmgr32/cfgmgr32.spec.def: $(WINEBUILD)
 comcat/comcat.spec.def: $(WINEBUILD)
 comctl32/comctl32.spec.def: $(WINEBUILD)
 commdlg/comdlg32.spec.def: $(WINEBUILD)
@@ -1409,6 +1421,7 @@
 avicap32/avicap32.dll$(DLLEXT): avicap32
 avifil32/avifil32.dll$(DLLEXT): avifil32
 cabinet/cabinet.dll$(DLLEXT): cabinet
+cfgmgr32/cfgmgr32.dll$(DLLEXT): cfgmgr32
 comcat/comcat.dll$(DLLEXT): comcat
 comctl32/comctl32.dll$(DLLEXT): comctl32
 commdlg/comdlg32.dll$(DLLEXT): commdlg
diff --git a/dlls/cfgmgr32/.cvsignore b/dlls/cfgmgr32/.cvsignore
new file mode 100644
index 0000000..4b28a6a
--- /dev/null
+++ b/dlls/cfgmgr32/.cvsignore
@@ -0,0 +1,4 @@
+Makefile
+cfgmgr32.dll.dbg.c
+cfgmgr32.spec.c
+cfgmgr32.spec.def
diff --git a/dlls/cfgmgr32/Makefile.in b/dlls/cfgmgr32/Makefile.in
new file mode 100644
index 0000000..5dea809
--- /dev/null
+++ b/dlls/cfgmgr32/Makefile.in
@@ -0,0 +1,13 @@
+TOPSRCDIR = @top_srcdir@
+TOPOBJDIR = ../..
+SRCDIR    = @srcdir@
+VPATH     = @srcdir@
+MODULE    = cfgmgr32.dll
+IMPORTS   = kernel32
+
+C_SRCS = \
+	main.c
+
+@MAKE_DLL_RULES@
+
+### Dependencies:
diff --git a/dlls/cfgmgr32/cfgmgr32.spec b/dlls/cfgmgr32/cfgmgr32.spec
new file mode 100644
index 0000000..b25649bd
--- /dev/null
+++ b/dlls/cfgmgr32/cfgmgr32.spec
@@ -0,0 +1,161 @@
+1 stub CM_Add_Empty_Log_Conf
+2 stub CM_Add_Empty_Log_Conf_Ex
+3 stub CM_Add_IDA
+4 stub CM_Add_IDW
+5 stub CM_Add_ID_ExA
+6 stub CM_Add_ID_ExW
+7 stub CM_Add_Range
+8 stub CM_Add_Res_Des
+9 stub CM_Add_Res_Des_Ex
+10 stub CM_Connect_MachineA
+11 stub CM_Connect_MachineW
+12 stub CM_Create_DevNodeA
+13 stub CM_Create_DevNodeW
+14 stub CM_Create_DevNode_ExA
+15 stub CM_Create_DevNode_ExW
+16 stub CM_Create_Range_List
+17 stub CM_Delete_Class_Key
+18 stub CM_Delete_Class_Key_Ex
+19 stub CM_Delete_DevNode_Key
+20 stub CM_Delete_DevNode_Key_Ex
+21 stub CM_Delete_Range
+22 stub CM_Detect_Resource_Conflict
+23 stub CM_Detect_Resource_Conflict_Ex
+24 stub CM_Disable_DevNode
+25 stub CM_Disable_DevNode_Ex
+26 stub CM_Disconnect_Machine
+27 stub CM_Dup_Range_List
+28 stub CM_Enable_DevNode
+29 stub CM_Enable_DevNode_Ex
+30 stub CM_Enumerate_Classes
+31 stub CM_Enumerate_Classes_Ex
+32 stub CM_Enumerate_EnumeratorsA
+33 stub CM_Enumerate_EnumeratorsW
+34 stub CM_Enumerate_Enumerators_ExA
+35 stub CM_Enumerate_Enumerators_ExW
+36 stub CM_Find_Range
+37 stub CM_First_Range
+38 stub CM_Free_Log_Conf
+39 stub CM_Free_Log_Conf_Ex
+40 stub CM_Free_Log_Conf_Handle
+41 stub CM_Free_Range_List
+42 stub CM_Free_Res_Des
+43 stub CM_Free_Res_Des_Ex
+44 stub CM_Free_Res_Des_Handle
+45 stub CM_Get_Child
+46 stub CM_Get_Child_Ex
+47 stub CM_Get_Class_Key_NameA
+48 stub CM_Get_Class_Key_NameW
+49 stub CM_Get_Class_Key_Name_ExA
+50 stub CM_Get_Class_Key_Name_ExW
+51 stub CM_Get_Class_NameA
+52 stub CM_Get_Class_NameW
+53 stub CM_Get_Class_Name_ExA
+54 stub CM_Get_Class_Name_ExW
+55 stub CM_Get_Depth
+56 stub CM_Get_Depth_Ex
+57 stub CM_Get_DevNode_Registry_PropertyA
+58 stub CM_Get_DevNode_Registry_PropertyW
+59 stub CM_Get_DevNode_Registry_Property_ExA
+60 stub CM_Get_DevNode_Registry_Property_ExW
+61 stub CM_Get_DevNode_Status
+62 stub CM_Get_DevNode_Status_Ex
+63 stub CM_Get_Device_IDA
+64 stub CM_Get_Device_IDW
+65 stub CM_Get_Device_ID_ExA
+66 stub CM_Get_Device_ID_ExW
+67 stdcall CM_Get_Device_ID_ListA(ptr ptr long long)
+68 stub CM_Get_Device_ID_ListW
+69 stub CM_Get_Device_ID_List_ExA
+70 stub CM_Get_Device_ID_List_ExW
+71 stub CM_Get_Device_ID_List_SizeA
+72 stub CM_Get_Device_ID_List_SizeW
+73 stub CM_Get_Device_ID_List_Size_ExA
+74 stub CM_Get_Device_ID_List_Size_ExW
+75 stub CM_Get_Device_ID_Size
+76 stub CM_Get_Device_ID_Size_Ex
+77 stub CM_Get_First_Log_Conf
+78 stub CM_Get_First_Log_Conf_Ex
+79 stub CM_Get_Global_State
+80 stub CM_Get_Global_State_Ex
+81 stub CM_Get_HW_Prof_FlagsA
+82 stub CM_Get_HW_Prof_FlagsW
+83 stub CM_Get_HW_Prof_Flags_ExA
+84 stub CM_Get_HW_Prof_Flags_ExW
+85 stub CM_Get_Hardware_Profile_InfoA
+86 stub CM_Get_Hardware_Profile_InfoW
+87 stub CM_Get_Hardware_Profile_Info_ExA
+88 stub CM_Get_Hardware_Profile_Info_ExW
+89 stub CM_Get_Interface_Device_ListA
+90 stub CM_Get_Interface_Device_ListW
+91 stub CM_Get_Interface_Device_List_ExA
+92 stub CM_Get_Interface_Device_List_ExW
+93 stub CM_Get_Interface_Device_List_SizeA
+94 stub CM_Get_Interface_Device_List_SizeW
+95 stub CM_Get_Interface_Device_List_Size_ExA
+96 stub CM_Get_Interface_Device_List_Size_ExW
+97 stub CM_Get_Next_Log_Conf
+98 stub CM_Get_Next_Log_Conf_Ex
+99 stub CM_Get_Next_Res_Des
+100 stub CM_Get_Next_Res_Des_Ex
+101 stub CM_Get_Parent
+102 stub CM_Get_Parent_Ex
+103 stub CM_Get_Res_Des_Data
+104 stub CM_Get_Res_Des_Data_Ex
+105 stub CM_Get_Res_Des_Data_Size
+106 stub CM_Get_Res_Des_Data_Size_Ex
+107 stub CM_Get_Sibling
+108 stub CM_Get_Sibling_Ex
+109 stub CM_Get_Version
+110 stub CM_Get_Version_Ex
+111 stub CM_Intersect_Range_List
+112 stub CM_Invert_Range_List
+113 stub CM_Locate_DevNodeA
+114 stub CM_Locate_DevNodeW
+115 stub CM_Locate_DevNode_ExA
+116 stub CM_Locate_DevNode_ExW
+117 stub CM_Merge_Range_List
+118 stub CM_Modify_Res_Des
+119 stub CM_Modify_Res_Des_Ex
+120 stub CM_Move_DevNode
+121 stub CM_Move_DevNode_Ex
+122 stub CM_Next_Range
+123 stub CM_Open_Class_KeyA
+124 stub CM_Open_Class_KeyW
+125 stub CM_Open_Class_Key_ExA
+126 stub CM_Open_Class_Key_ExW
+127 stub CM_Open_DevNode_Key
+128 stub CM_Open_DevNode_Key_Ex
+129 stub CM_Query_Arbitrator_Free_Data
+130 stub CM_Query_Arbitrator_Free_Data_Ex
+131 stub CM_Query_Arbitrator_Free_Size
+132 stub CM_Query_Arbitrator_Free_Size_Ex
+133 stub CM_Query_Remove_SubTree
+134 stub CM_Query_Remove_SubTree_Ex
+135 stub CM_Reenumerate_DevNode
+136 stub CM_Reenumerate_DevNode_Ex
+137 stub CM_Register_Device_Driver
+138 stub CM_Register_Device_Driver_Ex
+139 stub CM_Remove_SubTree
+140 stub CM_Remove_SubTree_Ex
+141 stub CM_Remove_Unmarked_Children
+142 stub CM_Remove_Unmarked_Children_Ex
+143 stub CM_Reset_Children_Marks
+144 stub CM_Reset_Children_Marks_Ex
+145 stub CM_Run_Detection
+146 stub CM_Run_Detection_Ex
+147 stub CM_Set_DevNode_Registry_PropertyA
+148 stub CM_Set_DevNode_Registry_PropertyW
+149 stub CM_Set_DevNode_Registry_Property_ExA
+150 stub CM_Set_DevNode_Registry_Property_ExW
+151 stub CM_Set_HW_Prof
+152 stub CM_Set_HW_Prof_Ex
+153 stub CM_Set_HW_Prof_FlagsA
+154 stub CM_Set_HW_Prof_FlagsW
+155 stub CM_Set_HW_Prof_Flags_ExA
+156 stub CM_Set_HW_Prof_Flags_ExW
+157 stub CM_Setup_DevNode
+158 stub CM_Setup_DevNode_Ex
+159 stub CM_Test_Range_Available
+160 stub CM_Uninstall_DevNode
+161 stub CM_Uninstall_DevNode_Ex
diff --git a/dlls/cfgmgr32/main.c b/dlls/cfgmgr32/main.c
new file mode 100644
index 0000000..65ea58e
--- /dev/null
+++ b/dlls/cfgmgr32/main.c
@@ -0,0 +1,40 @@
+/*
+ * cfgmgr32 implementation
+ *
+ * Copyright 2003 Mike McCormack for CodeWeavers
+ *
+ * This library is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU Lesser General Public
+ * License as published by the Free Software Foundation; either
+ * version 2.1 of the License, or (at your option) any later version.
+ *
+ * This library is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
+ * Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with this library; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
+ */
+
+#include <stdarg.h>
+#include "windef.h"
+#include "winbase.h"
+#include "winnt.h"
+
+#include "wine/debug.h"
+
+WINE_DEFAULT_DEBUG_CHANNEL(cfgmgr32);
+
+typedef DWORD CONFIGRET;
+
+#define CR_SUCCESS 0
+
+CONFIGRET WINAPI CM_Get_Device_ID_ListA( 
+    PCSTR pszFilter, PCHAR Buffer, ULONG BufferLen, ULONG ulFlags )
+{
+    FIXME("%p %p %ld %ld\n", pszFilter, Buffer, BufferLen, ulFlags );
+    memset(Buffer,0,2);
+    return CR_SUCCESS;
+}