fltmgr.sys: add FltInitializePushLock stub (try 3)

Austin English austinenglish at gmail.com
Sat Oct 17 08:42:21 CDT 2015


Try 3: EX_PUSH_LOCK/PEX_PUSH_LOCK from Win7 DDK
(http://codemachine.com/downloads/win71/ntifs.h) instead of Mingw

-- 
-Austin
-------------- next part --------------
From e59d1f37e6de203ed2b2928dc90d5f5472ee4022 Mon Sep 17 00:00:00 2001
From: Austin English <austinenglish at gmail.com>
Date: Sat, 17 Oct 2015 08:37:01 -0500
Subject: [PATCH] fltmgr.sys: add FltInitializePushLock stub (try 3)

Signed-off-by: Austin English <austinenglish at gmail.com>
---
 dlls/fltmgr.sys/main.c | 7 +++++++
 include/ddk/ntifs.h    | 4 ++++
 2 files changed, 11 insertions(+)

diff --git a/dlls/fltmgr.sys/main.c b/dlls/fltmgr.sys/main.c
index 7341ef2..5a8ccab 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..8d22d41 100644
--- a/include/ddk/ntifs.h
+++ b/include/ddk/ntifs.h
@@ -19,6 +19,9 @@
 #ifndef __NTIFS_H__
 #define __NTIFS_H__
 
+#define EX_PUSH_LOCK ULONG_PTR
+#define PEX_PUSH_LOCK PULONG_PTR
+
 typedef struct _KQUEUE
 {
   DISPATCHER_HEADER Header;
@@ -29,5 +32,6 @@ typedef struct _KQUEUE
 } KQUEUE, *PKQUEUE, *RESTRICTED_POINTER PRKQUEUE;
 
 NTSTATUS WINAPI ObQueryNameString(PVOID,POBJECT_NAME_INFORMATION,ULONG,PULONG);
+void WINAPI ExInitializePushLock(EX_PUSH_LOCK *);
 
 #endif
-- 
2.6.1



More information about the wine-patches mailing list