5 May
2025
5 May
'25
3:35 p.m.
Rémi Bernon (@rbernon) commented about dlls/windows.devices.enumeration/tests/devices.c:
} winetest_pop_context(); } + + devices = calloc( 1, sizeof( *devices ) * size ); + ok( !!devices, "Unable to allocate array\n" ); + if (devices) + { + UINT32 copied = 0; + + hr = IVectorView_DeviceInformation_GetMany( info_collection, 0, size, devices, &copied ); + todo_wine ok( SUCCEEDED( hr ), "got %#lx\n", hr ); + if (SUCCEEDED( hr ))
The if is unnecessary. -- https://gitlab.winehq.org/wine/wine/-/merge_requests/6874#note_102553