setupapi: Add stubs for pSetupInstallCatalog and pSetupVerifyCatalogFile.

Hans Leidekker hans at codeweavers.com
Mon Jan 5 09:00:42 CST 2009


More fixes for the ie7 installer (and others like dotnet3, msi31 and wic).
See http://bugs.winehq.org/show_bug.cgi?id=16013

 -Hans

diff --git a/dlls/setupapi/misc.c b/dlls/setupapi/misc.c
index 44a0349..6c0f68a 100644
--- a/dlls/setupapi/misc.c
+++ b/dlls/setupapi/misc.c
@@ -1122,6 +1122,15 @@ DWORD WINAPI InstallCatalog( LPCSTR catalog, LPCSTR basename, LPSTR fullname )
     return 0;
 }
 
+/***********************************************************************
+ *      pSetupInstallCatalog  (SETUPAPI.@)
+ */
+DWORD WINAPI pSetupInstallCatalog( LPCWSTR catalog, LPCWSTR basename, LPWSTR fullname )
+{
+    FIXME("%s, %s, %p\n", debugstr_w(catalog), debugstr_w(basename), fullname);
+    return 0;
+}
+
 static UINT detect_compression_type( LPCWSTR file )
 {
     DWORD size;
diff --git a/dlls/setupapi/setupapi.spec b/dlls/setupapi/setupapi.spec
index cd3c856..2996803 100644
--- a/dlls/setupapi/setupapi.spec
+++ b/dlls/setupapi/setupapi.spec
@@ -554,6 +554,7 @@
 @ stub pSetupGetVersionDatum
 @ stub pSetupGuidFromString
 @ stub pSetupIsGuidNull
+@ stdcall pSetupInstallCatalog(wstr wstr ptr)
 @ stdcall pSetupIsUserAdmin() IsUserAdmin
 @ stub pSetupMakeSurePathExists
 @ stdcall pSetupSetGlobalFlags(long)
@@ -571,4 +572,5 @@
 @ stdcall pSetupStringTableLookUpString(ptr wstr long) StringTableLookUpString
 @ stdcall pSetupStringTableLookUpStringEx(ptr wstr long ptr ptr) StringTableLookUpStringEx
 @ stdcall pSetupStringTableSetExtraData(ptr long ptr long) StringTableSetExtraData
+@ stub pSetupVerifyCatalogFile
 @ stub pSetupVerifyQueuedCatalogs



More information about the wine-patches mailing list