Rémi Bernon (@rbernon) commented about dlls/cfgmgr32/main.c:
+ if (ret) + { + ERR( "CM_Register_Notification failed: %lu\n", ret ); + device_query_context_release( ctx ); + goto abort; } - else + break; + } + default: + FIXME( "Device updates not supported for object type %d\n", ctx->type ); + break; + } + break; + case E_CHANGED_STATE: + if (ctx->flags & DevQueryFlagAsyncClose) This inverts the condition, before this change it was submitting `device_query_context_notify_closed_async` when the flag is set, we now submit it when the flag isn't set.
-- https://gitlab.winehq.org/wine/wine/-/merge_requests/8564#note_111442