Copy msimg32
authorCasper Hornstrup <chorns@users.sourceforge.net>
Tue, 15 Feb 2005 20:55:59 +0000 (20:55 +0000)
committerCasper Hornstrup <chorns@users.sourceforge.net>
Tue, 15 Feb 2005 20:55:59 +0000 (20:55 +0000)
svn path=/branches/xmlbuildsystem/; revision=13589

reactos/lib/msimg32/Makefile [new file with mode: 0644]
reactos/lib/msimg32/Makefile.in [new file with mode: 0644]
reactos/lib/msimg32/Makefile.ros-template [new file with mode: 0644]
reactos/lib/msimg32/msimg32.spec [new file with mode: 0644]
reactos/lib/msimg32/msimg32_main.c [new file with mode: 0644]

diff --git a/reactos/lib/msimg32/Makefile b/reactos/lib/msimg32/Makefile
new file mode 100644 (file)
index 0000000..2fc0aaf
--- /dev/null
@@ -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 (file)
index 0000000..9314038
--- /dev/null
@@ -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 (file)
index 0000000..daca091
--- /dev/null
@@ -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 (file)
index 0000000..a5e3be3
--- /dev/null
@@ -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 (file)
index 0000000..43e7103
--- /dev/null
@@ -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 <stdarg.h>
+
+#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);
+}