aboutsummaryrefslogtreecommitdiffstats
path: root/api/wintun.h
diff options
context:
space:
mode:
authorJason A. Donenfeld <Jason@zx2c4.com>2020-11-03 12:31:49 +0100
committerJason A. Donenfeld <Jason@zx2c4.com>2020-11-03 12:31:49 +0100
commit2af7fbd64aeea5c178c94054270e716be0b2a344 (patch)
treeedcaefd722abf1f9640c577a7c82503ef87418ed /api/wintun.h
parentapi: add pool/driver removal for uninstaller semantics (diff)
downloadwintun-2af7fbd64aeea5c178c94054270e716be0b2a344.tar.xz
wintun-2af7fbd64aeea5c178c94054270e716be0b2a344.zip
api: use 'open' name since caller must close handle
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 8725b00..353c1e9 100644
--- a/api/wintun.h
+++ b/api/wintun.h
@@ -147,7 +147,7 @@ typedef WINTUN_STATUS(WINAPI *WINTUN_GET_ADAPTER_FUNC)(
* @return ERROR_SUCCESS on success; Win32 error code otherwise.
*/
typedef WINTUN_STATUS(
- WINAPI *WINTUN_GET_ADAPTER_DEVICE_OBJECT_FUNC)(_In_ WINTUN_ADAPTER_HANDLE Adapter, _Out_ HANDLE *Handle);
+ WINAPI *WINTUN_OPEN_ADAPTER_DEVICE_OBJECT_FUNC)(_In_ WINTUN_ADAPTER_HANDLE Adapter, _Out_ HANDLE *Handle);
/**
* Returns the GUID of the adapter.