Rémi Bernon (@rbernon) commented about dlls/cfgmgr32/main.c:
FIXME( "Query filters are not supported!\n" );
- if (params)
FIXME( "Query parameters are not supported!\n" );
- hr = device_query_context_create( &ctx, type, flags, callback, user_data );
- if (hr != S_OK)
return hr;
- device_query_context_addref( ctx );
- if (!TrySubmitThreadpoolCallback( device_query_enum_objects_async, ctx, NULL ))
hr = HRESULT_FROM_WIN32( GetLastError() );
- if (hr != S_OK)
- {
device_query_context_release( ctx );
ctx = NULL;
- }
```suggestion:-11+0 hr = device_query_context_create( &ctx, type, flags, callback, user_data ); if (FAILED(hr)) return hr;
device_query_context_addref( ctx ); if (!TrySubmitThreadpoolCallback( device_query_enum_objects_async, ctx, NULL )) hr = HRESULT_FROM_WIN32( GetLastError() ); if (FAILED(hr)) { device_query_context_release( ctx ); ctx = NULL; } ```