diff --git a/reactos/lib/msimg32/Makefile b/reactos/lib/msimg32/Makefile new file mode 100644 index 00000000000..2fc0aaff00a --- /dev/null +++ b/reactos/lib/msimg32/Makefile @@ -0,0 +1,9 @@ +# $Id: Makefile 7618 2004-01-14 01:47:46Z sedwards $ + +PATH_TO_TOP = ../.. + +TARGET_TYPE = winedll + +include $(PATH_TO_TOP)/rules.mak + +include $(TOOLS_PATH)/helper.mk diff --git a/reactos/lib/msimg32/Makefile.in b/reactos/lib/msimg32/Makefile.in new file mode 100644 index 00000000000..9314038c22a --- /dev/null +++ b/reactos/lib/msimg32/Makefile.in @@ -0,0 +1,12 @@ +TOPSRCDIR = @top_srcdir@ +TOPOBJDIR = ../.. +SRCDIR = @srcdir@ +VPATH = @srcdir@ +MODULE = msimg32.dll +IMPORTS = gdi32 kernel32 + +C_SRCS = msimg32_main.c + +@MAKE_DLL_RULES@ + +### Dependencies: diff --git a/reactos/lib/msimg32/Makefile.ros-template b/reactos/lib/msimg32/Makefile.ros-template new file mode 100644 index 00000000000..daca091a770 --- /dev/null +++ b/reactos/lib/msimg32/Makefile.ros-template @@ -0,0 +1,17 @@ +TARGET_NAME = msimg32 + +TARGET_OBJECTS = @C_SRCS@ + +TARGET_CFLAGS = @EXTRADEFS@ -D__REACTOS__ + +TARGET_SDKLIBS = @IMPORTS@ ntdll.a + +TARGET_BASE = $(TARGET_BASE_LIB_MSIMG32) + +TARGET_NORC = yes + +default: all + +DEP_OBJECTS = $(TARGET_OBJECTS) + +include $(TOOLS_PATH)/depend.mk diff --git a/reactos/lib/msimg32/msimg32.spec b/reactos/lib/msimg32/msimg32.spec new file mode 100644 index 00000000000..a5e3be36466 --- /dev/null +++ b/reactos/lib/msimg32/msimg32.spec @@ -0,0 +1,5 @@ +@ stdcall AlphaBlend(long long long long long long long long long long long) gdi32.GdiAlphaBlend +@ stub DllInitialize +@ stdcall GradientFill(long ptr long ptr long long) gdi32.GdiGradientFill +@ stdcall TransparentBlt(long long long long long long long long long long long) gdi32.GdiTransparentBlt +@ stdcall vSetDdrawflag() diff --git a/reactos/lib/msimg32/msimg32_main.c b/reactos/lib/msimg32/msimg32_main.c new file mode 100644 index 00000000000..43e71036240 --- /dev/null +++ b/reactos/lib/msimg32/msimg32_main.c @@ -0,0 +1,37 @@ +/* + * Copyright 2002 Uwe Bonnes + * + * 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., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA + */ + +#include + +#include "windef.h" +#include "winbase.h" +#include "wingdi.h" +#include "winerror.h" +#include "wine/debug.h" + +WINE_DEFAULT_DEBUG_CHANNEL(msimg32); + +/****************************************************************************** + * vSetDdrawflag (MSIMG32.@) + */ +void WINAPI vSetDdrawflag(void) +{ + static unsigned int vDrawflag=1; + FIXME("stub: vSetDrawFlag %u\n", vDrawflag); + SetLastError(ERROR_CALL_NOT_IMPLEMENTED); +}