diff options
author | Simon Rozman <simon@rozman.si> | 2019-03-28 14:30:01 +0100 |
---|---|---|
committer | Simon Rozman <simon@rozman.si> | 2019-03-28 14:30:44 +0100 |
commit | 06851f8497134e5fa0a6973eb235fb783c673d60 (patch) | |
tree | 79e616293c1e68a3508f05fe5369cd3e24ffd17e | |
parent | Add documentation files to the .vcxproj (diff) | |
download | wintun-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>
-rw-r--r-- | wintun.inf | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -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" |