Import and merge Wine-20041201
authorGé van Geldorp <ge@gse.nl>
Fri, 31 Dec 2004 15:41:00 +0000 (15:41 +0000)
committerGé van Geldorp <ge@gse.nl>
Fri, 31 Dec 2004 15:41:00 +0000 (15:41 +0000)
svn path=/trunk/; revision=12587

reactos/lib/olepro32/Makefile [new file with mode: 0644]
reactos/lib/olepro32/Makefile.in [new file with mode: 0644]
reactos/lib/olepro32/Makefile.ros-template [new file with mode: 0644]
reactos/lib/olepro32/README [new file with mode: 0644]
reactos/lib/olepro32/olepro32.rc [new file with mode: 0644]
reactos/lib/olepro32/olepro32.spec [new file with mode: 0644]
reactos/lib/olepro32/olepro32stubs.c [new file with mode: 0644]

diff --git a/reactos/lib/olepro32/Makefile b/reactos/lib/olepro32/Makefile
new file mode 100644 (file)
index 0000000..87e171d
--- /dev/null
@@ -0,0 +1,9 @@
+# $Id: Makefile 8395 2004-02-26 02:01:13Z sedwards $\r
+\r
+PATH_TO_TOP = ../..\r
+\r
+TARGET_TYPE = winedll\r
+\r
+include $(PATH_TO_TOP)/rules.mak\r
+\r
+include $(TOOLS_PATH)/helper.mk\r
diff --git a/reactos/lib/olepro32/Makefile.in b/reactos/lib/olepro32/Makefile.in
new file mode 100644 (file)
index 0000000..3ea3a07
--- /dev/null
@@ -0,0 +1,12 @@
+TOPSRCDIR = @top_srcdir@\r
+TOPOBJDIR = ../..\r
+SRCDIR    = @srcdir@\r
+VPATH     = @srcdir@\r
+MODULE    = olepro32.dll\r
+IMPORTS   = oleaut32\r
+\r
+C_SRCS = olepro32stubs.c\r
+\r
+@MAKE_DLL_RULES@\r
+\r
+### Dependencies:\r
diff --git a/reactos/lib/olepro32/Makefile.ros-template b/reactos/lib/olepro32/Makefile.ros-template
new file mode 100644 (file)
index 0000000..dab9f9c
--- /dev/null
@@ -0,0 +1,21 @@
+# $Id: Makefile.ros-template 11910 2004-12-03 23:37:44Z blight $\r
+\r
+TARGET_NAME = olepro32\r
+\r
+TARGET_OBJECTS = @C_SRCS@\r
+\r
+TARGET_CFLAGS = @EXTRADEFS@\r
+\r
+TARGET_SDKLIBS = @IMPORTS@ wine.a wine_uuid.a ntdll.a oleaut32.a\r
+\r
+TARGET_BASE = $(TARGET_BASE_LIB_OLEPRO32)\r
+\r
+TARGET_RC_SRCS = @RC_SRCS@\r
+TARGET_RC_BINSRC = @RC_BINSRC@\r
+TARGET_RC_BINARIES = @RC_BINARIES@\r
+\r
+default: all\r
+\r
+DEP_OBJECTS = $(TARGET_OBJECTS)\r
+\r
+include $(TOOLS_PATH)/depend.mk\r
diff --git a/reactos/lib/olepro32/README b/reactos/lib/olepro32/README
new file mode 100644 (file)
index 0000000..58bc3ed
--- /dev/null
@@ -0,0 +1,9 @@
+29Nov99\r
+Sean Langley \r
+\r
+This library (OLEPRO32.DLL) is basically a sub-set of what is in OLEAUT32.DLL.\r
+The main difference under Win32 is that OLEPRO32.DLL can be used\r
+as a type library.  There are two functions in this DLL which are already \r
+implemented in Wine.  They are OleCreateFontIndirect, and OleTranslateColor.\r
+The spec file for both of these functions points to the functions in the\r
+OLEAUT32.DLL.\r
diff --git a/reactos/lib/olepro32/olepro32.rc b/reactos/lib/olepro32/olepro32.rc
new file mode 100644 (file)
index 0000000..6d936b3
--- /dev/null
@@ -0,0 +1,28 @@
+/* Language neutral resources.\r
+ *\r
+ * Copyright 2003 Stefan Leichter\r
+ *\r
+ * This library is free software; you can redistribute it and/or\r
+ * modify it under the terms of the GNU Lesser General Public\r
+ * License as published by the Free Software Foundation; either\r
+ * version 2.1 of the License, or (at your option) any later version.\r
+ *\r
+ * This library is distributed in the hope that it will be useful,\r
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of\r
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU\r
+ * Lesser General Public License for more details.\r
+ *\r
+ * You should have received a copy of the GNU Lesser General Public\r
+ * License along with this library; if not, write to the Free Software\r
+ * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA\r
+ */\r
+\r
+#define WINE_FILEDESCRIPTION_STR "Wine Cabinet File API"\r
+#define WINE_FILENAME_STR "cabinet.dll"\r
+#define WINE_FILEVERSION 5,0,2147,1\r
+#define WINE_FILEVERSION_STR "5.0.2147.1"\r
+\r
+#define WINE_PRODUCTVERSION 5,0,2147,1\r
+#define WINE_PRODUCTVERSION_STR "5.0"\r
+\r
+#include "wine/wine_common_ver.rc"\r
diff --git a/reactos/lib/olepro32/olepro32.spec b/reactos/lib/olepro32/olepro32.spec
new file mode 100644 (file)
index 0000000..204550c
--- /dev/null
@@ -0,0 +1,11 @@
+248 stdcall OleIconToCursor(long long) oleaut32.OleIconToCursor\r
+249 stdcall OleCreatePropertyFrameIndirect(ptr) oleaut32.OleCreatePropertyFrameIndirect\r
+250 stdcall OleCreatePropertyFrame(ptr long long ptr long ptr long ptr ptr long ptr) oleaut32.OleCreatePropertyFrame\r
+251 stdcall OleLoadPicture(ptr long long ptr ptr) oleaut32.OleLoadPicture\r
+252 stdcall OleCreatePictureIndirect(ptr ptr long ptr) oleaut32.OleCreatePictureIndirect\r
+253 stdcall OleCreateFontIndirect(ptr ptr ptr) oleaut32.OleCreateFontIndirect\r
+254 stdcall OleTranslateColor(long long long) oleaut32.OleTranslateColor\r
+@ stdcall -private DllCanUnloadNow() OLEPRO32_DllCanUnloadNow\r
+@ stdcall -private DllGetClassObject( ptr ptr ptr )  OLEPRO32_DllGetClassObject\r
+@ stdcall -private DllRegisterServer() OLEPRO32_DllRegisterServer\r
+@ stdcall -private DllUnregisterServer() OLEPRO32_DllUnregisterServer\r
diff --git a/reactos/lib/olepro32/olepro32stubs.c b/reactos/lib/olepro32/olepro32stubs.c
new file mode 100644 (file)
index 0000000..3c6d024
--- /dev/null
@@ -0,0 +1,68 @@
+/*\r
+ * OlePro32 Stubs\r
+ *\r
+ * Copyright 1999 Corel Corporation\r
+ *\r
+ * Sean Langley\r
+ *\r
+ * This library is free software; you can redistribute it and/or\r
+ * modify it under the terms of the GNU Lesser General Public\r
+ * License as published by the Free Software Foundation; either\r
+ * version 2.1 of the License, or (at your option) any later version.\r
+ *\r
+ * This library is distributed in the hope that it will be useful,\r
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of\r
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU\r
+ * Lesser General Public License for more details.\r
+ *\r
+ * You should have received a copy of the GNU Lesser General Public\r
+ * License along with this library; if not, write to the Free Software\r
+ * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA\r
+ */\r
+\r
+#define COM_NO_WINDOWS_H\r
+#include <stdarg.h>\r
+\r
+#include "wine/debug.h"\r
+#include "windef.h"\r
+#include "winbase.h"\r
+#include "winuser.h"\r
+#include "ole2.h"\r
+\r
+WINE_DEFAULT_DEBUG_CHANNEL(ole);\r
+\r
+/***********************************************************************\r
+ *             DllUnregisterServer (OLEPRO32.258)\r
+ */\r
+HRESULT WINAPI OLEPRO32_DllUnregisterServer()\r
+{\r
+       FIXME("not implemented (olepro32.dll) \n");\r
+       return S_OK;\r
+}\r
+\r
+/***********************************************************************\r
+ *             DllRegisterServer (OLEPRO32.257)\r
+ */\r
+HRESULT WINAPI OLEPRO32_DllRegisterServer()\r
+{\r
+       FIXME("not implemented (olepro32.dll) \n");\r
+       return S_OK;\r
+}\r
+\r
+/***********************************************************************\r
+ *             DllCanUnloadNow (OLEPRO32.255)\r
+ */\r
+HRESULT WINAPI OLEPRO32_DllCanUnloadNow(void)\r
+{\r
+       FIXME("not implemented (olepro32.dll) \n");\r
+       return S_OK;\r
+}\r
+\r
+/***********************************************************************\r
+ *             DllGetClassObject (OLEPRO32.256)\r
+ */\r
+HRESULT WINAPI OLEPRO32_DllGetClassObject( REFCLSID rclsid, REFIID riid, LPVOID* ppv )\r
+{\r
+       FIXME("not implemented (olepro32.dll) \n");\r
+       return S_OK;\r
+}\r