Elizabeth Figura (@zfigura) commented about dlls/setupapi/devinst.c:
if (FAILED( CLSIDFromString( guid_str, &prop_guid ) ))
{
ERR( "Could not parse propkey GUID string %s\n", debugstr_w( guid_str ) );
RegCloseKey( propkey );
continue;
}
for (j = 0; ;j++)
{
DEVPROPID pid;
len = 5;
ls = RegEnumKeyExW( propkey, j, key_name, &len, NULL, NULL, NULL, NULL );
if (ls)
{
ERR( "Could not enumerate subkeys for device %s under %s: %lu\n", debugstr_w( key_name ),
debugstr_w( key_name ), ls );
We don't want an ERR() for ERROR_NO_MORE_ITEMS.