wintun/api
Simon Rozman c213663a90 api: revise and unify error codes
GetDevInfoData: Some functions returned ERROR_OBJECT_NOT_FOUND, others
ERROR_FILE_NOT_FOUND when the needle was not found in the haystack.

GetTcpipInterfaceRegPath: When IpConfig is an empty REG_MULTI_SZ, it is
actually ERROR_INVALID_DATA - like other unexpected registry values -
rather than a misleading ERROR_NETWORK_NOT_AVAILABLE.

Failure in TakeNameMutex result in ERROR_INVALID_HANDLE rather than the
ERROR_GEN_FAILURE with a misleading message: "A device attached to the
system is not functioning."

Signed-off-by: Simon Rozman <simon@rozman.si>
2020-10-30 16:50:59 +01:00
..
api.c api: cleanup 2020-10-30 16:50:59 +01:00
api.h api: tighten maximum registry key path length 2020-10-30 16:50:59 +01:00
api.vcxproj api: add pre-compiled header support 2020-10-30 16:50:58 +01:00
api.vcxproj.filters api: add pre-compiled header support 2020-10-30 16:50:58 +01:00
devmgmt.c api: revise and unify error codes 2020-10-30 16:50:59 +01:00
exports.def api: finish porting from wireguard-go 2020-10-30 16:50:58 +01:00
namespace.c api: cleanup 2020-10-30 16:50:59 +01:00
nci.c api: cleanup 2020-10-30 16:50:59 +01:00
pch.c api: add pre-compiled header support 2020-10-30 16:50:58 +01:00
pch.h api: add pre-compiled header support 2020-10-30 16:50:58 +01:00
registry.c api: tighten maximum registry key path length 2020-10-30 16:50:59 +01:00
resources.rc api: add skeleton for wintun.dll 2020-10-30 16:50:58 +01:00