fltlib: Add stub for FilterLoad.

Sebastian Lackner sebastian at fds-team.de
Thu Jun 25 01:17:11 CDT 2015


From: Michael Müller <michael at fds-team.de>

---
 dlls/fltlib/fltlib.c    |   15 ++++++++++++---
 dlls/fltlib/fltlib.spec |    2 +-
 2 files changed, 13 insertions(+), 4 deletions(-)

diff --git a/dlls/fltlib/fltlib.c b/dlls/fltlib/fltlib.c
index 50f46ac..b968c2b 100644
--- a/dlls/fltlib/fltlib.c
+++ b/dlls/fltlib/fltlib.c
@@ -79,13 +79,22 @@ HRESULT WINAPI FilterFindClose(HANDLE handle)
 }
 
 /**********************************************************************
+ *      FilterLoad              (FLTLIB.@)
+ */
+HRESULT WINAPI FilterLoad(LPCWSTR filtername)
+{
+    FIXME("(%s) stub\n", debugstr_w(filtername));
+    return HRESULT_FROM_WIN32(ERROR_NOT_SUPPORTED);
+}
+
+/**********************************************************************
  *      FilterUnload            (FLTLIB.@)
  */
-HRESULT WINAPI FilterUnload(LPCWSTR lpFilterName)
+HRESULT WINAPI FilterUnload(LPCWSTR filtername)
 {
-    FIXME("(%s) stub\n", debugstr_w(lpFilterName));
+    FIXME("(%s) stub\n", debugstr_w(filtername));
 
-    if (!lpFilterName)
+    if (!filtername)
         return HRESULT_FROM_WIN32(ERROR_INVALID_PARAMETER);
 
     return S_OK;
diff --git a/dlls/fltlib/fltlib.spec b/dlls/fltlib/fltlib.spec
index 91e803b..226a615 100644
--- a/dlls/fltlib/fltlib.spec
+++ b/dlls/fltlib/fltlib.spec
@@ -16,7 +16,7 @@
 @ stub FilterInstanceFindFirst
 @ stub FilterInstanceFindNext
 @ stub FilterInstanceGetInformation
-@ stub FilterLoad
+@ stdcall FilterLoad(wstr)
 @ stub FilterReplyMessage
 @ stub FilterSendMessage
 @ stdcall FilterUnload(wstr)
-- 
2.4.3



More information about the wine-patches mailing list