aboutsummaryrefslogtreecommitdiffstats
path: root/api
diff options
context:
space:
mode:
Diffstat (limited to 'api')
-rw-r--r--api/adapter.c6
-rw-r--r--api/exports.def1
-rw-r--r--api/wintun.h9
3 files changed, 0 insertions, 16 deletions
diff --git a/api/adapter.c b/api/adapter.c
index 3db3174..bab0502 100644
--- a/api/adapter.c
+++ b/api/adapter.c
@@ -767,12 +767,6 @@ cleanupDeviceRegKey:
}
void WINAPI
-WintunGetAdapterGUID(_In_ const WINTUN_ADAPTER *Adapter, _Out_ GUID *Guid)
-{
- memcpy(Guid, &Adapter->CfgInstanceID, sizeof(GUID));
-}
-
-void WINAPI
WintunGetAdapterLUID(_In_ const WINTUN_ADAPTER *Adapter, _Out_ NET_LUID *Luid)
{
Luid->Info.Reserved = 0;
diff --git a/api/exports.def b/api/exports.def
index 10c82c2..53c2300 100644
--- a/api/exports.def
+++ b/api/exports.def
@@ -9,7 +9,6 @@ EXPORTS
WintunFreeAdapter
WintunGetAdapter
WintunOpenAdapterDeviceObject
- WintunGetAdapterGUID
WintunGetAdapterLUID
WintunGetAdapterName
WintunGetReadWaitEvent
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