From: Louis Lenders xerox.xerox2000x@gmail.com
Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=58747 --- dlls/uxtheme/draw.c | 11 +++++++++++ dlls/uxtheme/uxtheme.spec | 1 + include/uxtheme.h | 1 + 3 files changed, 13 insertions(+)
diff --git a/dlls/uxtheme/draw.c b/dlls/uxtheme/draw.c index 6bf85f6a0f3..eec73d67d07 100644 --- a/dlls/uxtheme/draw.c +++ b/dlls/uxtheme/draw.c @@ -2089,6 +2089,17 @@ HRESULT WINAPI GetThemeBitmap(HTHEME hTheme, int iPartId, int iStateId, return E_NOTIMPL; }
+/*********************************************************************** + * GetThemeStream (UXTHEME.@) + */ +HRESULT WINAPI GetThemeStream(HTHEME hTheme, int iPartId, int iStateId, int iPropId, + void **ppvStream, DWORD *pcbStream, HINSTANCE hInst) +{ + FIXME("(%p,%d,%d,%d,%p,%p,%p) stub\n", hTheme, iPartId, iStateId, iPropId, ppvStream, pcbStream, hInst); + + return E_NOTIMPL; +} + /* compute part size for "borderfill" backgrounds */ static HRESULT get_border_background_size (HTHEME hTheme, int iPartId, int iStateId, THEMESIZE eSize, POINT* psz) diff --git a/dlls/uxtheme/uxtheme.spec b/dlls/uxtheme/uxtheme.spec index 38224a1f0e7..78530a0b755 100644 --- a/dlls/uxtheme/uxtheme.spec +++ b/dlls/uxtheme/uxtheme.spec @@ -94,6 +94,7 @@ @ stdcall GetThemePosition(ptr long long long ptr) @ stdcall GetThemePropertyOrigin(ptr long long long ptr) @ stdcall GetThemeRect(ptr long long long ptr) +@ stdcall GetThemeStream(ptr long long long ptr ptr ptr) @ stdcall GetThemeString(ptr long long long wstr long) @ stdcall GetThemeSysBool(ptr long) @ stdcall GetThemeSysColor(ptr long) diff --git a/include/uxtheme.h b/include/uxtheme.h index ca66345bdff..b7fa3f93ca8 100644 --- a/include/uxtheme.h +++ b/include/uxtheme.h @@ -122,6 +122,7 @@ THEMEAPI GetThemeBackgroundRegion(HTHEME,HDC,int,int,const RECT*,HRGN*); THEMEAPI GetThemeBitmap(HTHEME,int,int,int,ULONG,HBITMAP*); THEMEAPI GetThemeBool(HTHEME,int,int,int,BOOL*); THEMEAPI GetThemeColor(HTHEME,int,int,int,COLORREF*); +THEMEAPI GetThemeStream(HTHEME,int,int,int,void**,DWORD*,HINSTANCE);
#if defined(_MSC_VER) || defined(__MINGW32__) # define SZ_THDOCPROP_DISPLAYNAME L"DisplayName"