diff options
author | Simon Rozman <simon@rozman.si> | 2020-11-04 01:08:41 +0100 |
---|---|---|
committer | Simon Rozman <simon@rozman.si> | 2020-11-04 13:21:42 +0100 |
commit | 552821f59ab3d19d26fdfc4958c9fa2ee2e2e123 (patch) | |
tree | 1ee2138c0980540b7494e5b1457810471b4ccb28 /api/wintun.h | |
parent | api: use GetLastError() to report failures like standard Win32 (diff) | |
download | wintun-552821f59ab3d19d26fdfc4958c9fa2ee2e2e123.tar.xz wintun-552821f59ab3d19d26fdfc4958c9fa2ee2e2e123.zip |
api: translate NTSTATUS to Win32 error codes
Signed-off-by: Simon Rozman <simon@rozman.si>
Diffstat (limited to '')
-rw-r--r-- | api/wintun.h | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/api/wintun.h b/api/wintun.h index 459a882..01870b2 100644 --- a/api/wintun.h +++ b/api/wintun.h @@ -185,8 +185,7 @@ typedef _Return_type_success_(return != FALSE) * * @return If the function succeeds, the return value is the version number. If the function fails, the return value is * zero. To get extended error information, call GetLastError. Possible errors include the following: - * ERROR_FILE_NOT_FOUND Wintun not loaded; - * ERROR_GEN_FAILURE Enumerating drivers failed + * ERROR_FILE_NOT_FOUND Wintun not loaded */ typedef DWORD(WINAPI *WINTUN_GET_VERSION_FUNC)(void); |