[3/5] difxapi: Add stubs for DriverPackageUninstall{A,W}

André Hentschel nerv at dawncrow.de
Sun Jun 2 07:39:36 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 b4409bd..8ce068d 100644
--- a/dlls/difxapi/difxapi.spec
+++ b/dlls/difxapi/difxapi.spec
@@ -6,5 +6,5 @@
 @ stdcall DriverPackageInstallW(wstr long ptr ptr)
 @ stdcall DriverPackagePreinstallA(str long)
 @ stdcall DriverPackagePreinstallW(wstr long)
-@ stub DriverPackageUninstallA
-@ stub DriverPackageUninstallW
+@ stdcall DriverPackageUninstallA(str long ptr ptr)
+@ stdcall DriverPackageUninstallW(wstr long ptr ptr)
diff --git a/dlls/difxapi/main.c b/dlls/difxapi/main.c
index 5711e1c..a2dde78 100644
--- a/dlls/difxapi/main.c
+++ b/dlls/difxapi/main.c
@@ -63,3 +63,17 @@ DWORD WINAPI DriverPackageInstallW(LPCWSTR inf, DWORD flags, PCINSTALLERINFO_W i
     if (reboot) *reboot = FALSE;
     return ERROR_SUCCESS;
 }
+
+DWORD WINAPI DriverPackageUninstallA(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 DriverPackageUninstallW(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