aboutsummaryrefslogtreecommitdiffstats
path: root/api/driver.h
diff options
context:
space:
mode:
authorSimon Rozman <simon@rozman.si>2020-10-14 09:09:27 +0200
committerJason A. Donenfeld <Jason@zx2c4.com>2020-10-30 16:51:00 +0100
commit85c32a5566f1025ff250dfe85c87d57450e720f8 (patch)
tree17e72a0e0e154eeb1efd2d946c7aef262a0226e1 /api/driver.h
parentapi: unify and document resource loading (diff)
downloadwintun-85c32a5566f1025ff250dfe85c87d57450e720f8.tar.xz
wintun-85c32a5566f1025ff250dfe85c87d57450e720f8.zip
api: disable driver management for wintun.dll that don't have a driver
Namely the 32-bit ARM platform, which we will ship wintun.dll for ARM on ARM64 clients exclusively. Signed-off-by: Simon Rozman <simon@rozman.si>
Diffstat (limited to '')
-rw-r--r--api/driver.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/api/driver.h b/api/driver.h
index e8514df..c17787c 100644
--- a/api/driver.h
+++ b/api/driver.h
@@ -22,6 +22,10 @@ DriverIsWintunAdapter(_In_ HDEVINFO DevInfo, _In_opt_ SP_DEVINFO_DATA *DevInfoDa
_Return_type_success_(return != INVALID_HANDLE_VALUE) HANDLE
DriverGetAdapterDeviceObject(_In_opt_z_ const WCHAR *InstanceId);
+#if defined(HAVE_EV) || defined(HAVE_WHQL)
+
WINTUN_STATUS DriverInstallOrUpdate(VOID);
WINTUN_STATUS DriverUninstall(VOID);
+
+#endif \ No newline at end of file