Chae Jong Bin : fltlib: Add stub for FilterUnload.
Alexandre Julliard
julliard at winehq.org
Tue Sep 4 12:38:37 CDT 2012
Module: wine
Branch: master
Commit: 4c6c8ed04102762a80e13a3fa1540b872ad19987
URL: http://source.winehq.org/git/wine.git/?a=commit;h=4c6c8ed04102762a80e13a3fa1540b872ad19987
Author: Chae Jong Bin <chae at trunk.so>
Date: Sun Sep 2 08:40:12 2012 -0400
fltlib: Add stub for FilterUnload.
---
dlls/fltlib/fltlib.c | 17 +++++++++++++++--
dlls/fltlib/fltlib.spec | 2 +-
2 files changed, 16 insertions(+), 3 deletions(-)
diff --git a/dlls/fltlib/fltlib.c b/dlls/fltlib/fltlib.c
index 9975a29..50f46ac 100644
--- a/dlls/fltlib/fltlib.c
+++ b/dlls/fltlib/fltlib.c
@@ -65,7 +65,7 @@ HRESULT WINAPI FilterConnectCommunicationPort(LPCWSTR lpPortName, DWORD dwOption
HRESULT WINAPI FilterFindFirst(DWORD class, LPVOID buffer, DWORD size, LPDWORD bytes_returned,
LPHANDLE handle)
{
- FIXME("%u, %p, %u, %p, %p\n", class, buffer, size, bytes_returned, handle);
+ FIXME("(%u, %p, %u, %p, %p) stub\n", class, buffer, size, bytes_returned, handle);
return HRESULT_FROM_WIN32(ERROR_NO_MORE_ITEMS);
}
@@ -74,6 +74,19 @@ HRESULT WINAPI FilterFindFirst(DWORD class, LPVOID buffer, DWORD size, LPDWORD b
*/
HRESULT WINAPI FilterFindClose(HANDLE handle)
{
- FIXME("%p\n", handle);
+ FIXME("(%p) stub\n", handle);
+ return S_OK;
+}
+
+/**********************************************************************
+ * FilterUnload (FLTLIB.@)
+ */
+HRESULT WINAPI FilterUnload(LPCWSTR lpFilterName)
+{
+ FIXME("(%s) 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
More information about the wine-cvs
mailing list