From e1d2852def1458b989d2c15cfe845a94866bdd4d Mon Sep 17 00:00:00 2001 From: Thomas Weidenmueller Date: Tue, 5 Jul 2005 10:56:27 +0000 Subject: [PATCH] IsThemeDialogTextureEnabled should have one parameter to match the prototype in the official headers. --- dlls/uxtheme/draw.c | 4 ++-- dlls/uxtheme/uxtheme.spec | 2 +- include/uxtheme.h | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/dlls/uxtheme/draw.c b/dlls/uxtheme/draw.c index 5f92b77452a..0d43836be20 100644 --- a/dlls/uxtheme/draw.c +++ b/dlls/uxtheme/draw.c @@ -58,9 +58,9 @@ HRESULT WINAPI EnableThemeDialogTexture(HWND hwnd, DWORD dwFlags) /*********************************************************************** * IsThemeDialogTextureEnabled (UXTHEME.@) */ -BOOL WINAPI IsThemeDialogTextureEnabled(void) +BOOL WINAPI IsThemeDialogTextureEnabled(HWND hwnd) { - TRACE("\n"); + TRACE("(%p)\n", hwnd); return (dwDialogTextureFlags & ETDT_ENABLE) && !(dwDialogTextureFlags & ETDT_DISABLE); } diff --git a/dlls/uxtheme/uxtheme.spec b/dlls/uxtheme/uxtheme.spec index 73f2f78f007..a6fdf66cf1f 100644 --- a/dlls/uxtheme/uxtheme.spec +++ b/dlls/uxtheme/uxtheme.spec @@ -86,7 +86,7 @@ @ stdcall IsAppThemed() @ stdcall IsThemeActive() @ stdcall IsThemeBackgroundPartiallyTransparent(ptr long long) -@ stdcall IsThemeDialogTextureEnabled() +@ stdcall IsThemeDialogTextureEnabled(ptr) @ stdcall IsThemePartDefined(ptr long long) @ stdcall OpenThemeData(ptr wstr) @ stdcall SetThemeAppProperties(long) diff --git a/include/uxtheme.h b/include/uxtheme.h index 47b14f1a5a3..4cf48e17209 100644 --- a/include/uxtheme.h +++ b/include/uxtheme.h @@ -165,7 +165,7 @@ HRESULT WINAPI HitTestThemeBackground(HTHEME,HDC,int,int,DWORD,const RECT*, BOOL WINAPI IsAppThemed(void); BOOL WINAPI IsThemeActive(void); BOOL WINAPI IsThemeBackgroundPartiallyTransparent(HTHEME,int,int); -BOOL WINAPI IsThemeDialogTextureEnabled(void); +BOOL WINAPI IsThemeDialogTextureEnabled(HWND); BOOL WINAPI IsThemePartDefined(HTHEME,int,int); HTHEME WINAPI OpenThemeData(HWND,LPCWSTR); void WINAPI SetThemeAppProperties(DWORD);