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.