uxtheme: Add stub for SetWindowThemeAttribute.
Signed-off-by: Louis Lenders <xerox.xerox2000x@gmail.com> Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
parent
bdb048a50e
commit
28613fcd93
|
@ -720,6 +720,16 @@ HRESULT WINAPI SetWindowTheme(HWND hwnd, LPCWSTR pszSubAppName,
|
|||
return hr;
|
||||
}
|
||||
|
||||
/***********************************************************************
|
||||
* 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.@)
|
||||
*/
|
||||
|
|
|
@ -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 */
|
||||
|
||||
|
|
Loading…
Reference in New Issue