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>
This commit is contained in:
parent
55e911020e
commit
06851f8497
@ -38,11 +38,11 @@ CopyFiles = Wintun.CopyFiles.Sys
|
|||||||
EnableDhcp = 0 ; Disable DHCP
|
EnableDhcp = 0 ; Disable DHCP
|
||||||
|
|
||||||
[Wintun.Install.Services]
|
[Wintun.Install.Services]
|
||||||
AddService = %Wintun.Name%, 2, Wintun.Service, Wintun.EventLog, , %Wintun.Name%
|
AddService = wintun, 2, Wintun.Service, Wintun.EventLog
|
||||||
|
|
||||||
[Wintun.Ndi]
|
[Wintun.Ndi]
|
||||||
HKR, , DeviceVxDs, , wintun.sys
|
HKR, , DeviceVxDs, , wintun.sys
|
||||||
HKR, Ndi, Service, 0, Wintun.Name
|
HKR, Ndi, Service, 0, wintun
|
||||||
HKR, Ndi\Interfaces, UpperRange, , "ndis5"
|
HKR, Ndi\Interfaces, UpperRange, , "ndis5"
|
||||||
HKR, Ndi\Interfaces, LowerRange, , "nolower"
|
HKR, Ndi\Interfaces, LowerRange, , "nolower"
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user