April 13, 2026
noon
Thanks for bearing with feedback, I apologize that it was a lot.
While switching to cfgmgr32 s internal APIs (devnode_get_device + get_device_property), I found that query_property cannot read properties stored by SetupDiSetDevicePropertyW. It tries to read them as flat value names, but setupapi stores them as registry subkey hierarchies (Properties{GUID}\\XXXX with the data in the default value). Added a fallback to open the property subkey when the flat lookup fails.
I don't think it should be a fallback, rather the cfgmgr32 behaviour just sounds wrong and should be fixed. -- https://gitlab.winehq.org/wine/wine/-/merge_requests/10604#note_135977