aboutsummaryrefslogtreecommitdiffstats
path: root/wintun.inf
diff options
context:
space:
mode:
authorSimon Rozman <simon@rozman.si>2019-03-28 14:30:01 +0100
committerSimon Rozman <simon@rozman.si>2019-03-28 14:30:44 +0100
commit06851f8497134e5fa0a6973eb235fb783c673d60 (patch)
tree79e616293c1e68a3508f05fe5369cd3e24ffd17e /wintun.inf
parentAdd documentation files to the .vcxproj (diff)
downloadwintun-06851f8497134e5fa0a6973eb235fb783c673d60.tar.xz
wintun-06851f8497134e5fa0a6973eb235fb783c673d60.zip
Fix driver service name
AddService: - ServiceName parameter must not be localized. [1] - EventName does not need to be specified when same as ServiceName. [1] Service-related Ndi key: - The Service value must match the ServiceName parameter of the AddService directive that references the service-install-section for the primary service. [2] [1](https://docs.microsoft.com/en-us/windows-hardware/drivers/install/inf-addservice-directive) [2](https://docs.microsoft.com/en-us/windows-hardware/drivers/network/adding-service-related-values-to-the-ndi-key) Signed-off-by: Simon Rozman <simon@rozman.si>
Diffstat (limited to 'wintun.inf')
-rw-r--r--wintun.inf4
1 files changed, 2 insertions, 2 deletions
diff --git a/wintun.inf b/wintun.inf
index 090878b..23c8c7f 100644
--- a/wintun.inf
+++ b/wintun.inf
@@ -38,11 +38,11 @@ CopyFiles = Wintun.CopyFiles.Sys
EnableDhcp = 0 ; Disable DHCP
[Wintun.Install.Services]
-AddService = %Wintun.Name%, 2, Wintun.Service, Wintun.EventLog, , %Wintun.Name%
+AddService = wintun, 2, Wintun.Service, Wintun.EventLog
[Wintun.Ndi]
HKR, , DeviceVxDs, , wintun.sys
-HKR, Ndi, Service, 0, Wintun.Name
+HKR, Ndi, Service, 0, wintun
HKR, Ndi\Interfaces, UpperRange, , "ndis5"
HKR, Ndi\Interfaces, LowerRange, , "nolower"