2021-07-28 20:20:09 +02:00
|
|
|
/* SPDX-License-Identifier: GPL-2.0
|
|
|
|
*
|
|
|
|
* Copyright (C) 2018-2021 WireGuard LLC. All Rights Reserved.
|
|
|
|
*/
|
|
|
|
|
|
|
|
#pragma once
|
|
|
|
|
2021-10-12 07:21:31 +02:00
|
|
|
#include <Windows.h>
|
|
|
|
#include <SetupAPI.h>
|
2021-07-28 20:20:09 +02:00
|
|
|
#include "adapter.h"
|
|
|
|
|
2021-10-12 07:21:31 +02:00
|
|
|
_Return_type_success_(return != FALSE)
|
|
|
|
BOOL
|
|
|
|
RemoveInstanceViaRundll32(_In_ HDEVINFO DevInfo, _In_ SP_DEVINFO_DATA *DevInfoData);
|
|
|
|
|
|
|
|
_Return_type_success_(return != FALSE)
|
|
|
|
BOOL
|
|
|
|
EnableInstanceViaRundll32(_In_ HDEVINFO DevInfo, _In_ SP_DEVINFO_DATA *DevInfoData);
|
2021-07-28 20:20:09 +02:00
|
|
|
|
|
|
|
_Return_type_success_(return != FALSE)
|
|
|
|
BOOL
|
2021-10-12 07:21:31 +02:00
|
|
|
DisableInstanceViaRundll32(_In_ HDEVINFO DevInfo, _In_ SP_DEVINFO_DATA *DevInfoData);
|
2021-07-28 20:20:09 +02:00
|
|
|
|
|
|
|
_Return_type_success_(return != FALSE)
|
|
|
|
BOOL
|
2021-10-12 07:21:31 +02:00
|
|
|
CreateInstanceWin7ViaRundll32(_Out_writes_z_(MAX_INSTANCE_ID) LPWSTR InstanceId);
|