diff options
author | Jason A. Donenfeld <Jason@zx2c4.com> | 2020-10-31 12:34:01 +0100 |
---|---|---|
committer | Simon Rozman <simon@rozman.si> | 2020-10-31 19:11:51 +0100 |
commit | 62f21f2fdd7001612dc42336dc03ab1bdf4b7ca0 (patch) | |
tree | 694a16c7da3d1ba316d438a2e9dd2a5601a1af42 /api/nci.h | |
parent | Bump date headers (diff) | |
download | wintun-62f21f2fdd7001612dc42336dc03ab1bdf4b7ca0.tar.xz wintun-62f21f2fdd7001612dc42336dc03ab1bdf4b7ca0.zip |
api: link to nci.dll at compile time
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
Signed-off-by: Simon Rozman <simon@rozman.si>
Diffstat (limited to '')
-rw-r--r-- | api/nci.h | 13 |
1 files changed, 3 insertions, 10 deletions
@@ -5,19 +5,12 @@ #pragma once -#include "wintun.h" #include <Windows.h> -extern DWORD(WINAPI *NciSetConnectionName)(_In_ const GUID *Guid, _In_z_ const WCHAR *NewName); +extern DWORD WINAPI NciSetConnectionName(_In_ const GUID *Guid, _In_z_ const WCHAR *NewName); -extern DWORD(WINAPI *NciGetConnectionName)( +extern DWORD WINAPI NciGetConnectionName( _In_ const GUID *Guid, _Out_z_bytecap_(InDestNameBytes) WCHAR *Name, _In_ DWORD InDestNameBytes, - _Out_opt_ DWORD *OutDestNameBytes); - -WINTUN_STATUS -NciInit(void); - -void -NciCleanup(void); + _Out_opt_ DWORD *OutDestNameBytes);
\ No newline at end of file |