https://bugs.winehq.org/show_bug.cgi?id=57645
--- Comment #16 from Stefan BrĂ¼ns stefan.bruens@rwth-aachen.de --- Another program affected is the "ImageTool" (flash programmer) from the Realtek AmebaD Toolchain.
It is somewhat harder to tell what it is actually looking for, as the query is less specific. But it ends up with an empty dropdown list for the serial ports.
015c:trace:wbemprox:wbem_services_ExecQuery 0000000004AAD940, L"WQL", L"select * from Win32_PnPEntity", 0x10, 0000000000000000, 000000000011DB68
Unfortunately, enumerating serial ports on Windows is hit-and-miss, and there are quite a few methods to do it, see e.g. http://www.naughter.com/enumser.html
Unfortunately, wine only implements a few of these (e.g. WMI works when you enumerate "WIN32_SerialPort", but not "WIN32_PnpEntity").