Module: wine Branch: master Commit: 731136d8d32b36cf088a2c7182ca08d28e0e75a2 URL: http://source.winehq.org/git/wine.git/?a=commit;h=731136d8d32b36cf088a2c7182...
Author: Sergio Gómez Del Real sergio.g.delreal@gmail.com Date: Wed Oct 18 08:40:10 2017 -0500
uxtheme: Add a stub for IsCompositionActive().
Signed-off-by: Sergio Gómez Del Real sdelreal@codeweavers.com Signed-off-by: Alexandre Julliard julliard@winehq.org
---
dlls/uxtheme/system.c | 12 ++++++++++++ dlls/uxtheme/uxtheme.spec | 1 + include/uxtheme.h | 1 + 3 files changed, 14 insertions(+)
diff --git a/dlls/uxtheme/system.c b/dlls/uxtheme/system.c index 625be24..08996e1 100644 --- a/dlls/uxtheme/system.c +++ b/dlls/uxtheme/system.c @@ -562,6 +562,18 @@ BOOL WINAPI IsThemeActive(void) return bThemeActive; }
+/************************************************************ +* IsCompositionActive (UXTHEME.@) +*/ +BOOL WINAPI IsCompositionActive(void) +{ + FIXME(": stub\n"); + + SetLastError(ERROR_CALL_NOT_IMPLEMENTED); + + return FALSE; +} + /*********************************************************************** * EnableTheming (UXTHEME.@) * diff --git a/dlls/uxtheme/uxtheme.spec b/dlls/uxtheme/uxtheme.spec index 7d2a7d7..5b68fde 100644 --- a/dlls/uxtheme/uxtheme.spec +++ b/dlls/uxtheme/uxtheme.spec @@ -100,6 +100,7 @@ @ stdcall GetWindowTheme(ptr) @ stdcall HitTestThemeBackground(ptr long long long long ptr long int64 ptr) @ stdcall IsAppThemed() +@ stdcall IsCompositionActive() @ stdcall IsThemeActive() @ stdcall IsThemeBackgroundPartiallyTransparent(ptr long long) @ stdcall IsThemeDialogTextureEnabled(ptr) diff --git a/include/uxtheme.h b/include/uxtheme.h index 7606306..374b530 100644 --- a/include/uxtheme.h +++ b/include/uxtheme.h @@ -209,6 +209,7 @@ HTHEME WINAPI GetWindowTheme(HWND); HRESULT WINAPI HitTestThemeBackground(HTHEME,HDC,int,int,DWORD,const RECT*, HRGN,POINT,WORD*); BOOL WINAPI IsAppThemed(void); +BOOL WINAPI IsCompositionActive(void); BOOL WINAPI IsThemeActive(void); BOOL WINAPI IsThemeBackgroundPartiallyTransparent(HTHEME,int,int); BOOL WINAPI IsThemeDialogTextureEnabled(HWND);