fltmgr.sys: add a stub for FltInitializePushLock
Austin English
austinenglish at gmail.com
Wed Oct 14 08:47:24 CDT 2015
For https://bugs.winehq.org/show_bug.cgi?id=39443
--
-Austin
-------------- next part --------------
From 97589d9c440243c3c9ea5a0b9ee103b5fc19fc25 Mon Sep 17 00:00:00 2001
From: Austin English <austinenglish at gmail.com>
Date: Wed, 14 Oct 2015 08:45:48 -0500
Subject: fltmgr.sys: add a stub for FltInitializePushLock
Signed-off-by: Austin English <austinenglish at gmail.com>
---
dlls/fltmgr.sys/main.c | 7 +++++++
include/ddk/ntifs.h | 12 ++++++++++++
2 files changed, 19 insertions(+)
diff --git a/dlls/fltmgr.sys/main.c b/dlls/fltmgr.sys/main.c
index 7341ef2..7ece8f2 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..418c40e 100644
--- a/include/ddk/ntifs.h
+++ b/include/ddk/ntifs.h
@@ -19,6 +19,18 @@
#ifndef __NTIFS_H__
#define __NTIFS_H__
+typedef struct _EX_PUSH_LOCK {
+ union {
+ struct {
+ ULONG waiting : 1;
+ ULONG exclusive : 1;
+ ULONG shared : 30;
+ } DUMMYSTRUCTNAME;
+ ULONG value;
+ VOID *ptr;
+ } DUMMYUNIONNAME;
+} EX_PUSH_LOCK, *PEX_PUSH_LOCK;
+
typedef struct _KQUEUE
{
DISPATCHER_HEADER Header;
--
2.6.1
More information about the wine-patches
mailing list