https://bugs.winehq.org/show_bug.cgi?id=57645
--- Comment #6 from Louis Lenders xerox.xerox2000x@gmail.com --- I tested this query "SELECT Caption, Service FROM Win32_PnpEntity WHERE Caption LIKE '%(COM%'" on windows and one entry showed up (something like 'Intel device .... (COM3)' The reported classguid was {4d36e978-e325-11ce-bfc1-08002be10318} (ports) but this doesn't even show up when I run this query in wine.
If you run the program like 'WINEDLLOVERRIDES=wbemprox=d wine LokProgrammer.exe' the list of serial ports is back (as like Hans said another codepath is chosen) Not sure what to do now.