Add newdev.dll

Ulrich Czekalla ulrich.czekalla at utoronto.ca
Sat Dec 27 11:17:40 CST 2003


Ulrich Czekalla <ulrich.czekalla at utoronto.ca>
Add stubbed version of newdev.dll
-------------- next part --------------
Index: configure.ac
===================================================================
RCS file: /home/wine/wine/configure.ac,v
retrieving revision 1.217
diff -u -w -r1.217 configure.ac
--- configure.ac	5 Dec 2003 00:20:28 -0000	1.217
+++ configure.ac	27 Dec 2003 17:07:34 -0000
@@ -1551,6 +1551,7 @@
 dlls/mswsock/Makefile
 dlls/netapi32/Makefile
 dlls/netapi32/tests/Makefile
+dlls/newdev/Makefile
 dlls/ntdll/Makefile
 dlls/ntdll/tests/Makefile
 dlls/odbc32/Makefile
Index: dlls/Makefile.in
===================================================================
RCS file: /home/wine/wine/dlls/Makefile.in,v
retrieving revision 1.194
diff -u -w -r1.194 Makefile.in
--- dlls/Makefile.in	13 Dec 2003 01:33:19 -0000	1.194
+++ dlls/Makefile.in	27 Dec 2003 17:07:35 -0000
@@ -73,6 +73,7 @@
 	msvideo/msrle32 \
 	mswsock \
 	netapi32 \
+	newdev \
 	ntdll \
 	odbc32 \
 	ole32 \
@@ -270,6 +271,7 @@
 	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 @@
 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 @@
 	libmsvfw32 \
 	libmswsock \
 	libnetapi32 \
+	libnewdev \
 	libntdll \
 	libodbc32 \
 	libole32 \
@@ -1111,6 +1117,11 @@
 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 @@
 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 @@
 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
--- /dev/null	2003-09-15 09:40:47.000000000 -0400
+++ dlls/newdev/.cvsignore	2003-12-26 17:59:43.000000000 -0500
@@ -0,0 +1,3 @@
+Makefile
+newdev.dll.dbg.c
+newdev.spec.c
--- /dev/null	2003-09-15 09:40:47.000000000 -0400
+++ dlls/newdev/Makefile.in	2003-12-26 17:38:35.000000000 -0500
@@ -0,0 +1,17 @@
+TOPSRCDIR = @top_srcdir@
+TOPOBJDIR = ../..
+SRCDIR    = @srcdir@
+VPATH     = @srcdir@
+MODULE    = newdev.dll
+IMPORTS   =
+EXTRALIBS = $(LIBUNICODE)
+
+C_SRCS = main.c
+
+RC_SRCS =
+
+SUBDIRS =
+
+ at MAKE_DLL_RULES@
+
+### Dependencies:
--- /dev/null	2003-09-15 09:40:47.000000000 -0400
+++ dlls/newdev/main.c	2003-12-26 18:00:00.000000000 -0500
@@ -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;
+}
--- /dev/null	2003-09-15 09:40:47.000000000 -0400
+++ dlls/newdev/newdev.spec	2003-12-26 18:03:37.000000000 -0500
@@ -0,0 +1,3 @@
+@ stdcall InstallNewDevice(long ptr ptr)
+@ stdcall UpdateDriverForPlugAndPlayDevicesA(long str str long ptr)
+@ stdcall UpdateDriverForPlugAndPlayDevicesW(long wstr wstr long ptr)


More information about the wine-patches mailing list