aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/src/wincompat/include/nci.h
diff options
context:
space:
mode:
authorJason A. Donenfeld <Jason@zx2c4.com>2021-07-31 00:39:58 +0200
committerJason A. Donenfeld <Jason@zx2c4.com>2021-07-31 01:01:53 +0200
commit52597c351554ec7f39c0817d45771d1f30572f4b (patch)
tree5d9c7e1636b7c878eaad08a0ab284137db461a57 /src/wincompat/include/nci.h
parentipc: windows: don't display disabled adapters (diff)
downloadwireguard-tools-52597c351554ec7f39c0817d45771d1f30572f4b.tar.xz
wireguard-tools-52597c351554ec7f39c0817d45771d1f30572f4b.zip
ipc: windows: use devpkey instead of nci for name
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
Diffstat (limited to '')
-rw-r--r--src/wincompat/include/nci.h30
1 files changed, 0 insertions, 30 deletions
diff --git a/src/wincompat/include/nci.h b/src/wincompat/include/nci.h
deleted file mode 100644
index 895e49a..0000000
--- a/src/wincompat/include/nci.h
+++ /dev/null
@@ -1,30 +0,0 @@
-/* SPDX-License-Identifier: GPL-2.0
- *
- * Copyright (C) 2018-2021 WireGuard LLC. All Rights Reserved.
- */
-
-#ifndef _NCI_H
-#define _NCI_H
-
-#include <windows.h>
-
-#ifdef GENERATE_LIB
-#define DECLSPEC __declspec(dllexport)
-#define STUB { return 0; }
-#else
-#define DECLSPEC __declspec(dllimport)
-#define STUB ;
-#endif
-
-
-EXTERN_C DECLSPEC DWORD WINAPI
-NciSetConnectionName(const GUID *Guid, const WCHAR *NewName) STUB
-
-EXTERN_C DECLSPEC DWORD WINAPI
-NciGetConnectionName(
- const GUID *Guid,
- WCHAR *Name,
- DWORD InDestNameBytes,
- DWORD *OutDestNameBytes) STUB
-
-#endif