From: Vibhav Pant <vibhavp(a)gmail.com> --- dlls/wintypes/propertyset.c | 3 ++- dlls/wintypes/tests/wintypes.c | 2 ++ 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/dlls/wintypes/propertyset.c b/dlls/wintypes/propertyset.c index 6a0ccc30c2b..ad4d54a9cfb 100644 --- a/dlls/wintypes/propertyset.c +++ b/dlls/wintypes/propertyset.c @@ -49,7 +49,8 @@ static HRESULT STDMETHODCALLTYPE propertyset_QueryInterface( IPropertySet *iface *out = NULL; if (IsEqualGUID( iid, &IID_IUnknown ) || IsEqualGUID( iid, &IID_IInspectable ) || - IsEqualGUID( iid, &IID_IPropertySet )) + IsEqualGUID( iid, &IID_IPropertySet ) || + IsEqualGUID( iid, &IID_IAgileObject )) { *out = iface; IUnknown_AddRef( (IUnknown *)*out ); diff --git a/dlls/wintypes/tests/wintypes.c b/dlls/wintypes/tests/wintypes.c index ebdf5acbadf..10646a48829 100644 --- a/dlls/wintypes/tests/wintypes.c +++ b/dlls/wintypes/tests/wintypes.c @@ -1288,6 +1288,8 @@ static void test_IPropertySet(void) IInspectable_Release( inspectable ); ok( hr == S_OK, "QueryInterface failed, got %#lx\n", hr ); + check_interface( propset, &IID_IAgileObject, TRUE ); + hr = IPropertySet_QueryInterface( propset, &IID_IObservableMap_HSTRING_IInspectable, (void **)&observable_map ); ok( hr == S_OK, "QueryInterface failed, got %#lx\n", hr ); IObservableMap_HSTRING_IInspectable_Release( observable_map ); -- GitLab https://gitlab.winehq.org/wine/wine/-/merge_requests/8685