Module: wine Branch: master Commit: 7db1bd9fbbf2a26fd0d1a0cab06c38552053c722 URL: http://source.winehq.org/git/wine.git/?a=commit;h=7db1bd9fbbf2a26fd0d1a0cab0...
Author: Stefan Leichter Stefan.Leichter@camline.com Date: Fri Sep 7 21:15:41 2007 +0200
olethk32: Added stub implementation.
---
.gitignore | 1 + Makefile.in | 2 ++ configure | 3 +++ configure.ac | 1 + dlls/Makefile.in | 1 + dlls/olethk32/Makefile.in | 14 ++++++++++++++ dlls/olethk32/main.c | 37 +++++++++++++++++++++++++++++++++++++ dlls/olethk32/olethk32.spec | 14 ++++++++++++++ dlls/olethk32/version.rc | 26 ++++++++++++++++++++++++++ 9 files changed, 99 insertions(+), 0 deletions(-)
diff --git a/.gitignore b/.gitignore index 95e06ac..a2f5a1c 100644 --- a/.gitignore +++ b/.gitignore @@ -433,6 +433,7 @@ dlls/olepro32/libolepro32.def dlls/olepro32/version.res dlls/olesvr.dll16 dlls/olesvr32/libolesvr32.def +dlls/olethk32/version.res dlls/opengl32/libopengl32.def dlls/opengl32/tests/*.ok dlls/opengl32/tests/opengl32_crosstest.exe diff --git a/Makefile.in b/Makefile.in index 4c8b99e..c7f426d 100644 --- a/Makefile.in +++ b/Makefile.in @@ -335,6 +335,7 @@ ALL_MAKEFILES = \ dlls/oledlg/Makefile \ dlls/olepro32/Makefile \ dlls/olesvr32/Makefile \ + dlls/olethk32/Makefile \ dlls/opengl32/Makefile \ dlls/opengl32/tests/Makefile \ dlls/pdh/Makefile \ @@ -702,6 +703,7 @@ dlls/olecli32/Makefile: dlls/olecli32/Makefile.in dlls/Makedll.rules dlls/oledlg/Makefile: dlls/oledlg/Makefile.in dlls/Makedll.rules dlls/olepro32/Makefile: dlls/olepro32/Makefile.in dlls/Makedll.rules dlls/olesvr32/Makefile: dlls/olesvr32/Makefile.in dlls/Makedll.rules +dlls/olethk32/Makefile: dlls/olethk32/Makefile.in dlls/Makedll.rules dlls/opengl32/Makefile: dlls/opengl32/Makefile.in dlls/Makedll.rules dlls/opengl32/tests/Makefile: dlls/opengl32/tests/Makefile.in dlls/Maketest.rules dlls/pdh/Makefile: dlls/pdh/Makefile.in dlls/Makedll.rules diff --git a/configure b/configure index a94ced7..900ac54 100755 --- a/configure +++ b/configure @@ -20618,6 +20618,8 @@ ac_config_files="$ac_config_files dlls/olepro32/Makefile"
ac_config_files="$ac_config_files dlls/olesvr32/Makefile"
+ac_config_files="$ac_config_files dlls/olethk32/Makefile" + ac_config_files="$ac_config_files dlls/opengl32/Makefile"
ac_config_files="$ac_config_files dlls/opengl32/tests/Makefile" @@ -21711,6 +21713,7 @@ do "dlls/oledlg/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/oledlg/Makefile" ;; "dlls/olepro32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/olepro32/Makefile" ;; "dlls/olesvr32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/olesvr32/Makefile" ;; + "dlls/olethk32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/olethk32/Makefile" ;; "dlls/opengl32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/opengl32/Makefile" ;; "dlls/opengl32/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/opengl32/tests/Makefile" ;; "dlls/pdh/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/pdh/Makefile" ;; diff --git a/configure.ac b/configure.ac index 16a6370..fe36eb2 100644 --- a/configure.ac +++ b/configure.ac @@ -1744,6 +1744,7 @@ AC_CONFIG_FILES([dlls/olecli32/Makefile]) AC_CONFIG_FILES([dlls/oledlg/Makefile]) AC_CONFIG_FILES([dlls/olepro32/Makefile]) AC_CONFIG_FILES([dlls/olesvr32/Makefile]) +AC_CONFIG_FILES([dlls/olethk32/Makefile]) AC_CONFIG_FILES([dlls/opengl32/Makefile]) AC_CONFIG_FILES([dlls/opengl32/tests/Makefile]) AC_CONFIG_FILES([dlls/pdh/Makefile]) diff --git a/dlls/Makefile.in b/dlls/Makefile.in index e16b37d..a842dfc 100644 --- a/dlls/Makefile.in +++ b/dlls/Makefile.in @@ -149,6 +149,7 @@ BASEDIRS = \ oledlg \ olepro32 \ olesvr32 \ + olethk32 \ pdh \ powrprof \ printui \ diff --git a/dlls/olethk32/Makefile.in b/dlls/olethk32/Makefile.in new file mode 100644 index 0000000..3dd208b --- /dev/null +++ b/dlls/olethk32/Makefile.in @@ -0,0 +1,14 @@ +TOPSRCDIR = @top_srcdir@ +TOPOBJDIR = ../.. +SRCDIR = @srcdir@ +VPATH = @srcdir@ +MODULE = olethk32.dll +IMPORTS = kernel32 + +C_SRCS = main.c + +RC_SRCS = version.rc + +@MAKE_DLL_RULES@ + +@DEPENDENCIES@ # everything below this line is overwritten by make depend diff --git a/dlls/olethk32/main.c b/dlls/olethk32/main.c new file mode 100644 index 0000000..13de72e --- /dev/null +++ b/dlls/olethk32/main.c @@ -0,0 +1,37 @@ +/* + * Copyright 2007 Stefan Leichter + * + * 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(olethk32); + +BOOL WINAPI DllMain(HINSTANCE hinstDLL, DWORD fdwReason, LPVOID lpvReserved) +{ + TRACE("(0x%p, %d, %p)\n",hinstDLL,fdwReason,lpvReserved); + + if (fdwReason == DLL_WINE_PREATTACH) + return FALSE; /* prefer native version */ + + if (fdwReason == DLL_PROCESS_ATTACH) + DisableThreadLibraryCalls(hinstDLL); + + return TRUE; +} diff --git a/dlls/olethk32/olethk32.spec b/dlls/olethk32/olethk32.spec new file mode 100644 index 0000000..337d25e --- /dev/null +++ b/dlls/olethk32/olethk32.spec @@ -0,0 +1,14 @@ + 3 stub InvokeOn32 + 4 stub IntOpInitialize + 5 stub CallbackProcessing_3216 + 6 stub IUnknownObj32 + 8 stub CSm16ReleaseHandler_Release32 + 9 stub ThkMgrInitialize +10 stub ThkMgrUninitialize +11 stub TransformHRESULT_1632 +12 stub TransformHRESULT_3216 +13 stub ConvertObjDescriptor +14 stub ConvertHr1632Thunk +15 stub ConvertHr3216Thunk +16 stub IntOpUninitialize +18 stub ThkAddAppCompatFlag diff --git a/dlls/olethk32/version.rc b/dlls/olethk32/version.rc new file mode 100644 index 0000000..900f552 --- /dev/null +++ b/dlls/olethk32/version.rc @@ -0,0 +1,26 @@ +/* + * Copyright (c) 2007 Stefan Leichter + * + * 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 + */ + +#define WINE_FILEDESCRIPTION_STR "Wine olethk32 dll" +#define WINE_FILENAME_STR "olethk32.dll" +#define WINE_FILEVERSION 5,1,2600,0 +#define WINE_FILEVERSION_STR "5.1.2600.0" +#define WINE_PRODUCTVERSION 5,1,2600,0 +#define WINE_PRODUCTVERSION_STR "5.1.2600.0" + +#include "wine/wine_common_ver.rc"