aboutsummaryrefslogtreecommitdiffstats
path: root/api/nci.h
diff options
context:
space:
mode:
Diffstat (limited to 'api/nci.h')
-rw-r--r--api/nci.h22
1 files changed, 22 insertions, 0 deletions
diff --git a/api/nci.h b/api/nci.h
new file mode 100644
index 0000000..5090c90
--- /dev/null
+++ b/api/nci.h
@@ -0,0 +1,22 @@
+/* SPDX-License-Identifier: GPL-2.0
+ *
+ * Copyright (C) 2018-2020 WireGuard LLC. All Rights Reserved.
+ */
+
+#pragma once
+
+#include <Windows.h>
+
+extern DWORD(WINAPI *NciSetConnectionName)(_In_ const GUID *Guid, _In_z_ const WCHAR *NewName);
+
+extern DWORD(WINAPI *NciGetConnectionName)(
+ _In_ const GUID *Guid,
+ _Out_z_bytecap_(InDestNameBytes) WCHAR *Name,
+ _In_ DWORD InDestNameBytes,
+ _Out_opt_ DWORD *OutDestNameBytes);
+
+void
+NciInit();
+
+void
+NciCleanup();