diff options
author | Jason A. Donenfeld <Jason@zx2c4.com> | 2020-11-02 18:34:49 +0100 |
---|---|---|
committer | Jason A. Donenfeld <Jason@zx2c4.com> | 2020-11-02 23:33:20 +0100 |
commit | ddacb5491aadb2a013a80cb5d45e23fec85c5d68 (patch) | |
tree | cb44d0e87b74c24e6f774faa4898722d68711754 /api/wintun.h | |
parent | api: consistancy in exported interface (diff) | |
download | wintun-ddacb5491aadb2a013a80cb5d45e23fec85c5d68.tar.xz wintun-ddacb5491aadb2a013a80cb5d45e23fec85c5d68.zip |
api: pass around NET_LUID instead of LUID
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
Diffstat (limited to 'api/wintun.h')
-rw-r--r-- | api/wintun.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/api/wintun.h b/api/wintun.h index 5176c2c..09d53b2 100644 --- a/api/wintun.h +++ b/api/wintun.h @@ -7,6 +7,7 @@ #include <Windows.h> #include <IPExport.h> +#include <ifdef.h> #ifdef __cplusplus extern "C" { @@ -157,7 +158,7 @@ typedef void(WINAPI *WINTUN_GET_ADAPTER_GUID_FUNC)(_In_ WINTUN_ADAPTER_HANDLE Ad * * @param Luid Pointer to LUID to receive adapter LUID. */ -typedef void(WINAPI *WINTUN_GET_ADAPTER_LUID_FUNC)(_In_ WINTUN_ADAPTER_HANDLE Adapter, _Out_ LUID *Luid); +typedef void(WINAPI *WINTUN_GET_ADAPTER_LUID_FUNC)(_In_ WINTUN_ADAPTER_HANDLE Adapter, _Out_ NET_LUID *Luid); /** * Returns the name of the Wintun adapter. |