fltmgr-Stub_SYS: Fix Makefile.in (try 2).

This commit is contained in:
Sebastian Lackner 2015-06-03 18:58:58 +02:00
parent 2412d1f4eb
commit 873d07d7d7

View File

@ -1,15 +1,15 @@
From 5238cb5dfb037fa2409bc45c17353b3a32c4a0a6 Mon Sep 17 00:00:00 2001
From bc572d7b569aa67eb0c951c18af421a6e62883fe Mon Sep 17 00:00:00 2001
From: Austin English <austinenglish@gmail.com>
Date: Wed, 25 Feb 2015 00:55:44 -0600
Subject: fltmgr.sys: add stub dll (try 4)
---
configure.ac | 1 +
dlls/fltmgr.sys/Makefile.in | 3 +
dlls/fltmgr.sys/Makefile.in | 5 ++
dlls/fltmgr.sys/fltmgr.sys.spec | 163 ++++++++++++++++++++++++++++++++++++++++
dlls/fltmgr.sys/main.c | 37 +++++++++
dlls/fltmgr.sys/main.c | 38 ++++++++++
loader/wine.inf.in | 2 +
5 files changed, 206 insertions(+)
5 files changed, 209 insertions(+)
create mode 100644 dlls/fltmgr.sys/Makefile.in
create mode 100644 dlls/fltmgr.sys/fltmgr.sys.spec
create mode 100644 dlls/fltmgr.sys/main.c
@ -28,13 +28,15 @@ index c61a975..a7a262f 100644
WINE_CONFIG_DLL(fusion)
diff --git a/dlls/fltmgr.sys/Makefile.in b/dlls/fltmgr.sys/Makefile.in
new file mode 100644
index 0000000..3b1a3b0
index 0000000..3fefde7
--- /dev/null
+++ b/dlls/fltmgr.sys/Makefile.in
@@ -0,0 +1,3 @@
@@ -0,0 +1,5 @@
+MODULE = fltmgr.sys
+IMPORTS = ntoskrnl.exe
+EXTRADLLFLAGS = -Wb,--subsystem,native
+
+C_SRCS = \
+ main.c
diff --git a/dlls/fltmgr.sys/fltmgr.sys.spec b/dlls/fltmgr.sys/fltmgr.sys.spec
new file mode 100644
index 0000000..5310269
@ -206,10 +208,10 @@ index 0000000..5310269
+@ stub FltWriteFile
diff --git a/dlls/fltmgr.sys/main.c b/dlls/fltmgr.sys/main.c
new file mode 100644
index 0000000..6cd7b15
index 0000000..7341ef2
--- /dev/null
+++ b/dlls/fltmgr.sys/main.c
@@ -0,0 +1,37 @@
@@ -0,0 +1,38 @@
+/*
+ * fltmgr.sys
+ *
@ -229,12 +231,12 @@ index 0000000..6cd7b15
+ * License along with this library; if not, write to the Free Software
+ * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
+ */
+
+#include <stdarg.h>
+
+#define NONAMELESSUNION
+#define NONAMELESSSTRUCT
+
+#include "ntstatus.h"
+#define WIN32_NO_STATUS
+#include "windef.h"
+#include "winbase.h"
+#include "winternl.h"
+#include "ddk/wdm.h"
@ -245,6 +247,7 @@ index 0000000..6cd7b15
+NTSTATUS WINAPI DriverEntry( DRIVER_OBJECT *driver, UNICODE_STRING *path )
+{
+ TRACE( "(%p, %s)\n", driver, debugstr_w(path->Buffer) );
+
+ return STATUS_SUCCESS;
+}
diff --git a/loader/wine.inf.in b/loader/wine.inf.in