aboutsummaryrefslogtreecommitdiffstats
path: root/api/wintun.h
diff options
context:
space:
mode:
authorJason A. Donenfeld <Jason@zx2c4.com>2020-11-03 12:34:19 +0100
committerJason A. Donenfeld <Jason@zx2c4.com>2020-11-03 12:34:19 +0100
commit8963f7258ebe5889399f77e89d7ebd08f57c0733 (patch)
tree28ff5b610d1b182d78ca5d2fa5266a3ae418a8a7 /api/wintun.h
parentapi: use 'open' name since caller must close handle (diff)
downloadwintun-8963f7258ebe5889399f77e89d7ebd08f57c0733.tar.xz
wintun-8963f7258ebe5889399f77e89d7ebd08f57c0733.zip
api: remove guid getter
The iphlpapi takes both LUIDs and GUIDs but prefers LUIDs, so exposing the NET_LUID makes sense. However, we were previously exposing the configuration GUID, rather than the net GUID, which is confusing, so just make it all go away. Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
Diffstat (limited to 'api/wintun.h')
-rw-r--r--api/wintun.h9
1 files changed, 0 insertions, 9 deletions
diff --git a/api/wintun.h b/api/wintun.h
index 353c1e9..62816b9 100644
--- a/api/wintun.h
+++ b/api/wintun.h
@@ -150,15 +150,6 @@ typedef WINTUN_STATUS(
WINAPI *WINTUN_OPEN_ADAPTER_DEVICE_OBJECT_FUNC)(_In_ WINTUN_ADAPTER_HANDLE Adapter, _Out_ HANDLE *Handle);
/**
- * Returns the GUID of the adapter.
- *
- * @param Adapter Adapter handle obtained with WintunGetAdapter or WintunCreateAdapter
- *
- * @param Guid Pointer to GUID to receive adapter ID.
- */
-typedef void(WINAPI *WINTUN_GET_ADAPTER_GUID_FUNC)(_In_ WINTUN_ADAPTER_HANDLE Adapter, _Out_ GUID *Guid);
-
-/**
* Returns the LUID of the adapter.
*
* @param Adapter Adapter handle obtained with WintunGetAdapter or WintunCreateAdapter