Alistair Leslie-Hughes : fltmgr.sys: Add FltRegisterFilter stub.
Alexandre Julliard
julliard at winehq.org
Wed Apr 4 15:08:04 CDT 2018
Module: wine
Branch: master
Commit: b2ebe2834fb5a87df095008c66ef713a5bf2b2f9
URL: https://source.winehq.org/git/wine.git/?a=commit;h=b2ebe2834fb5a87df095008c66ef713a5bf2b2f9
Author: Alistair Leslie-Hughes <leslie_alistair at hotmail.com>
Date: Thu Mar 22 03:48:11 2018 +0000
fltmgr.sys: Add FltRegisterFilter stub.
Signed-off-by: Alistair Leslie-Hughes <leslie_alistair at hotmail.com>
Signed-off-by: Alexandre Julliard <julliard at winehq.org>
---
dlls/fltmgr.sys/fltmgr.sys.spec | 2 +-
dlls/fltmgr.sys/main.c | 10 ++++++++++
2 files changed, 11 insertions(+), 1 deletion(-)
diff --git a/dlls/fltmgr.sys/fltmgr.sys.spec b/dlls/fltmgr.sys/fltmgr.sys.spec
index ea84d81..000368f 100644
--- a/dlls/fltmgr.sys/fltmgr.sys.spec
+++ b/dlls/fltmgr.sys/fltmgr.sys.spec
@@ -128,7 +128,7 @@
@ stub FltReadFile
@ stub FltReferenceContext
@ stub FltReferenceFileNameInformation
-@ stub FltRegisterFilter
+@ stdcall FltRegisterFilter(ptr ptr ptr)
@ stub FltReissueSynchronousIo
@ stub FltReleaseContext
@ stub FltReleaseContexts
diff --git a/dlls/fltmgr.sys/main.c b/dlls/fltmgr.sys/main.c
index 09c89a1..d690a29 100644
--- a/dlls/fltmgr.sys/main.c
+++ b/dlls/fltmgr.sys/main.c
@@ -42,3 +42,13 @@ void WINAPI FltInitializePushLock( EX_PUSH_LOCK *lock )
{
FIXME( "(%p): stub\n", lock );
}
+
+NTSTATUS WINAPI FltRegisterFilter( PDRIVER_OBJECT driver, const FLT_REGISTRATION *reg, PFLT_FILTER *filter )
+{
+ FIXME( "(%p,%p,%p): stub\n", driver, reg, filter );
+
+ if(filter)
+ *filter = UlongToHandle(0xdeadbeaf);
+
+ return STATUS_SUCCESS;
+}
More information about the wine-cvs
mailing list