fltlib: Add a stub dll.

This commit is contained in:
Detlef Riekenberg 2009-09-30 14:24:46 +02:00 committed by Alexandre Julliard
parent 83e912743c
commit eb8b165785
5 changed files with 97 additions and 0 deletions

9
configure vendored
View File

@ -14859,6 +14859,14 @@ ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
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 \\
@ -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" ;;

View File

@ -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])

13
dlls/fltlib/Makefile.in Normal file
View File

@ -0,0 +1,13 @@
TOPSRCDIR = @top_srcdir@
TOPOBJDIR = ../..
SRCDIR = @srcdir@
VPATH = @srcdir@
MODULE = fltlib.dll
IMPORTS = kernel32
C_SRCS = \
fltlib.c
@MAKE_DLL_RULES@
@DEPENDENCIES@ # everything below this line is overwritten by make depend

45
dlls/fltlib/fltlib.c Normal file
View File

@ -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;
}

29
dlls/fltlib/fltlib.spec Normal file
View File

@ -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