blob: ff1b78174a02f4732e5c915f5ac4098d294a0b99 (
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
31
32
33
34
|
/* SPDX-License-Identifier: GPL-2.0
*
* Copyright (C) 2018-2021 WireGuard LLC. All Rights Reserved.
*/
#pragma once
#include "wireguard.h"
#include <Windows.h>
#include <SetupAPI.h>
#define WIREGUARD_HWID L"WireGuard"
typedef struct _SP_DEVINFO_DATA_LIST SP_DEVINFO_DATA_LIST;
VOID
DriverInstallDeferredCleanup(_In_ HDEVINFO DevInfoExistingAdapters, _In_opt_ SP_DEVINFO_DATA_LIST *ExistingAdapters);
_Must_inspect_result_
_Return_type_success_(return != FALSE)
BOOL
DriverInstall(
_Out_ HDEVINFO *DevInfoExistingAdaptersForCleanup,
_Out_ SP_DEVINFO_DATA_LIST **ExistingAdaptersForCleanup);
/**
* @copydoc WIREGUARD_DELETE_DRIVER_FUNC
*/
WIREGUARD_DELETE_DRIVER_FUNC WireGuardDeleteDriver;
/**
* @copydoc WIREGUARD_GET_RUNNING_DRIVER_VERSION_FUNC
*/
WIREGUARD_GET_RUNNING_DRIVER_VERSION_FUNC WireGuardGetRunningDriverVersion;
|