2020-07-29 10:10:42 +02:00
|
|
|
/* SPDX-License-Identifier: GPL-2.0
|
|
|
|
*
|
2021-01-30 16:45:26 +01:00
|
|
|
* Copyright (C) 2018-2021 WireGuard LLC. All Rights Reserved.
|
2020-07-29 10:10:42 +02:00
|
|
|
*/
|
|
|
|
|
|
|
|
#pragma once
|
|
|
|
|
|
|
|
#include <Windows.h>
|
|
|
|
|
2020-11-02 11:36:13 +01:00
|
|
|
#ifdef GENERATE_LIB
|
|
|
|
# define DECLSPEC __declspec(dllexport)
|
|
|
|
# define STUB { return 0; }
|
|
|
|
#else
|
|
|
|
# define DECLSPEC __declspec(dllimport)
|
|
|
|
# define STUB ;
|
|
|
|
#endif
|
2020-07-29 10:10:42 +02:00
|
|
|
|
2020-11-02 11:36:13 +01:00
|
|
|
|
|
|
|
EXTERN_C DECLSPEC DWORD WINAPI
|
|
|
|
NciSetConnectionName(_In_ const GUID *Guid, _In_z_ const WCHAR *NewName) STUB
|
|
|
|
|
|
|
|
EXTERN_C DECLSPEC DWORD WINAPI
|
|
|
|
NciGetConnectionName(
|
2020-07-29 10:10:42 +02:00
|
|
|
_In_ const GUID *Guid,
|
|
|
|
_Out_z_bytecap_(InDestNameBytes) WCHAR *Name,
|
|
|
|
_In_ DWORD InDestNameBytes,
|
2020-11-02 11:36:13 +01:00
|
|
|
_Out_opt_ DWORD *OutDestNameBytes) STUB
|