mirror of
https://github.com/KusakabeShi/EtherGuard-VPN.git
synced 2025-02-28 21:01:12 +01:00
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> |
||
---|---|---|
.. | ||
mksyscall.go | ||
setupapi_windows_test.go | ||
setupapi_windows.go | ||
setupapi.go | ||
types_windows.go | ||
zsetupapi_windows_test.go | ||
zsetupapi_windows.go |