Alexander Morozov : query: Add stub for LoadIFilter.

Alexandre Julliard julliard at winehq.org
Thu Sep 8 14:52:12 CDT 2011


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

Author: Alexander Morozov <amorozov at etersoft.ru>
Date:   Fri Aug 19 15:16:33 2011 +0400

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 eec9e00..4a8cec4 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
 }




More information about the wine-cvs mailing list