03479caf9d
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com> Signed-off-by: Simon Rozman <simon@rozman.si>
67 lines
1.6 KiB
INI
67 lines
1.6 KiB
INI
; SPDX-License-Identifier: GPL-2.0
|
|
;
|
|
; Copyright (C) 2018-2019 WireGuard LLC. All Rights Reserved.
|
|
|
|
[Version]
|
|
Signature = "$Windows NT$"
|
|
Class = Net
|
|
ClassGUID = {4D36E972-E325-11CE-BFC1-08002BE10318}
|
|
Provider = %Wintun.CompanyName%
|
|
CatalogFile.NT = wintun.cat
|
|
|
|
[Manufacturer]
|
|
%Wintun.CompanyName% = %Wintun.Name%, NT$ARCH$
|
|
|
|
[SourceDisksNames]
|
|
1 = %Wintun.DiskDesc%, "", ,
|
|
|
|
[SourceDisksFiles]
|
|
wintun.sys = 1
|
|
|
|
[DestinationDirs]
|
|
DefaultDestDir = 12
|
|
Wintun.CopyFiles.Sys = 12
|
|
|
|
[Wintun.CopyFiles.Sys]
|
|
wintun.sys, , , 0x00004002 ; COPYFLG_IN_USE_RENAME | COPYFLG_NOSKIP
|
|
|
|
[Wintun.NT$ARCH$]
|
|
%Wintun.DeviceDesc% = Wintun.Install, Wintun
|
|
|
|
[Wintun.Install]
|
|
Characteristics = 0x1 ; NCF_VIRTUAL
|
|
AddReg = Wintun.Ndi
|
|
CopyFiles = Wintun.CopyFiles.Sys
|
|
*IfType = 53 ; IF_TYPE_PROP_VIRTUAL
|
|
*MediaType = 19 ; NdisMediumIP
|
|
*PhysicalMediaType = 0 ; NdisPhysicalMediumUnspecified
|
|
EnableDhcp = 0 ; Disable DHCP
|
|
|
|
[Wintun.Install.Services]
|
|
AddService = %Wintun.Name%, 2, Wintun.Service, Wintun.EventLog, , %Wintun.Name%
|
|
|
|
[Wintun.Ndi]
|
|
HKR, , DeviceVxDs, , wintun.sys
|
|
HKR, Ndi, Service, 0, Wintun.Name
|
|
HKR, Ndi\Interfaces, UpperRange, , "ndis5"
|
|
HKR, Ndi\Interfaces, LowerRange, , "nolower"
|
|
|
|
[Wintun.Service]
|
|
DisplayName = %Wintun.Name%
|
|
Description = %Wintun.DeviceDesc%
|
|
ServiceType = 1
|
|
StartType = 3
|
|
ErrorControl = 1
|
|
ServiceBinary = %12%\wintun.sys
|
|
LoadOrderGroup = NDIS
|
|
|
|
[Wintun.EventLog]
|
|
HKR, , EventMessageFile, 0x00020000, "%11%\IoLogMsg.dll;%12%\wintun.sys"
|
|
HKR, , TypesSupported, 0x00010001, 7
|
|
|
|
[Strings]
|
|
Wintun.Name = "Wintun"
|
|
Wintun.DiskDesc = "Wintun Driver Install Disk"
|
|
Wintun.DeviceDesc = "Wintun Userspace Tunnel"
|
|
Wintun.CompanyName = "WireGuard LLC"
|