query: Add stub for LoadIFilter.

Alexander Morozov amorozov at etersoft.ru
Wed Sep 7 04:20:09 CDT 2011


#include "ntquery.h" is moved to prevent building failure.
-------------- next part --------------
From 78b16524df207e486107fb00125878cf62136931 Mon Sep 17 00:00:00 2001
From: Alexander Morozov <amorozov at etersoft.ru>
Date: Fri, 19 Aug 2011 15:16:33 +0400
Subject: [PATCH] query: Add stub for LoadIFilter.

---
 dlls/query/query.spec     |    2 +-
 dlls/query/query_main.c   |    7 +++++++
 dlls/shell32/recyclebin.c |    2 +-
 include/ntquery.h         |    1 +
 4 files changed, 10 insertions(+), 2 deletions(-)

diff --git a/dlls/query/query.spec b/dlls/query/query.spec
index 612ea2d..71b9874 100644
--- a/dlls/query/query.spec
+++ b/dlls/query/query.spec
@@ -33,7 +33,7 @@
 @ stub InitializeFILTERPerformanceData
 @ stub _LoadBHIFilter at 16
 @ stub LoadBinaryFilter
-@ stub LoadIFilter
+@ stdcall LoadIFilter(wstr ptr ptr)
 @ stub LoadTextFilter
 @ stub LocateCatalogs
 @ stdcall LocateCatalogsA(str long ptr ptr ptr ptr)
diff --git a/dlls/query/query_main.c b/dlls/query/query_main.c
index 2d4e4ae..3414aec 100644
--- a/dlls/query/query_main.c
+++ b/dlls/query/query_main.c
@@ -98,3 +98,10 @@ HRESULT WINAPI LocateCatalogsW(WCHAR const *pwszScope, ULONG iBm,
           iBm, pwszMachine, pcMachine, pwszCat, pcCat);
     return CI_E_NOT_RUNNING;
 }
+
+HRESULT WINAPI LoadIFilter(WCHAR const *pwcsPath, IUnknown *pUnkOuter, void **ppIUnk)
+{
+    FIXME("%s %p %p\n", debugstr_w(pwcsPath), pUnkOuter, ppIUnk);
+    *ppIUnk = NULL;
+    return E_NOTIMPL;
+}
diff --git a/dlls/shell32/recyclebin.c b/dlls/shell32/recyclebin.c
index 39b662a..622a479 100644
--- a/dlls/shell32/recyclebin.c
+++ b/dlls/shell32/recyclebin.c
@@ -31,8 +31,8 @@
 #include "winbase.h"
 #include "winreg.h"
 #include "winuser.h"
-#include "ntquery.h"
 #include "shlwapi.h"
+#include "ntquery.h"
 #include "shlobj.h"
 #include "shresdef.h"
 #include "shellfolder.h"
diff --git a/include/ntquery.h b/include/ntquery.h
index fc78c32..928dafc 100644
--- a/include/ntquery.h
+++ b/include/ntquery.h
@@ -74,6 +74,7 @@ STDAPI CIState(WCHAR const *, WCHAR const *, CI_STATE *);
 STDAPI LocateCatalogsA(CHAR const *, ULONG, CHAR *, ULONG *, CHAR *, ULONG *);
 STDAPI LocateCatalogsW(WCHAR const *, ULONG, WCHAR *, ULONG *, WCHAR *, ULONG *);
 #define LocateCatalogs WINELIB_NAME_AW(LocateCatalogs)
+STDAPI LoadIFilter(WCHAR const *, IUnknown *, void **);
 
 #ifdef __cplusplus
 }
-- 
1.7.6



More information about the wine-patches mailing list