mirror of
https://gitlab.winehq.org/wine/wine-staging.git
synced 2024-11-21 16:46:54 -08:00
fltlib-FilterLoad: Minor style improvements.
This commit is contained in:
parent
9f4a601887
commit
76b602e336
@ -1,33 +1,43 @@
|
||||
From b227af567a06d06fc453d227926faa936304eccd Mon Sep 17 00:00:00 2001
|
||||
From eea1bf682741ba15c313e8467ea5156e59dd87b8 Mon Sep 17 00:00:00 2001
|
||||
From: =?UTF-8?q?Michael=20M=C3=BCller?= <michael@fds-team.de>
|
||||
Date: Mon, 11 May 2015 18:14:42 +0200
|
||||
Subject: fltlib: Add stub for FilterLoad
|
||||
Date: Fri, 19 Jun 2015 05:01:49 +0200
|
||||
Subject: fltlib: Add stub for FilterLoad.
|
||||
|
||||
---
|
||||
dlls/fltlib/fltlib.c | 9 +++++++++
|
||||
dlls/fltlib/fltlib.spec | 2 +-
|
||||
2 files changed, 10 insertions(+), 1 deletion(-)
|
||||
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..bf2fa9c 100644
|
||||
index 50f46ac..b968c2b 100644
|
||||
--- a/dlls/fltlib/fltlib.c
|
||||
+++ b/dlls/fltlib/fltlib.c
|
||||
@@ -79,6 +79,15 @@ HRESULT WINAPI FilterFindClose(HANDLE handle)
|
||||
@@ -79,13 +79,22 @@ HRESULT WINAPI FilterFindClose(HANDLE handle)
|
||||
}
|
||||
|
||||
/**********************************************************************
|
||||
+ * FilterLoad (FLTLIB.@)
|
||||
+ */
|
||||
+HRESULT WINAPI FilterLoad(LPCWSTR lpFilterName)
|
||||
+HRESULT WINAPI FilterLoad(LPCWSTR filtername)
|
||||
+{
|
||||
+ FIXME("(%s) stub\n", debugstr_w(lpFilterName));
|
||||
+ return S_OK;
|
||||
+ 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 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
|
||||
@ -42,5 +52,5 @@ index 91e803b..226a615 100644
|
||||
@ stub FilterSendMessage
|
||||
@ stdcall FilterUnload(wstr)
|
||||
--
|
||||
2.4.0
|
||||
2.4.3
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user