From: Zhiyi Zhang zzhang@codeweavers.com
Return a newer IUISettings5 interface in factory_ActivateInstance(). Returning IUISettings3 is not wrong but it's not consistent now that IUISettings5 is available. --- dlls/windows.ui/uisettings.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/dlls/windows.ui/uisettings.c b/dlls/windows.ui/uisettings.c index a2b59c46cdf..d5eae44b797 100644 --- a/dlls/windows.ui/uisettings.c +++ b/dlls/windows.ui/uisettings.c @@ -681,7 +681,7 @@ static HRESULT WINAPI factory_ActivateInstance( IActivationFactory *iface, IInsp impl->ref_strong = 1; impl->ref_weak = 1;
- *instance = (IInspectable *)&impl->IUISettings3_iface; + *instance = (IInspectable *)&impl->IUISettings5_iface; return S_OK; }