Detlef Riekenberg : fltlib: Add a stub dll.

Alexandre Julliard julliard at winehq.org
Wed Sep 30 10:56:11 CDT 2009


Module: wine
Branch: master
Commit: eb8b165785ca85dbb221b1c7e81e71557b38425a
URL:    http://source.winehq.org/git/wine.git/?a=commit;h=eb8b165785ca85dbb221b1c7e81e71557b38425a

Author: Detlef Riekenberg <wine.dev at web.de>
Date:   Wed Sep 30 14:24:46 2009 +0200

fltlib: Add a stub dll.

---

 configure               |    9 +++++++++
 configure.ac            |    1 +
 dlls/fltlib/Makefile.in |   13 +++++++++++++
 dlls/fltlib/fltlib.c    |   45 +++++++++++++++++++++++++++++++++++++++++++++
 dlls/fltlib/fltlib.spec |   29 +++++++++++++++++++++++++++++
 5 files changed, 97 insertions(+), 0 deletions(-)

diff --git a/configure b/configure
index d05447a..9233a42 100755
--- a/configure
+++ b/configure
@@ -14860,6 +14860,14 @@ dlls/faultrep/Makefile: dlls/faultrep/Makefile.in dlls/Makedll.rules"
 ac_config_files="$ac_config_files dlls/faultrep/Makefile"
 
 ALL_MAKEFILES="$ALL_MAKEFILES \\
+	dlls/fltlib/Makefile"
+test "x$enable_fltlib" != xno && ALL_DLL_DIRS="$ALL_DLL_DIRS \\
+	fltlib"
+ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
+dlls/fltlib/Makefile: dlls/fltlib/Makefile.in dlls/Makedll.rules"
+ac_config_files="$ac_config_files dlls/fltlib/Makefile"
+
+ALL_MAKEFILES="$ALL_MAKEFILES \\
 	dlls/fusion/Makefile"
 test "x$enable_fusion" != xno && ALL_DLL_DIRS="$ALL_DLL_DIRS \\
 	fusion"
@@ -18846,6 +18854,7 @@ do
     "dlls/dxgi/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dxgi/tests/Makefile" ;;
     "dlls/dxguid/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dxguid/Makefile" ;;
     "dlls/faultrep/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/faultrep/Makefile" ;;
+    "dlls/fltlib/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/fltlib/Makefile" ;;
     "dlls/fusion/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/fusion/Makefile" ;;
     "dlls/fusion/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/fusion/tests/Makefile" ;;
     "dlls/gdi32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/gdi32/Makefile" ;;
diff --git a/configure.ac b/configure.ac
index 27ae652..3d32d28 100644
--- a/configure.ac
+++ b/configure.ac
@@ -2220,6 +2220,7 @@ WINE_CONFIG_MAKEFILE([dlls/dxgi/Makefile],[dlls/Makedll.rules],[dlls],[ALL_DLL_D
 WINE_CONFIG_MAKEFILE([dlls/dxgi/tests/Makefile],[dlls/Maketest.rules],[dlls],[ALL_TEST_DIRS],[enable_tests])
 WINE_CONFIG_MAKEFILE([dlls/dxguid/Makefile],[dlls/Makeimplib.rules],[dlls],[ALL_IMPLIB_DIRS])
 WINE_CONFIG_MAKEFILE([dlls/faultrep/Makefile],[dlls/Makedll.rules],[dlls],[ALL_DLL_DIRS])
+WINE_CONFIG_MAKEFILE([dlls/fltlib/Makefile],[dlls/Makedll.rules],[dlls],[ALL_DLL_DIRS])
 WINE_CONFIG_MAKEFILE([dlls/fusion/Makefile],[dlls/Makedll.rules],[dlls],[ALL_DLL_DIRS])
 WINE_CONFIG_MAKEFILE([dlls/fusion/tests/Makefile],[dlls/Maketest.rules],[dlls],[ALL_TEST_DIRS],[enable_tests])
 WINE_CONFIG_MAKEFILE([dlls/gdi32/Makefile],[dlls/Makedll.rules],[dlls],[ALL_DLL_DIRS])
diff --git a/dlls/fltlib/Makefile.in b/dlls/fltlib/Makefile.in
new file mode 100644
index 0000000..f0addf1
--- /dev/null
+++ b/dlls/fltlib/Makefile.in
@@ -0,0 +1,13 @@
+TOPSRCDIR = @top_srcdir@
+TOPOBJDIR = ../..
+SRCDIR    = @srcdir@
+VPATH     = @srcdir@
+MODULE    = fltlib.dll
+IMPORTS   = kernel32
+
+C_SRCS = \
+	fltlib.c
+
+ at MAKE_DLL_RULES@
+
+ at DEPENDENCIES@  # everything below this line is overwritten by make depend
diff --git a/dlls/fltlib/fltlib.c b/dlls/fltlib/fltlib.c
new file mode 100644
index 0000000..08baf8f
--- /dev/null
+++ b/dlls/fltlib/fltlib.c
@@ -0,0 +1,45 @@
+/*
+ * Copyright 2009 Detlef Riekenberg
+ *
+ * This library is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU Lesser General Public
+ * License as published by the Free Software Foundation; either
+ * version 2.1 of the License, or (at your option) any later version.
+ *
+ * This library is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
+ * Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public
+ * 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>
+
+#include "windef.h"
+#include "winbase.h"
+#include "wine/debug.h"
+
+WINE_DEFAULT_DEBUG_CHANNEL(fltlib);
+
+/*****************************************************
+ *      DllMain
+ */
+BOOL WINAPI DllMain(HINSTANCE hinstDLL, DWORD fdwReason, LPVOID lpvReserved)
+{
+    TRACE("(0x%p, %d, %p)\n", hinstDLL, fdwReason, lpvReserved);
+
+    switch (fdwReason)
+    {
+        case DLL_WINE_PREATTACH:
+            return FALSE;    /* use native version */
+
+        case DLL_PROCESS_ATTACH:
+            DisableThreadLibraryCalls(hinstDLL);
+            break;
+    }
+    return TRUE;
+}
diff --git a/dlls/fltlib/fltlib.spec b/dlls/fltlib/fltlib.spec
new file mode 100644
index 0000000..ac1d7ec
--- /dev/null
+++ b/dlls/fltlib/fltlib.spec
@@ -0,0 +1,29 @@
+@ stub FilterAttach
+@ stub FilterAttachAtAltitude
+@ stub FilterClose
+@ stub FilterConnectCommunicationPort
+@ stub FilterCreate
+@ stub FilterDetach
+@ stub FilterFindClose
+@ stub FilterFindFirst
+@ stub FilterFindNext
+@ stub FilterGetDosName
+@ stub FilterGetInformation
+@ stub FilterGetMessage
+@ stub FilterInstanceClose
+@ stub FilterInstanceCreate
+@ stub FilterInstanceFindClose
+@ stub FilterInstanceFindFirst
+@ stub FilterInstanceFindNext
+@ stub FilterInstanceGetInformation
+@ stub FilterLoad
+@ stub FilterReplyMessage
+@ stub FilterSendMessage
+@ stub FilterUnload
+@ stub FilterVolumeClose
+@ stub FilterVolumeFindClose
+@ stub FilterVolumeFindFirst
+@ stub FilterVolumeFindNext
+@ stub FilterVolumeInstanceFindClose
+@ stub FilterVolumeInstanceFindFirst
+@ stub FilterVolumeInstanceFindNext




More information about the wine-cvs mailing list