Commit bed761c9 authored by Evan Stade's avatar Evan Stade Committed by Alexandre Julliard

gdiplus: Added stub implementation of gdiplus.dll.

parent 8bf41d88
......@@ -239,6 +239,7 @@ dlls/gdi32/tests/gdi32_crosstest.exe
dlls/gdi32/tests/testlist.c
dlls/gdi32/version.res
dlls/gdi32/version16.res
dlls/gdiplus/libgdiplus.def
dlls/glu32/libglu32.def
dlls/gphoto2.ds/rsrc.res
dlls/hhctrl.ocx/hhctrl.res
......
......@@ -233,6 +233,7 @@ ALL_MAKEFILES = \
dlls/dxguid/Makefile \
dlls/gdi32/Makefile \
dlls/gdi32/tests/Makefile \
dlls/gdiplus/Makefile \
dlls/glu32/Makefile \
dlls/gphoto2.ds/Makefile \
dlls/hal/Makefile \
......@@ -583,6 +584,7 @@ dlls/dxerr9/Makefile: dlls/dxerr9/Makefile.in dlls/Makeimplib.rules
dlls/dxguid/Makefile: dlls/dxguid/Makefile.in dlls/Makeimplib.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
dlls/glu32/Makefile: dlls/glu32/Makefile.in dlls/Makedll.rules
dlls/gphoto2.ds/Makefile: dlls/gphoto2.ds/Makefile.in dlls/Makedll.rules
dlls/hal/Makefile: dlls/hal/Makefile.in dlls/Makedll.rules
......
......@@ -20535,6 +20535,8 @@ ac_config_files="$ac_config_files dlls/gdi32/Makefile"
ac_config_files="$ac_config_files dlls/gdi32/tests/Makefile"
ac_config_files="$ac_config_files dlls/gdiplus/Makefile"
ac_config_files="$ac_config_files dlls/glu32/Makefile"
ac_config_files="$ac_config_files dlls/gphoto2.ds/Makefile"
......@@ -21696,6 +21698,7 @@ do
"dlls/dxguid/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dxguid/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" ;;
"dlls/glu32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/glu32/Makefile" ;;
"dlls/gphoto2.ds/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/gphoto2.ds/Makefile" ;;
"dlls/hal/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/hal/Makefile" ;;
......
......@@ -1563,6 +1563,7 @@ AC_CONFIG_FILES([dlls/dxerr9/Makefile])
AC_CONFIG_FILES([dlls/dxguid/Makefile])
AC_CONFIG_FILES([dlls/gdi32/Makefile])
AC_CONFIG_FILES([dlls/gdi32/tests/Makefile])
AC_CONFIG_FILES([dlls/gdiplus/Makefile])
AC_CONFIG_FILES([dlls/glu32/Makefile])
AC_CONFIG_FILES([dlls/gphoto2.ds/Makefile])
AC_CONFIG_FILES([dlls/hal/Makefile])
......
......@@ -72,6 +72,7 @@ BASEDIRS = \
dswave \
dxdiagn \
gdi32 \
gdiplus \
gphoto2.ds \
hal \
hhctrl.ocx \
......@@ -499,6 +500,7 @@ IMPORT_LIBS = \
dpnet/libdpnet.$(IMPLIBEXT) \
dsound/libdsound.$(IMPLIBEXT) \
gdi32/libgdi32.$(IMPLIBEXT) \
gdiplus/libgdiplus.$(IMPLIBEXT) \
glu32/libglu32.$(IMPLIBEXT) \
hid/libhid.$(IMPLIBEXT) \
hlink/libhlink.$(IMPLIBEXT) \
......@@ -701,6 +703,9 @@ dsound/libdsound.$(IMPLIBEXT): dsound/dsound.spec $(WINEBUILD)
gdi32/libgdi32.$(IMPLIBEXT): gdi32/gdi32.spec $(WINEBUILD)
@cd gdi32 && $(MAKE) libgdi32.$(IMPLIBEXT)
gdiplus/libgdiplus.$(IMPLIBEXT): gdiplus/gdiplus.spec $(WINEBUILD)
@cd gdiplus && $(MAKE) libgdiplus.$(IMPLIBEXT)
glu32/libglu32.$(IMPLIBEXT): glu32/glu32.spec $(WINEBUILD)
@cd glu32 && $(MAKE) libglu32.$(IMPLIBEXT)
......
TOPSRCDIR = @top_srcdir@
TOPOBJDIR = ../..
SRCDIR = @srcdir@
VPATH = @srcdir@
MODULE = gdiplus.dll
IMPORTLIB = libgdiplus.$(IMPLIBEXT)
IMPORTS = gdi32 advapi32 kernel32 ntdll
C_SRCS = \
gdiplus.c
@MAKE_DLL_RULES@
@DEPENDENCIES@ # everything below this line is overwritten by make depend
/*
* Copyright (C) 2007 Evan Stade
*
* 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 "winerror.h"
#include "wine/debug.h"
WINE_DEFAULT_DEBUG_CHANNEL(gdiplus);
/*****************************************************
* DllMain
*/
BOOL WINAPI DllMain(HINSTANCE hinst, DWORD reason, LPVOID reserved)
{
TRACE("(%p, %d, %p)\n", hinst, reason, reserved);
switch(reason)
{
case DLL_WINE_PREATTACH:
return FALSE; /* prefer native version */
case DLL_PROCESS_ATTACH:
DisableThreadLibraryCalls( hinst );
break;
}
return TRUE;
}
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment