Add stubbed version of newdev.dll.
This commit is contained in:
parent
62fb1919f8
commit
9655a5fdc5
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -0,0 +1,4 @@
|
|||
Makefile
|
||||
newdev.dll.dbg.c
|
||||
newdev.spec.c
|
||||
newdev.spec.def
|
|
@ -0,0 +1,11 @@
|
|||
TOPSRCDIR = @top_srcdir@
|
||||
TOPOBJDIR = ../..
|
||||
SRCDIR = @srcdir@
|
||||
VPATH = @srcdir@
|
||||
MODULE = newdev.dll
|
||||
|
||||
C_SRCS = main.c
|
||||
|
||||
@MAKE_DLL_RULES@
|
||||
|
||||
### Dependencies:
|
|
@ -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;
|
||||
}
|
|
@ -0,0 +1,3 @@
|
|||
@ stdcall InstallNewDevice(long ptr ptr)
|
||||
@ stdcall UpdateDriverForPlugAndPlayDevicesA(long str str long ptr)
|
||||
@ stdcall UpdateDriverForPlugAndPlayDevicesW(long wstr wstr long ptr)
|
Loading…
Reference in New Issue