Mark Harmstone : uxtheme: Stub out GetThemeTransitionDuration.
Alexandre Julliard
julliard at wine.codeweavers.com
Fri May 1 07:50:09 CDT 2015
Module: wine
Branch: master
Commit: 2b36f195b62487d65bcf252c5690f9dd86074ea3
URL: http://source.winehq.org/git/wine.git/?a=commit;h=2b36f195b62487d65bcf252c5690f9dd86074ea3
Author: Mark Harmstone <hellas at burntcomma.com>
Date: Thu Apr 30 22:48:10 2015 +0100
uxtheme: Stub out GetThemeTransitionDuration.
---
dlls/uxtheme/metric.c | 12 ++++++++++++
dlls/uxtheme/uxtheme.spec | 1 +
include/uxtheme.h | 1 +
3 files changed, 14 insertions(+)
diff --git a/dlls/uxtheme/metric.c b/dlls/uxtheme/metric.c
index 043f836..daf17ca 100644
--- a/dlls/uxtheme/metric.c
+++ b/dlls/uxtheme/metric.c
@@ -223,3 +223,15 @@ HRESULT WINAPI GetThemeSysString(HTHEME hTheme, int iStringID,
return MSSTYLES_GetPropertyString(tp, pszStringBuff, cchMaxStringChars);
return E_PROP_ID_UNSUPPORTED;
}
+
+/***********************************************************************
+ * GetThemeTransitionDuration (UXTHEME.@)
+ */
+HRESULT WINAPI GetThemeTransitionDuration(HTHEME hTheme, int iPartId, int iStateIdFrom,
+ int iStateIdTo, int iPropId, DWORD *pdwDuration)
+{
+ FIXME("(%p, %u, %u, %u, %u, %p) stub\n", hTheme, iPartId, iStateIdFrom, iStateIdTo,
+ iPropId, pdwDuration);
+
+ return E_NOTIMPL;
+}
diff --git a/dlls/uxtheme/uxtheme.spec b/dlls/uxtheme/uxtheme.spec
index 7d84faf..3f8e89a 100644
--- a/dlls/uxtheme/uxtheme.spec
+++ b/dlls/uxtheme/uxtheme.spec
@@ -91,6 +91,7 @@
@ stdcall GetThemeSysString(ptr long wstr long)
@ stdcall GetThemeTextExtent(ptr ptr long long wstr long long ptr ptr)
@ stdcall GetThemeTextMetrics(ptr ptr long long ptr)
+@ stdcall GetThemeTransitionDuration(ptr long long long long ptr)
@ stdcall GetWindowTheme(ptr)
@ stdcall HitTestThemeBackground(ptr long long long long ptr long int64 ptr)
@ stdcall IsAppThemed()
diff --git a/include/uxtheme.h b/include/uxtheme.h
index e6994a1..e167d80 100644
--- a/include/uxtheme.h
+++ b/include/uxtheme.h
@@ -146,6 +146,7 @@ HRESULT WINAPI GetThemeSysString(HTHEME,int,LPWSTR,int);
HRESULT WINAPI GetThemeTextExtent(HTHEME,HDC,int,int,LPCWSTR,int,DWORD,
const RECT*,RECT*);
HRESULT WINAPI GetThemeTextMetrics(HTHEME,HDC,int,int,TEXTMETRICW*);
+HRESULT WINAPI GetThemeTransitionDuration(HTHEME,int,int,int,int,DWORD*);
HTHEME WINAPI GetWindowTheme(HWND);
#define HTTB_BACKGROUNDSEG 0x0000
More information about the wine-cvs
mailing list