8 Jul
2025
8 Jul
'25
7:49 a.m.
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; + }
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;
}
-- https://gitlab.winehq.org/wine/wine/-/merge_requests/8478#note_109067