=?UTF-8?Q?Michael=20M=C3=BCller=20?=: fltlib: Add stub for FilterLoad.

Alexandre Julliard julliard at wine.codeweavers.com
Thu Jun 25 08:19:40 CDT 2015


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

Author: Michael Müller <michael at fds-team.de>
Date:   Thu Jun 25 08:17:11 2015 +0200

fltlib: Add stub for FilterLoad.

---

 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)




More information about the wine-cvs mailing list