-
Notifications
You must be signed in to change notification settings - Fork 23
/
ovpn-dco.inf
83 lines (63 loc) · 2.31 KB
/
ovpn-dco.inf
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
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
[Version]
Signature="$WINDOWS NT$"
Class=Net
ClassGuid={4d36e972-e325-11ce-bfc1-08002be10318}
Provider=%ovpn-dco.CompanyName%
CatalogFile=ovpn-dco.cat
[DestinationDirs]
DefaultDestDir = 12
ovpn-dco_Device_CoInstaller_CopyFiles = 11
; ================= Class section =====================
[SourceDisksNames]
1 = %ovpn-dco.DiskName%,,,""
[SourceDisksFiles]
ovpn-dco.sys = 1,,
WdfCoInstaller$KMDFCOINSTALLERVERSION$.dll=1 ; make sure the number matches with SourceDisksNames
[Manufacturer]
%ovpn-dco.CompanyName%=%ovpn-dco.Name%,NT$ARCH$
[ovpn-dco.NT$ARCH$]
%ovpn-dco.DeviceDesc%=ovpn-dco_Device, ovpn-dco
[ovpn-dco_Device.NT]
CopyFiles=Drivers_Dir
AddReg=ovpn-dco_AddReg
Characteristics = 1 ; NCF_VIRTUAL
*IfType = 53 ; IF_TYPE_PROP_VIRTUAL
*MediaType = 19 ; NdisMediumIP
*PhysicalMediaType = 0 ; NdisPhysicalMediumUnspecified
*IfConnectorPresent = 0
*ConnectionType = 1 ; NET_IF_CONNECTION_PASSIVE
*DirectionType = 0 ; NET_IF_DIRECTION_SENDRECEIVE
*AccessType = 2 ; NET_IF_ACCESS_POINT_TO_POINT
*HardwareLoopback = 0
[ovpn-dco_AddReg]
HKR, Ndi\Interfaces, UpperRange, 0, "ndis5"
HKR, Ndi\Interfaces, LowerRange, 0, "nolower"
HKR, Ndi, Service, 0, %ovpn-dco.Name%
[Drivers_Dir]
ovpn-dco.sys
[ovpn-dco_Device.NT.Services]
AddService = ovpn-dco,%SPSVCINST_ASSOCSERVICE%, ovpn-dco_Service_Inst
[ovpn-dco_Service_Inst]
DisplayName = %ovpn-dco.Name%
ServiceType = 1 ; SERVICE_KERNEL_DRIVER
StartType = 3 ; SERVICE_DEMAND_START
ErrorControl = 1 ; SERVICE_ERROR_NORMAL
ServiceBinary = %12%\ovpn-dco.sys
[ovpn-dco_Device.NT.CoInstallers]
AddReg=ovpn-dco_Device_CoInstaller_AddReg
CopyFiles=ovpn-dco_Device_CoInstaller_CopyFiles
[ovpn-dco_Device_CoInstaller_AddReg]
HKR,,CoInstallers32,0x00010000, "WdfCoInstaller$KMDFCOINSTALLERVERSION$.dll,WdfCoInstaller"
[ovpn-dco_Device_CoInstaller_CopyFiles]
WdfCoInstaller$KMDFCOINSTALLERVERSION$.dll
[ovpn-dco_Device.NT.Wdf]
KmdfService = ovpn-dco, ovpn-dco_wdfsect
[ovpn-dco_wdfsect]
KmdfLibraryVersion = $KMDFVERSION$
[Strings]
SPSVCINST_ASSOCSERVICE= 0x00000002
ovpn-dco.Name = "ovpn-dco"
ovpn-dco.DiskName = "OpenVPN Data Channel Offload Install Disk"
ovpn-dco.DeviceDesc = "OpenVPN Data Channel Offload"
ovpn-dco.SVCDESC = %ovpn-dco.DeviceDesc%
ovpn-dco.CompanyName = "OpenVPN, Inc"