[MSPORTS] Hackfix the code to determine the serial and parallel port numbers.
authorEric Kohl <eric.kohl@reactos.org>
Tue, 25 Sep 2018 15:48:27 +0000 (17:48 +0200)
committerEric Kohl <eric.kohl@reactos.org>
Tue, 25 Sep 2018 15:48:27 +0000 (17:48 +0200)
commitaf37e0e565b581fcb3c750040384b0a48496726a
treeaae9497f0968415f6fd19f4e33b51afc17f086ed
parent69e834fa543abca654ccc65c57bc2861e853f808
[MSPORTS] Hackfix the code to determine the serial and parallel port numbers.

Now that SetupDiCreateDevRegKeyW is working as expected, we can no
longer (ab)use it to retrieve a ports resources. Use SetupDiGetDeviceInstanceIdW instead and open the registry keys manually.
dll/win32/msports/classinst.c