uxtheme: Stub out GetThemeTransitionDuration.

This commit is contained in:
Mark Harmstone 2015-04-30 22:48:10 +01:00 committed by Alexandre Julliard
parent 23f0e97071
commit 2b36f195b6
3 changed files with 14 additions and 0 deletions

View File

@ -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;
}

View File

@ -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()

View File

@ -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