Zhiyi Zhang (@zhiyi) commented about dlls/wintypes/tests/wintypes.c:
- IMap_HSTRING_IInspectable *map;
- IMapView_HSTRING_IInspectable *map_view;
- IObservableMap_HSTRING_IInspectable *observable_map;
- IIterable_IKeyValuePair_HSTRING_IInspectable *iterable;
- IIterator_IKeyValuePair_HSTRING_IInspectable *iterator;
- HRESULT hr;
- HSTRING name;
- hr = RoInitialize( RO_INIT_MULTITHREADED );
- ok( SUCCEEDED( hr ), "got %#lx\n", hr );
- hr = WindowsCreateString( class_name, wcslen( class_name ), &name );
- ok( SUCCEEDED( hr ), "got %#lx\n", hr );
- hr = RoGetActivationFactory( name, &IID_IActivationFactory, (void **)&propset_factory );
- WindowsDeleteString( name );
- todo_wine ok( hr == S_OK || broken( hr == REGDB_E_CLASSNOTREG ),
A style nitpick. Let's make todo_wine and the ok() on different lines so that when it gets removed, only the todo_wine is affected. Same at other places.