diff options
Diffstat (limited to '')
-rw-r--r-- | driver/wintun.inf (renamed from wintun.inf) | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/wintun.inf b/driver/wintun.inf index ca7dd9b..4b69802 100644 --- a/wintun.inf +++ b/driver/wintun.inf @@ -1,6 +1,6 @@ ; SPDX-License-Identifier: GPL-2.0 ; -; Copyright (C) 2018-2019 WireGuard LLC. All Rights Reserved. +; Copyright (C) 2018-2021 WireGuard LLC. All Rights Reserved. [Version] Signature = "$Windows NT$" @@ -8,6 +8,7 @@ Class = Net ClassGUID = {4D36E972-E325-11CE-BFC1-08002BE10318} Provider = %Wintun.CompanyName% CatalogFile.NT = wintun.cat +PnpLockdown = 1 [Manufacturer] %Wintun.CompanyName% = %Wintun.Name%, NT$ARCH$ @@ -31,17 +32,20 @@ wintun.sys, , , 0x00004002 ; COPYFLG_IN_USE_RENAME | COPYFLG_NOSKIP [Wintun.Install] Characteristics = 0x1 ; NCF_VIRTUAL AddReg = Wintun.Ndi +AddProperty = Wintun.Properties CopyFiles = Wintun.CopyFiles.Sys *IfType = 53 ; IF_TYPE_PROP_VIRTUAL *MediaType = 19 ; NdisMediumIP *PhysicalMediaType = 0 ; NdisPhysicalMediumUnspecified EnableDhcp = 0 ; Disable DHCP +[Wintun.Properties] +DeviceVendorWebsite,,,,"https://www.wintun.net/" + [Wintun.Install.Services] AddService = wintun, 2, Wintun.Service, Wintun.EventLog ; 2=SPSVCINST_ASSOCSERVICE [Wintun.Ndi] -HKR, , DeviceVxDs, , wintun.sys HKR, Ndi, Service, 0, wintun HKR, Ndi\Interfaces, UpperRange, , "ndis5" HKR, Ndi\Interfaces, LowerRange, , "nolower" @@ -53,7 +57,6 @@ ServiceType = 1 ; SERVICE_KERNEL_DRIVER StartType = 3 ; SERVICE_DEMAND_START ErrorControl = 1 ; SERVICE_ERROR_NORMAL ServiceBinary = %12%\wintun.sys -LoadOrderGroup = NDIS [Wintun.EventLog] HKR, , EventMessageFile, 0x00020000, "%11%\IoLogMsg.dll;%12%\wintun.sys" |