]> git.ipfire.org Git - thirdparty/wireguard-go.git/commit
Add support for setupapi.SetupDiOpenDevRegKey()
authorSimon Rozman <simon@rozman.si>
Fri, 1 Feb 2019 12:00:44 +0000 (13:00 +0100)
committerJason A. Donenfeld <Jason@zx2c4.com>
Tue, 5 Feb 2019 11:59:42 +0000 (12:59 +0100)
commitdce5192d860888e6af3e7fa8a7e4b2c776274e69
tree08c7889ba624b1738efc50de9a458dc21d6c0635
parent955d8dfe04fa87d265bb1ccb671db05a323eb86f
Add support for setupapi.SetupDiOpenDevRegKey()

Furthermore setupapi.DevInfoData has been obsoleted.
SetupDiEnumDeviceInfo() fills existing SP_DEVINFO_DATA structure now.
As other functions of SetupAPI use SP_DEVINFO_DATA, converting it to
DevInfoData and back would hurt performance.

Signed-off-by: Simon Rozman <simon@rozman.si>
setupapi/setupapi_windows.go
setupapi/setupapi_windows_test.go
setupapi/types_windows.go
setupapi/zsetupapi_windows.go