From: Mark Harmstone Subject: [PATCH 2/5] uxtheme: Add WINE_ThemeInitApiHook stub. Message-Id: <55109FAE.2080106@burntcomma.com> Date: Mon, 23 Mar 2015 23:20:14 +0000 --- dlls/uxtheme/Makefile.in | 1 + dlls/uxtheme/nonclient.c | 41 +++++++++++++++++++++++++++++++++++++++++ dlls/uxtheme/uxtheme.spec | 1 + 3 files changed, 43 insertions(+) create mode 100644 dlls/uxtheme/nonclient.c diff --git a/dlls/uxtheme/Makefile.in b/dlls/uxtheme/Makefile.in index c3fff30..6004adb 100644 --- a/dlls/uxtheme/Makefile.in +++ b/dlls/uxtheme/Makefile.in @@ -9,6 +9,7 @@ C_SRCS = \ main.c \ metric.c \ msstyles.c \ + nonclient.c \ property.c \ stylemap.c \ system.c \ diff --git a/dlls/uxtheme/nonclient.c b/dlls/uxtheme/nonclient.c new file mode 100644 index 0000000..47c1c4c --- /dev/null +++ b/dlls/uxtheme/nonclient.c @@ -0,0 +1,41 @@ +/* + * Copyright Mark Harmstone 2015 + * + * 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 + +#include "windef.h" +#include "winbase.h" +#include "wingdi.h" +#include "winuser.h" +#include "uxtheme.h" +#include "vsstyle.h" +#include "vssym32.h" + +#include "wine/debug.h" + +WINE_DEFAULT_DEBUG_CHANNEL(uxtheme); + +/*********************************************************************** + * WINE_ThemeInitApiHook (UXTHEME.@) + */ +BOOL WINAPI WINE_ThemeInitApiHook(BOOL shutdown, WINEUSERAPIHOOK* hooks) +{ + FIXME("(%u, %p) stub\n", shutdown, hooks); + + return TRUE; +} diff --git a/dlls/uxtheme/uxtheme.spec b/dlls/uxtheme/uxtheme.spec index 198957a..64dc774 100644 --- a/dlls/uxtheme/uxtheme.spec +++ b/dlls/uxtheme/uxtheme.spec @@ -95,3 +95,4 @@ @ stdcall OpenThemeData(ptr wstr) @ stdcall SetThemeAppProperties(long) @ stdcall SetWindowTheme(ptr wstr wstr) +@ stdcall WINE_ThemeInitApiHook(long ptr)