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.
- Fix the control styles and grouping in the dialogs. - Implement reading, modifying and writing of the serial port settings.