2020-07-03 12:26:06 +02:00
|
|
|
/* SPDX-License-Identifier: GPL-2.0
|
|
|
|
*
|
|
|
|
* Copyright (C) 2018-2020 WireGuard LLC. All Rights Reserved.
|
|
|
|
*/
|
|
|
|
|
|
|
|
#pragma once
|
|
|
|
|
|
|
|
#include <Windows.h>
|
|
|
|
|
2020-10-13 19:40:52 +02:00
|
|
|
#ifndef __L
|
|
|
|
# define __L(x) L##x
|
|
|
|
#endif
|
|
|
|
#ifndef _L
|
|
|
|
# define _L(x) __L(x)
|
|
|
|
#endif
|
|
|
|
|
2020-07-21 16:43:34 +02:00
|
|
|
typedef _Return_type_success_(return == ERROR_SUCCESS) DWORD WINTUN_STATUS;
|
2020-07-24 08:10:00 +02:00
|
|
|
|
2020-07-29 10:10:42 +02:00
|
|
|
extern HINSTANCE ResourceModule;
|
2020-07-21 16:38:00 +02:00
|
|
|
|
2020-07-21 16:43:34 +02:00
|
|
|
WINTUN_STATUS WINAPI
|
2020-07-21 16:38:00 +02:00
|
|
|
WintunGetVersion(
|
|
|
|
_Out_ DWORD *DriverVersionMaj,
|
|
|
|
_Out_ DWORD *DriverVersionMin,
|
|
|
|
_Out_ DWORD *NdisVersionMaj,
|
|
|
|
_Out_ DWORD *NdisVersionMin);
|