Zhiyi Zhang (@zhiyi) commented about dlls/wintypes/tests/propertyset.c:
- hr = IPropertySet_QueryInterface( propset, &IID_IMap_HSTRING_IInspectable, (void **)&map );
- todo_wine ok( SUCCEEDED( hr ), "QueryInterface failed, got %#lx\n", hr );
- if (FAILED( hr ))
- {
RoUninitialize();
return;
- }
- hr = IPropertySet_QueryInterface( propset, &IID_IObservableMap_HSTRING_IInspectable,
(void *)&observable_map );
- IPropertySet_Release(propset);
- todo_wine ok(SUCCEEDED(hr), "QueryInterface failed, got %#lx\n", hr);
- hr = IMap_HSTRING_IInspectable_QueryInterface(
map, &IID_IIterable_IKeyValuePair_HSTRING_IInspectable, (void **)&iterable );
Keep the parameters aligned like other functions.