Zhiyi Zhang (@zhiyi) commented about dlls/wintypes/tests/propertyset.c:
- }
- else
skip( "Could not obtain IIterable<IKeyValuePair<HSTRING, IInspectable *>> instance.\n");
- hr = IMap_HSTRING_IInspectable_GetView( map, &map_view );
- todo_wine ok( SUCCEEDED( hr ), "GetView failed, got %#lx\n", hr );
- if (SUCCEEDED( hr ))
- {
hr = IMapView_HSTRING_IInspectable_QueryInterface(
map_view, &IID_IIterable_IKeyValuePair_HSTRING_IInspectable, (void **)&iterable );
todo_wine ok( SUCCEEDED( hr ), "QuerInterface failed, got %#lx\n", hr );
if (iterable)
{
hr = IIterable_IKeyValuePair_HSTRING_IInspectable_First( iterable, &iterator );
IIterable_IKeyValuePair_HSTRING_IInspectable_Release( iterable );
todo_wine ok( SUCCEEDED( hr ), "got %#lx\n", hr );
Let's move this check before releasing iterable.