faultrep: Add a stub dll.

This commit is contained in:
Peter Dons Tychsen 2007-07-27 01:43:49 +02:00 committed by Alexandre Julliard
parent 7f1db3a3e4
commit a2cd64303b
7 changed files with 77 additions and 0 deletions

View File

@ -233,6 +233,7 @@ ALL_MAKEFILES = \
dlls/dxerr8/Makefile \
dlls/dxerr9/Makefile \
dlls/dxguid/Makefile \
dlls/faultrep/Makefile \
dlls/gdi32/Makefile \
dlls/gdi32/tests/Makefile \
dlls/gdiplus/Makefile \
@ -598,6 +599,7 @@ dlls/dxdiagn/Makefile: dlls/dxdiagn/Makefile.in dlls/Makedll.rules
dlls/dxerr8/Makefile: dlls/dxerr8/Makefile.in dlls/Makeimplib.rules
dlls/dxerr9/Makefile: dlls/dxerr9/Makefile.in dlls/Makeimplib.rules
dlls/dxguid/Makefile: dlls/dxguid/Makefile.in dlls/Makeimplib.rules
dlls/faultrep/Makefile: dlls/faultrep/Makefile.in dlls/Makedll.rules
dlls/gdi32/Makefile: dlls/gdi32/Makefile.in dlls/Makedll.rules
dlls/gdi32/tests/Makefile: dlls/gdi32/tests/Makefile.in dlls/Maketest.rules
dlls/gdiplus/Makefile: dlls/gdiplus/Makefile.in dlls/Makedll.rules

3
configure vendored
View File

@ -20416,6 +20416,8 @@ ac_config_files="$ac_config_files dlls/dxerr9/Makefile"
ac_config_files="$ac_config_files dlls/dxguid/Makefile"
ac_config_files="$ac_config_files dlls/faultrep/Makefile"
ac_config_files="$ac_config_files dlls/gdi32/Makefile"
ac_config_files="$ac_config_files dlls/gdi32/tests/Makefile"
@ -21607,6 +21609,7 @@ do
"dlls/dxerr8/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dxerr8/Makefile" ;;
"dlls/dxerr9/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dxerr9/Makefile" ;;
"dlls/dxguid/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dxguid/Makefile" ;;
"dlls/faultrep/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/faultrep/Makefile" ;;
"dlls/gdi32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/gdi32/Makefile" ;;
"dlls/gdi32/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/gdi32/tests/Makefile" ;;
"dlls/gdiplus/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/gdiplus/Makefile" ;;

View File

@ -1634,6 +1634,7 @@ AC_CONFIG_FILES([dlls/dxdiagn/Makefile])
AC_CONFIG_FILES([dlls/dxerr8/Makefile])
AC_CONFIG_FILES([dlls/dxerr9/Makefile])
AC_CONFIG_FILES([dlls/dxguid/Makefile])
AC_CONFIG_FILES([dlls/faultrep/Makefile])
AC_CONFIG_FILES([dlls/gdi32/Makefile])
AC_CONFIG_FILES([dlls/gdi32/tests/Makefile])
AC_CONFIG_FILES([dlls/gdiplus/Makefile])

View File

@ -73,6 +73,7 @@ BASEDIRS = \
dswave \
dwmapi \
dxdiagn \
faultrep \
gdi32 \
gdiplus \
gphoto2.ds \

12
dlls/faultrep/Makefile.in Normal file
View File

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

44
dlls/faultrep/faultrep.c Normal file
View File

@ -0,0 +1,44 @@
/* Fault report handling
*
* Copyright 2007 Peter Dons Tychsen
*
* 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(faultrep);
/***********************************************************************
* DllMain.
*/
BOOL WINAPI DllMain(HINSTANCE inst, DWORD reason, LPVOID reserved)
{
switch(reason)
{
case DLL_WINE_PREATTACH:
return FALSE;
case DLL_PROCESS_ATTACH:
DisableThreadLibraryCalls(inst);
break;
case DLL_PROCESS_DETACH:
break;
}
return TRUE;
}

View File

@ -0,0 +1,14 @@
@ stub AddERExcludedApplicationA
@ stub AddERExcludedApplicationW
@ stub CreateMinidumpA
@ stub CreateMinidumpW
@ stub ReportEREvent
@ stub ReportEREventDW
@ stub ReportFault
@ stub ReportFaultDWM
@ stub ReportFaultFromQueue
@ stub ReportFaultToQueue
@ stub ReportHang
@ stub ReportKernelFaultA
@ stub ReportKernelFaultDWW
@ stub ReportKernelFaultW