From c307df85cc5129d78841f32dd27b343a901b8d76 Mon Sep 17 00:00:00 2001 From: Mike McCormack Date: Mon, 24 Jul 2006 11:55:32 +0900 Subject: [PATCH] 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 f8d177f422a..612ea2d1337 100644 --- a/dlls/query/query.spec +++ b/dlls/query/query.spec @@ -36,8 +36,8 @@ @ 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 6b083525a65..938c4ca7b05 100644 --- a/dlls/query/query_main.c +++ b/dlls/query/query_main.c @@ -76,3 +76,23 @@ HRESULT WINAPI CIState( WCHAR const *pwcsCat, WCHAR const *pwcsMachine, CI_STATE 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; +}