fltlib: Add semi-stub for FilterUnload

Jong Bin, Chae chae at trunk.so
Sun Sep 2 00:17:50 CDT 2012


-------------- next part --------------
From 9c4b655cbe8d8f07b676ad84f45b1c4b8ba77581 Mon Sep 17 00:00:00 2001
From: Chae Jong Bin <chae at trunk.so>
Date: Sun, 2 Sep 2012 08:40:12 -0400
Subject: fltlib: Add semi-stub for FilterUnload

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

diff --git a/dlls/fltlib/fltlib.c b/dlls/fltlib/fltlib.c
index 9975a29..a4a154b 100644
--- a/dlls/fltlib/fltlib.c
+++ b/dlls/fltlib/fltlib.c
@@ -77,3 +77,16 @@ HRESULT WINAPI FilterFindClose(HANDLE handle)
     FIXME("%p\n", handle);
     return S_OK;
 }
+
+/**********************************************************************
+ *      FilterUnload            (FLTLIB.@)
+ */
+HRESULT WINAPI FilterUnload(LPCWSTR lpFilterName)
+{
+    FIXME("(%s) semi-stub\n", debugstr_w(lpFilterName));
+
+    if (!lpFilterName)
+        return HRESULT_FROM_WIN32(ERROR_INVALID_PARAMETER);
+
+    return S_OK;
+}
diff --git a/dlls/fltlib/fltlib.spec b/dlls/fltlib/fltlib.spec
index ecf5893..91e803b 100644
--- a/dlls/fltlib/fltlib.spec
+++ b/dlls/fltlib/fltlib.spec
@@ -19,7 +19,7 @@
 @ stub FilterLoad
 @ stub FilterReplyMessage
 @ stub FilterSendMessage
-@ stub FilterUnload
+@ stdcall FilterUnload(wstr)
 @ stub FilterVolumeClose
 @ stub FilterVolumeFindClose
 @ stub FilterVolumeFindFirst
-- 
1.7.2.3


More information about the wine-patches mailing list