[Wine-patches] [eter-1.0.12] query: Add stub for LoadIFilter (eterbug #5484).

Alexander Morozov amorozov на etersoft.ru
Пт Авг 19 15:31:53 MSD 2011


----------- следующая часть -----------
From bc0ca90cc8282272b107b774561806603f897ddd Mon Sep 17 00:00:00 2001
From: Alexander Morozov <amorozov на etersoft.ru>
Date: Fri, 19 Aug 2011 15:05:38 +0400
Subject: [PATCH] query: Add stub for LoadIFilter (eterbug #5484).

---
 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 на 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 dd89894..c47c477 100644
--- a/dlls/query/query_main.c
+++ b/dlls/query/query_main.c
@@ -99,3 +99,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 a538b3c..68f67f3 100644
--- a/dlls/shell32/recyclebin.c
+++ b/dlls/shell32/recyclebin.c
@@ -30,8 +30,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 "wine/debug.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



Подробная информация о списке рассылки Wine-patches