summaryrefslogtreecommitdiffstatshomepage
path: root/src/wincompat/include/nci.h
blob: 895e49a524b6bbc734704b351af372eda1c94fb9 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
/* 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