wireguard-go/setupapi
Simon Rozman 90b6938ca0 Stop checking for valid handle in DevInfo.Close()
User should not have called or deferred the Close() method should
SetupDiGetClassDevsEx() return an error (and invalid handle). And even
if user does that, a SetupDiDestroyDeviceInfoList(INVALID_HANDLE_VALUE)
is harmless. It just returns ERROR_INVALID_HANDLE - we have a unit test
for this in TestSetupDiDestroyDeviceInfoList().

Signed-off-by: Simon Rozman <simon@rozman.si>
2019-02-05 12:59:42 +01:00
..
mksyscall.go Introduce SetupAPI - Windows device and driver management API 2019-02-05 12:59:42 +01:00
setupapi_windows_test.go Add support for setupapi.SetupDi(Get|Set)DeviceInstallParams() 2019-02-05 12:59:42 +01:00
setupapi_windows.go Add support for setupapi.SetupDiCallClassInstaller() 2019-02-05 12:59:42 +01:00
setupapi.go Introduce SetupAPI - Windows device and driver management API 2019-02-05 12:59:42 +01:00
types_windows.go Stop checking for valid handle in DevInfo.Close() 2019-02-05 12:59:42 +01:00
zsetupapi_windows_test.go Finish support for setupapi.SetupDiGetClassDevsEx() 2019-02-05 12:59:42 +01:00
zsetupapi_windows.go Add support for setupapi.SetupDiCallClassInstaller() 2019-02-05 12:59:42 +01:00