[PATCH v2 0/1] MR11019: Add a stub implementation for DwmpSetColorizationColor(DWORD*,BOOL)
This is just a small stub implementation to help fix the crash described in https://bugs.winehq.org/show_bug.cgi?id=48370 The program still doesn't work, but at least it doesn't crash anymore. -- v2: Add a stub for DwmpSetColorizationColor(DWORD*,BOOL) https://gitlab.winehq.org/wine/wine/-/merge_requests/11019
From: Tobias Markus <tobbi.bugs@googlemail.com> --- dlls/dwmapi/dwmapi.spec | 2 +- dlls/dwmapi/dwmapi_main.c | 10 ++++++++++ 2 files changed, 11 insertions(+), 1 deletion(-) diff --git a/dlls/dwmapi/dwmapi.spec b/dlls/dwmapi/dwmapi.spec index e69c3e3e82a..bfba361f708 100644 --- a/dlls/dwmapi/dwmapi.spec +++ b/dlls/dwmapi/dwmapi.spec @@ -2,7 +2,7 @@ 101 stub DwmpDxUpdateWindowSharedSurface 102 stdcall DwmEnableComposition(long) 103 stub -noname DwmpRestartComposition -104 stub -noname DwmpSetColorizationColor +104 stdcall -noname DwmpSetColorizationColor(ptr ptr) 105 stub -noname DwmpStartOrStopFlip3D 106 stub -noname DwmpIsCompositionCapable 107 stub -noname DwmpGetGlobalState diff --git a/dlls/dwmapi/dwmapi_main.c b/dlls/dwmapi/dwmapi_main.c index 49e05cd207e..021fd0d718e 100644 --- a/dlls/dwmapi/dwmapi_main.c +++ b/dlls/dwmapi/dwmapi_main.c @@ -63,6 +63,16 @@ HRESULT WINAPI DwmEnableComposition(UINT uCompositionAction) return S_OK; } +/********************************************************************** + * DwmpSetColorizationColor (DWMAPI.@) + */ +HRESULT WINAPI DwmpSetColorizationColor(DWORD *pcrColorization, BOOL *pfOpaqueBlend) +{ + FIXME("(%p %p) stub\n", pcrColorization, pfOpaqueBlend); + + return S_OK; +} + /********************************************************************** * DwmExtendFrameIntoClientArea (DWMAPI.@) */ -- GitLab https://gitlab.winehq.org/wine/wine/-/merge_requests/11019
participants (2)
-
tobbi (@tobbi) -
Tobias Markus