aboutsummaryrefslogtreecommitdiffstats
path: root/api/wintun.h
diff options
context:
space:
mode:
authorJason A. Donenfeld <Jason@zx2c4.com>2020-11-04 14:53:39 +0100
committerJason A. Donenfeld <Jason@zx2c4.com>2020-11-04 14:53:39 +0100
commitdc99f96da799d1e799c2ac37cc97e28de44ae521 (patch)
tree98406538ebcb5c7538ac6346e112b8a5a937d130 /api/wintun.h
parentexample: account for buffer being drained too slowly (diff)
downloadwintun-dc99f96da799d1e799c2ac37cc97e28de44ae521.tar.xz
wintun-dc99f96da799d1e799c2ac37cc97e28de44ae521.zip
api: rename GetVersion to GetRunningDriverVersion
This makes our intentions a lot more clear, and in case we ever add other version functions, makes the forward path simpler. Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
Diffstat (limited to 'api/wintun.h')
-rw-r--r--api/wintun.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/api/wintun.h b/api/wintun.h
index 01870b2..fc38327 100644
--- a/api/wintun.h
+++ b/api/wintun.h
@@ -187,7 +187,7 @@ typedef _Return_type_success_(return != FALSE)
* zero. To get extended error information, call GetLastError. Possible errors include the following:
* ERROR_FILE_NOT_FOUND Wintun not loaded
*/
-typedef DWORD(WINAPI *WINTUN_GET_VERSION_FUNC)(void);
+typedef DWORD(WINAPI *WINTUN_GET_RUNNING_DRIVER_VERSION_FUNC)(void);
typedef enum _WINTUN_LOGGER_LEVEL
{