From: Mohamad Al-Jaf <mohamadaljaf(a)gmail.com> Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=56983 --- dlls/windows.ui/uisettings.c | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/dlls/windows.ui/uisettings.c b/dlls/windows.ui/uisettings.c index b36194a2ac3..3d5988882db 100644 --- a/dlls/windows.ui/uisettings.c +++ b/dlls/windows.ui/uisettings.c @@ -23,6 +23,8 @@ WINE_DEFAULT_DEBUG_CHANNEL(ui); +static EventRegistrationToken dummy_cookie = {.value = 0xdeadbeef}; + struct uisettings { IUISettings IUISettings_iface; @@ -357,7 +359,8 @@ static HRESULT WINAPI uisettings3_GetColorValue( IUISettings3 *iface, UIColorTyp static HRESULT WINAPI uisettings3_add_ColorValuesChanged( IUISettings3 *iface, ITypedEventHandler_UISettings_IInspectable *handler, EventRegistrationToken *cookie ) { FIXME( "iface %p, handler %p, cookie %p stub!\n", iface, handler, cookie ); - return E_NOTIMPL; + *cookie = dummy_cookie; + return S_OK; } static HRESULT WINAPI uisettings3_remove_ColorValuesChanged( IUISettings3 *iface, EventRegistrationToken cookie ) -- GitLab https://gitlab.winehq.org/wine/wine/-/merge_requests/7145