6 Jul
2025
6 Jul
'25
2:19 p.m.
On Fri Jul 4 10:14:05 2025 +0000, Rémi Bernon wrote:
Maybe check that len == 1 and get rid of the loop? `len` would have the same value, as it is the number of device objects fetched. What would be 1 is the `cPropertyCount` field for each object, which does get checked below. What this test verifies is that the list of devices returned only has a single `DEVPROP_TYPE_EMPTY` property. The `DEV_OBJECT` should've been `DEV_OBJECT`s instead, apologies.
-- https://gitlab.winehq.org/wine/wine/-/merge_requests/8478#note_108941