Rémi Bernon (@rbernon) commented about dlls/cfgmgr32/main.c:
- {
SP_DEVICE_INTERFACE_DATA iface = {0};DEV_OBJECT obj = {0};HDEVINFO set;set = SetupDiCreateDeviceInfoListExW( NULL, NULL, NULL, NULL );if (set == INVALID_HANDLE_VALUE) return HRESULT_FROM_WIN32( GetLastError() );iface.cbSize = sizeof( iface );if (!SetupDiOpenDeviceInterfaceW( set, id, 0, &iface )){DWORD err = GetLastError();SetupDiDestroyDeviceInfoList( set );return HRESULT_FROM_WIN32(err == ERROR_NO_SUCH_DEVICE_INTERFACE ? ERROR_FILE_NOT_FOUND : err);}hr = dev_object_iface_get_props( &obj, set, &iface, props_len, props, !!( flags & DevQueryFlagAllProperties ) );
```suggestion:-0+0 hr = dev_object_iface_get_props( &obj, set, &iface, props_len, props, !!(flags & DevQueryFlagAllProperties) ); ```
Or maybe even:
```suggestion:-0+0 hr = dev_object_iface_get_props( &obj, set, &iface, props_len, props, flags & DevQueryFlagAllProperties ); ```