In this PR we update the Windows dependencies and port over the code that was depending on the winapi and winreg crates to the windows-rs crates, bringing more consistency to the code base and reducing the API boilerplate needed.
This tries to rationalise the dependencies a bit to help reduce the set needed for a build to complete. There are however still another couple of dependency crates which are using winapi and/or winreg, so not completely dropping them from the build. However, this still improves the situation on version pinning.
In this PR we update the Windows dependencies and port over the code that was depending on the winapi and winreg crates to the windows-rs crates, bringing more consistency to the code base and reducing the API boilerplate needed.
This tries to rationalise the dependencies a bit to help reduce the set needed for a build to complete. There are however still another couple of dependency crates which are using winapi and/or winreg, so not completely dropping them from the build. However, this still improves the situation on version pinning.