aboutsummaryrefslogtreecommitdiffstats
path: root/README.md
diff options
context:
space:
mode:
authorJason A. Donenfeld <Jason@zx2c4.com>2020-11-05 15:25:52 +0100
committerJason A. Donenfeld <Jason@zx2c4.com>2020-11-05 16:58:43 +0100
commit9f3d4667915357b8e7c2dbce87d94e389f8305de (patch)
treef06c600ccc9cff4ce449446f44867580e059c3c2 /README.md
parentexample: raise to 4MiB (diff)
downloadwintun-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 'README.md')
-rw-r--r--README.md14
1 files changed, 0 insertions, 14 deletions
diff --git a/README.md b/README.md
index 1a4276e..06f4847 100644
--- a/README.md
+++ b/README.md
@@ -243,20 +243,6 @@ Deletes all Wintun adapters in a pool and if there are no more adapters in any o
If the function succeeds, the return value is nonzero. If the function fails, the return value is zero. To get extended error information, call GetLastError.
-#### WintunOpenAdapterDeviceObject()
-
-`HANDLE WintunOpenAdapterDeviceObject (WINTUN_ADAPTER_HANDLE Adapter)`
-
-Returns a handle to the adapter device object.
-
-**Parameters**
-
-- *Adapter*: Adapter handle obtained with WintunOpenAdapter or WintunCreateAdapter.
-
-**Returns**
-
-If the function succeeds, the return value is adapter device object handle. Must be released with CloseHandle. If the function fails, the return value is INVALID\_HANDLE\_VALUE. To get extended error information, call GetLastError.
-
#### WintunGetAdapterLuid()
`void WintunGetAdapterLuid (WINTUN_ADAPTER_HANDLE Adapter, NET_LUID * Luid)`