Signed-off-by: Zebediah Figura z.figura12@gmail.com --- dlls/newdev/main.c | 12 +++++------- dlls/newdev/newdev.spec | 4 ++-- 2 files changed, 7 insertions(+), 9 deletions(-)
diff --git a/dlls/newdev/main.c b/dlls/newdev/main.c index 20725a4a551..b1a5ccf0909 100644 --- a/dlls/newdev/main.c +++ b/dlls/newdev/main.c @@ -25,7 +25,7 @@ #include "winbase.h" #include "winuser.h" #include "winreg.h" -#include "setupapi.h" +#include "newdev.h"
#include "wine/unicode.h" #include "wine/debug.h" @@ -75,19 +75,17 @@ BOOL WINAPI UpdateDriverForPlugAndPlayDevicesW(HWND hwndParent, LPCWSTR Hardware /*********************************************************************** * DiInstallDriverA (NEWDEV.@) */ -BOOL WINAPI DiInstallDriverA(HWND parent, HDEVINFO deviceinfo, PSP_DEVINFO_DATA devicedata, - PSP_DRVINFO_DATA_A driverdata, DWORD flags, BOOL *reboot) +BOOL WINAPI DiInstallDriverA(HWND parent, const char *inf_path, DWORD flags, BOOL *reboot) { - FIXME("Stub! %p %p %p %p 0x%08x %p\n", parent, deviceinfo, devicedata, driverdata, flags, reboot); + FIXME("parent %p, inf_path %s, flags %#x, reboot %p, stub!\n", parent, debugstr_a(inf_path), flags, reboot); return TRUE; }
/*********************************************************************** * DiInstallDriverW (NEWDEV.@) */ -BOOL WINAPI DiInstallDriverW(HWND parent, HDEVINFO deviceinfo, PSP_DEVINFO_DATA devicedata, - PSP_DRVINFO_DATA_W driverdata, DWORD flags, BOOL *reboot) +BOOL WINAPI DiInstallDriverW(HWND parent, const WCHAR *inf_path, DWORD flags, BOOL *reboot) { - FIXME("Stub! %p %p %p %p 0x%08x %p\n", parent, deviceinfo, devicedata, driverdata, flags, reboot); + FIXME("parent %p, inf_path %s, flags %#x, reboot %p, stub!\n", parent, debugstr_w(inf_path), flags, reboot); return TRUE; } diff --git a/dlls/newdev/newdev.spec b/dlls/newdev/newdev.spec index 84303cc1e4c..6d45c7e13ea 100644 --- a/dlls/newdev/newdev.spec +++ b/dlls/newdev/newdev.spec @@ -1,7 +1,7 @@ @ stub DeviceInternetSettingUiW @ stub DiInstallDevice -@ stdcall DiInstallDriverA(long ptr ptr ptr long ptr) -@ stdcall DiInstallDriverW(long ptr ptr ptr long ptr) +@ stdcall DiInstallDriverA(ptr str long ptr) +@ stdcall DiInstallDriverW(ptr wstr long ptr) @ stub DiRollbackDriver @ stub DiShowUpdateDevice @ stub DiUninstallDevice