From 9655a5fdc538850ffe9e6bfa9b726d970ac6837b Mon Sep 17 00:00:00 2001 From: Ulrich Czekalla Date: Tue, 30 Dec 2003 22:19:30 +0000 Subject: [PATCH] Add stubbed version of newdev.dll. --- configure | 3 ++- configure.ac | 1 + dlls/Makefile.in | 13 +++++++++ dlls/newdev/.cvsignore | 4 +++ dlls/newdev/Makefile.in | 11 ++++++++ dlls/newdev/main.c | 58 +++++++++++++++++++++++++++++++++++++++++ dlls/newdev/newdev.spec | 3 +++ 7 files changed, 92 insertions(+), 1 deletion(-) create mode 100644 dlls/newdev/.cvsignore create mode 100644 dlls/newdev/Makefile.in create mode 100644 dlls/newdev/main.c create mode 100644 dlls/newdev/newdev.spec diff --git a/configure b/configure index 10f4ff5131a..6c93e5463b9 100755 --- a/configure +++ b/configure @@ -17275,7 +17275,7 @@ MAKE_LIB_RULES=libs/Makelib.rules 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/capi2032/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/wined3d/Makefile dlls/d3d8/Makefile dlls/d3d9/Makefile dlls/d3dim/Makefile dlls/d3dx8/Makefile dlls/dciman32/Makefile dlls/ddraw/Makefile dlls/ddraw/tests/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/glut32/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/unicows/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 loader/Makefile programs/Makefile programs/avitools/Makefile programs/clock/Makefile programs/cmdlgtst/Makefile programs/control/Makefile programs/expand/Makefile programs/notepad/Makefile programs/progman/Makefile programs/regedit/Makefile programs/regsvr32/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/winetest/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/capi2032/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/wined3d/Makefile dlls/d3d8/Makefile dlls/d3d9/Makefile dlls/d3dim/Makefile dlls/d3dx8/Makefile dlls/dciman32/Makefile dlls/ddraw/Makefile dlls/ddraw/tests/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/glut32/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/newdev/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/unicows/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 loader/Makefile programs/Makefile programs/avitools/Makefile programs/clock/Makefile programs/cmdlgtst/Makefile programs/control/Makefile programs/expand/Makefile programs/notepad/Makefile programs/progman/Makefile programs/regedit/Makefile programs/regsvr32/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/winetest/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 @@ -17884,6 +17884,7 @@ do "dlls/mswsock/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/mswsock/Makefile" ;; "dlls/netapi32/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/netapi32/Makefile" ;; "dlls/netapi32/tests/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/netapi32/tests/Makefile" ;; + "dlls/newdev/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/newdev/Makefile" ;; "dlls/ntdll/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/ntdll/Makefile" ;; "dlls/ntdll/tests/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/ntdll/tests/Makefile" ;; "dlls/odbc32/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/odbc32/Makefile" ;; diff --git a/configure.ac b/configure.ac index 5debe6d0901..879261b2fa1 100644 --- a/configure.ac +++ b/configure.ac @@ -1551,6 +1551,7 @@ dlls/msvideo/msrle32/Makefile dlls/mswsock/Makefile dlls/netapi32/Makefile dlls/netapi32/tests/Makefile +dlls/newdev/Makefile dlls/ntdll/Makefile dlls/ntdll/tests/Makefile dlls/odbc32/Makefile diff --git a/dlls/Makefile.in b/dlls/Makefile.in index 1416a6160a6..b4779b6bdbc 100644 --- a/dlls/Makefile.in +++ b/dlls/Makefile.in @@ -73,6 +73,7 @@ BASEDIRS = \ msvideo/msrle32 \ mswsock \ netapi32 \ + newdev \ ntdll \ odbc32 \ ole32 \ @@ -270,6 +271,7 @@ SYMLINKS = \ msvfw32.dll$(DLLEXT) \ mswsock.dll$(DLLEXT) \ netapi32.dll$(DLLEXT) \ + newdev.dll$(DLLEXT) \ ntdll.dll$(DLLEXT) \ odbc32.dll$(DLLEXT) \ ole32.dll$(DLLEXT) \ @@ -542,6 +544,9 @@ mswsock.dll$(DLLEXT): mswsock/mswsock.dll$(DLLEXT) netapi32.dll$(DLLEXT): netapi32/netapi32.dll$(DLLEXT) $(RM) $@ && $(LN_S) netapi32/netapi32.dll$(DLLEXT) $@ +newdev.dll$(DLLEXT): newdev/newdev.dll$(DLLEXT) + $(RM) $@ && $(LN_S) newdev/newdev.dll$(DLLEXT) $@ + ntdll.dll$(DLLEXT): ntdll/ntdll.dll$(DLLEXT) $(RM) $@ && $(LN_S) ntdll/ntdll.dll$(DLLEXT) $@ @@ -772,6 +777,7 @@ IMPORT_LIBS = \ libmsvfw32 \ libmswsock \ libnetapi32 \ + libnewdev \ libntdll \ libodbc32 \ libole32 \ @@ -1111,6 +1117,11 @@ libnetapi32.def: netapi32/netapi32.spec.def libnetapi32.a: netapi32/netapi32.spec.def $(DLLTOOL) -k -l $@ -d netapi32/netapi32.spec.def +libnewdev.def: newdev/newdev.spec.def + $(RM) $@ && $(LN_S) newdev/newdev.spec.def $@ +libnewdev.a: newdev/newdev.spec.def + $(DLLTOOL) -k -l $@ -d newdev/newdev.spec.def + libntdll.def: ntdll/ntdll.spec.def $(RM) $@ && $(LN_S) ntdll/ntdll.spec.def $@ libntdll.a: ntdll/ntdll.spec.def @@ -1409,6 +1420,7 @@ msvcrtd/msvcrtd.spec.def: $(WINEBUILD) msvideo/msvfw32.spec.def: $(WINEBUILD) mswsock/mswsock.spec.def: $(WINEBUILD) netapi32/netapi32.spec.def: $(WINEBUILD) +newdev/newdev.spec.def: $(WINEBUILD) ntdll/ntdll.spec.def: $(WINEBUILD) odbc32/odbc32.spec.def: $(WINEBUILD) ole32/ole32.spec.def: $(WINEBUILD) @@ -1534,6 +1546,7 @@ msvcrtd/msvcrtd.dll$(DLLEXT): msvcrtd msvideo/msvfw32.dll$(DLLEXT): msvideo mswsock/mswsock.dll$(DLLEXT): mswsock netapi32/netapi32.dll$(DLLEXT): netapi32 +newdev/newdev.dll$(DLLEXT): newdev ntdll/ntdll.dll$(DLLEXT): ntdll odbc32/odbc32.dll$(DLLEXT): odbc32 ole32/ole32.dll$(DLLEXT): ole32 diff --git a/dlls/newdev/.cvsignore b/dlls/newdev/.cvsignore new file mode 100644 index 00000000000..2de154dbece --- /dev/null +++ b/dlls/newdev/.cvsignore @@ -0,0 +1,4 @@ +Makefile +newdev.dll.dbg.c +newdev.spec.c +newdev.spec.def diff --git a/dlls/newdev/Makefile.in b/dlls/newdev/Makefile.in new file mode 100644 index 00000000000..44b49a06e66 --- /dev/null +++ b/dlls/newdev/Makefile.in @@ -0,0 +1,11 @@ +TOPSRCDIR = @top_srcdir@ +TOPOBJDIR = ../.. +SRCDIR = @srcdir@ +VPATH = @srcdir@ +MODULE = newdev.dll + +C_SRCS = main.c + +@MAKE_DLL_RULES@ + +### Dependencies: diff --git a/dlls/newdev/main.c b/dlls/newdev/main.c new file mode 100644 index 00000000000..4c1e7f5ed09 --- /dev/null +++ b/dlls/newdev/main.c @@ -0,0 +1,58 @@ +/* + * NewDev + * + * Copyright 2003 Ulrich Czekalla + * + * 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 "windef.h" +#include "winerror.h" + +#include "wine/unicode.h" +#include "wine/debug.h" + +WINE_DEFAULT_DEBUG_CHANNEL(newdev); + +/*********************************************************************** + * InstallNewDevice (NEWDEV.@) + */ +BOOL WINAPI InstallNewDevice(HWND hwndParent, LPGUID ClassGuid, PDWORD pReboot) +{ + FIXME("Stub!\n"); + return TRUE; +} + + +/*********************************************************************** + * UpdateDriverForPlugAndPlayDevicesA (NEWDEV.@) + */ +BOOL WINAPI UpdateDriverForPlugAndPlayDevicesA(HWND hwndParent, LPCSTR HardwareId, + LPCSTR FullInfPath, DWORD InstallFlags, PBOOL bRebootRequired OPTIONAL) +{ + FIXME("Stub! %s %s 0x%08lx\n", HardwareId, FullInfPath, InstallFlags); + return TRUE; +} + + +/*********************************************************************** + * UpdateDriverForPlugAndPlayDevicesW (NEWDEV.@) + */ +BOOL WINAPI UpdateDriverForPlugAndPlayDevicesW(HWND hwndParent, LPCWSTR HardwareId, + LPCWSTR FullInfPath, DWORD InstallFlags, PBOOL bRebootRequired OPTIONAL) +{ + FIXME("Stub! %s %s 0x%08lx\n", debugstr_w(HardwareId), debugstr_w(FullInfPath), InstallFlags); + return TRUE; +} diff --git a/dlls/newdev/newdev.spec b/dlls/newdev/newdev.spec new file mode 100644 index 00000000000..d4d6551d61e --- /dev/null +++ b/dlls/newdev/newdev.spec @@ -0,0 +1,3 @@ +@ stdcall InstallNewDevice(long ptr ptr) +@ stdcall UpdateDriverForPlugAndPlayDevicesA(long str str long ptr) +@ stdcall UpdateDriverForPlugAndPlayDevicesW(long wstr wstr long ptr)