Mike McCormack : query: Add a stub implementation for LocateCatalogs.

Alexandre Julliard julliard at wine.codeweavers.com
Mon Jul 24 06:54:58 CDT 2006


Module: wine
Branch: refs/heads/master
Commit: c307df85cc5129d78841f32dd27b343a901b8d76
URL:    http://source.winehq.org/git/?p=wine.git;a=commit;h=c307df85cc5129d78841f32dd27b343a901b8d76

Author: Mike McCormack <mike at codeweavers.com>
Date:   Mon Jul 24 11:55:32 2006 +0900

query: Add a stub implementation for LocateCatalogs.

---

 dlls/query/query.spec   |    4 ++--
 dlls/query/query_main.c |   20 ++++++++++++++++++++
 2 files changed, 22 insertions(+), 2 deletions(-)

diff --git a/dlls/query/query.spec b/dlls/query/query.spec
index f8d177f..612ea2d 100644
--- a/dlls/query/query.spec
+++ b/dlls/query/query.spec
@@ -36,8 +36,8 @@ # @ stdcall -private DllUnregisterServer
 @ stub LoadIFilter
 @ stub LoadTextFilter
 @ stub LocateCatalogs
-@ stub LocateCatalogsA
-@ stub LocateCatalogsW
+@ stdcall LocateCatalogsA(str long ptr ptr ptr ptr)
+@ stdcall LocateCatalogsW(wstr long ptr ptr ptr ptr)
 @ stub SetCatalogState
 @ stub SetupCache
 @ stub SetupCacheEx
diff --git a/dlls/query/query_main.c b/dlls/query/query_main.c
index 6b08352..938c4ca 100644
--- a/dlls/query/query_main.c
+++ b/dlls/query/query_main.c
@@ -76,3 +76,23 @@ HRESULT WINAPI CIState( WCHAR const *pwc
     FIXME("%s %s %p\n", debugstr_w(pwcsCat), debugstr_w(pwcsMachine), pCiState);
     return CI_E_NOT_RUNNING;
 }
+
+HRESULT WINAPI LocateCatalogsA(CHAR const *pwszScope, ULONG iBm,
+                               CHAR *pwszMachine, ULONG *pcMachine,
+                               CHAR *pwszCat, ULONG *pcCat)
+{
+
+    FIXME("%s %lu %p %p %p %p\n", debugstr_a(pwszScope),
+          iBm, pwszMachine, pcMachine, pwszCat, pcCat);
+    return CI_E_NOT_RUNNING;
+}
+
+HRESULT WINAPI LocateCatalogsW(WCHAR const *pwszScope, ULONG iBm,
+                               WCHAR *pwszMachine, ULONG *pcMachine,
+                               WCHAR *pwszCat, ULONG *pcCat)
+{
+
+    FIXME("%s %lu %p %p %p %p\n", debugstr_w(pwszScope),
+          iBm, pwszMachine, pcMachine, pwszCat, pcCat);
+    return CI_E_NOT_RUNNING;
+}




More information about the wine-cvs mailing list