fltmgr.sys: add FltInitializePushLock stub (try 5) (resend)
Austin English
austinenglish at gmail.com
Wed Nov 4 12:51:39 CST 2015
Supersedes https://source.winehq.org/patches/data/115598
For https://bugs.winehq.org/show_bug.cgi?id=39443
--
-Austin
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.winehq.org/pipermail/wine-patches/attachments/20151104/c804c3b1/attachment.html>
-------------- next part --------------
From f5165e4763e4cf294adb06866b1492814ea5be3b Mon Sep 17 00:00:00 2001
From: Austin English <austinenglish at gmail.com>
Date: Wed, 4 Nov 2015 10:46:50 -0800
Subject: [PATCH] fltmgr.sys: add FltInitializePushLock stub (try 5) (resend)
Signed-off-by: Austin English <austinenglish at gmail.com>
---
dlls/fltmgr.sys/fltmgr.sys.spec | 2 +-
dlls/fltmgr.sys/main.c | 7 +++++++
include/ddk/ntifs.h | 2 ++
3 files changed, 10 insertions(+), 1 deletion(-)
diff --git a/dlls/fltmgr.sys/fltmgr.sys.spec b/dlls/fltmgr.sys/fltmgr.sys.spec
index 5310269..ea84d81 100644
--- a/dlls/fltmgr.sys/fltmgr.sys.spec
+++ b/dlls/fltmgr.sys/fltmgr.sys.spec
@@ -97,7 +97,7 @@
@ stub FltGetVolumeProperties
@ stub FltInitializeFileLock
@ stub FltInitializeOplock
-@ stub FltInitializePushLock
+@ stdcall FltInitializePushLock(ptr)
@ stub FltIs32bitProcess
@ stub FltIsCallbackDataDirty
@ stub FltIsDirectory
diff --git a/dlls/fltmgr.sys/main.c b/dlls/fltmgr.sys/main.c
index 7341ef2..70ee307 100644
--- a/dlls/fltmgr.sys/main.c
+++ b/dlls/fltmgr.sys/main.c
@@ -25,6 +25,8 @@
#include "windef.h"
#include "winbase.h"
#include "winternl.h"
+#include "ddk/ntddk.h"
+#include "ddk/ntifs.h"
#include "ddk/wdm.h"
#include "wine/debug.h"
@@ -36,3 +38,8 @@ NTSTATUS WINAPI DriverEntry( DRIVER_OBJECT *driver, UNICODE_STRING *path )
return STATUS_SUCCESS;
}
+
+void WINAPI FltInitializePushLock( EX_PUSH_LOCK *lock )
+{
+ FIXME( "(%p): stub\n", lock );
+}
diff --git a/include/ddk/ntifs.h b/include/ddk/ntifs.h
index a8d90a1..32c9e30 100644
--- a/include/ddk/ntifs.h
+++ b/include/ddk/ntifs.h
@@ -19,6 +19,8 @@
#ifndef __NTIFS_H__
#define __NTIFS_H__
+typedef struct _EX_PUSH_LOCK EX_PUSH_LOCK, *PEX_PUSH_LOCK;
+
typedef struct _KQUEUE
{
DISPATCHER_HEADER Header;
--
2.4.2
More information about the wine-patches
mailing list