Commit 28613fcd authored by Louis Lenders's avatar Louis Lenders Committed by Alexandre Julliard

uxtheme: Add stub for SetWindowThemeAttribute.

parent bdb048a5
......@@ -721,6 +721,16 @@ HRESULT WINAPI SetWindowTheme(HWND hwnd, LPCWSTR pszSubAppName,
}
/***********************************************************************
* SetWindowThemeAttribute (UXTHEME.@)
*/
HRESULT WINAPI SetWindowThemeAttribute(HWND hwnd, enum WINDOWTHEMEATTRIBUTETYPE type,
PVOID attribute, DWORD size)
{
FIXME("(%p,%d,%p,%d): stub\n", hwnd, type, attribute, size);
return E_NOTIMPL;
}
/***********************************************************************
* GetCurrentThemeName (UXTHEME.@)
*/
HRESULT WINAPI GetCurrentThemeName(LPWSTR pszThemeFileName, int dwMaxNameChars,
......
......@@ -108,3 +108,4 @@
@ stdcall OpenThemeData(ptr wstr)
@ stdcall SetThemeAppProperties(long)
@ stdcall SetWindowTheme(ptr wstr wstr)
@ stdcall SetWindowThemeAttribute(ptr long ptr long)
......@@ -206,6 +206,8 @@ HTHEME WINAPI GetWindowTheme(HWND);
#define OTD_NONCLIENT 0x0002
#define OTD_VALIDBITS (OTD_FORCE_RECT_SIZING | OTD_NONCLIENT)
enum WINDOWTHEMEATTRIBUTETYPE { WTA_NONCLIENT = 1 };
HRESULT WINAPI HitTestThemeBackground(HTHEME,HDC,int,int,DWORD,const RECT*,
HRGN,POINT,WORD*);
BOOL WINAPI IsAppThemed(void);
......@@ -218,7 +220,7 @@ HTHEME WINAPI OpenThemeData(HWND,LPCWSTR);
HTHEME WINAPI OpenThemeDataEx(HWND,LPCWSTR,DWORD);
void WINAPI SetThemeAppProperties(DWORD);
HRESULT WINAPI SetWindowTheme(HWND,LPCWSTR,LPCWSTR);
HRESULT WINAPI SetWindowThemeAttribute(HWND,enum WINDOWTHEMEATTRIBUTETYPE,PVOID,DWORD);
/* Double-buffered Drawing API */
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment