[2/5] difxapi: Add stubs for DriverPackageInstall{A,W}

André Hentschel nerv at dawncrow.de
Sun Jun 2 07:37:06 CDT 2013


---
 dlls/difxapi/difxapi.spec |  4 ++--
 dlls/difxapi/main.c       | 14 ++++++++++++++
 2 files changed, 16 insertions(+), 2 deletions(-)

diff --git a/dlls/difxapi/difxapi.spec b/dlls/difxapi/difxapi.spec
index 6fbc0bb..b4409bd 100644
--- a/dlls/difxapi/difxapi.spec
+++ b/dlls/difxapi/difxapi.spec
@@ -2,8 +2,8 @@
 @ stub DIFXAPISetLogCallbackW
 @ stub DriverPackageGetPathA
 @ stub DriverPackageGetPathW
-@ stub DriverPackageInstallA
-@ stub DriverPackageInstallW
+@ stdcall DriverPackageInstallA(str long ptr ptr)
+@ stdcall DriverPackageInstallW(wstr long ptr ptr)
 @ stdcall DriverPackagePreinstallA(str long)
 @ stdcall DriverPackagePreinstallW(wstr long)
 @ stub DriverPackageUninstallA
diff --git a/dlls/difxapi/main.c b/dlls/difxapi/main.c
index 8ffe6ab..5711e1c 100644
--- a/dlls/difxapi/main.c
+++ b/dlls/difxapi/main.c
@@ -49,3 +49,17 @@ DWORD WINAPI DriverPackagePreinstallW(LPCWSTR inf, DWORD flags)
     FIXME("(%s, %u) stub\n", wine_dbgstr_w(inf), flags);
     return ERROR_SUCCESS;
 }
+
+DWORD WINAPI DriverPackageInstallA(LPCSTR inf, DWORD flags, PCINSTALLERINFO_A info, BOOL *reboot)
+{
+    FIXME("(%s, %u, %p, %p) stub\n", wine_dbgstr_a(inf), flags, info, reboot);
+    if (reboot) *reboot = FALSE;
+    return ERROR_SUCCESS;
+}
+
+DWORD WINAPI DriverPackageInstallW(LPCWSTR inf, DWORD flags, PCINSTALLERINFO_W info, BOOL *reboot)
+{
+    FIXME("(%s, %u, %p, %p) stub\n", wine_dbgstr_w(inf), flags, info, reboot);
+    if (reboot) *reboot = FALSE;
+    return ERROR_SUCCESS;
+}
-- 
1.8.1.2




More information about the wine-patches mailing list