diff options
author | Jason A. Donenfeld <Jason@zx2c4.com> | 2020-11-05 15:25:52 +0100 |
---|---|---|
committer | Jason A. Donenfeld <Jason@zx2c4.com> | 2020-11-05 16:58:43 +0100 |
commit | 9f3d4667915357b8e7c2dbce87d94e389f8305de (patch) | |
tree | f06c600ccc9cff4ce449446f44867580e059c3c2 /api/adapter.c | |
parent | example: raise to 4MiB (diff) | |
download | wintun-9f3d4667915357b8e7c2dbce87d94e389f8305de.tar.xz wintun-9f3d4667915357b8e7c2dbce87d94e389f8305de.zip |
api: remove WintunOpenAdapterDeviceObject
Discourage use of kernel interface, which gives us more flexibility if
we ever want to change it.
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
Diffstat (limited to 'api/adapter.c')
-rw-r--r-- | api/adapter.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/api/adapter.c b/api/adapter.c index 58ab18d..8a0c772 100644 --- a/api/adapter.c +++ b/api/adapter.c @@ -824,7 +824,7 @@ WintunGetAdapterLUID(_In_ const WINTUN_ADAPTER *Adapter, _Out_ NET_LUID *Luid) } _Return_type_success_(return != INVALID_HANDLE_VALUE) HANDLE WINAPI - WintunOpenAdapterDeviceObject(_In_ const WINTUN_ADAPTER *Adapter) + AdapterOpenDeviceObject(_In_ const WINTUN_ADAPTER *Adapter) { return OpenDeviceObject(Adapter->DevInstanceID); } |