mirror of
https://github.com/arehnman/yttrium-virtio-gpu.git
synced 2026-10-31 02:05:04 +00:00
The dummy service behaves like a service and does not do anything except of that. The protocol is unconditionally registered by NETKVM driver on load. We do not have and do not need another executable for the protocol, but we do need the service name to register the protocol. Signed-off-by: Yuri Benditovich <[email protected]>
86 lines
2.7 KiB
INI
86 lines
2.7 KiB
INI
;-------------------------------------------------------------------------
|
|
; VIOPROT.INF -- VirtIO NetKVM Protocol Driver
|
|
;
|
|
; Copyright (c) 2020 Oracle and/or its affiliates.
|
|
;-------------------------------------------------------------------------
|
|
|
|
[version]
|
|
Signature = "$Windows NT$"
|
|
Class = NetTrans
|
|
ClassGUID = {4d36e975-e325-11ce-bfc1-08002be10318}
|
|
Provider = %VENDOR%
|
|
DriverVer = 01/01/2020,1.1
|
|
CatalogFile = vioprot.cat
|
|
|
|
|
|
[Manufacturer]
|
|
%VENDOR%=Standard,NTx86,NTamd64
|
|
|
|
[Standard.NTx86]
|
|
%NETKVMP_Desc%=Install,VIOPROT
|
|
|
|
[Standard.NTamd64]
|
|
%NETKVMP_Desc%=Install,VIOPROT
|
|
|
|
;-------------------------------------------------------------------------
|
|
; Installation Section
|
|
;-------------------------------------------------------------------------
|
|
[Install]
|
|
AddReg=Inst_Ndi
|
|
Characteristics=0x0
|
|
CopyFiles=Copy.Exec
|
|
|
|
;-------------------------------------------------------------------------
|
|
; Ndi installation support
|
|
;-------------------------------------------------------------------------
|
|
[Inst_Ndi]
|
|
HKR, Ndi, ClsID, 0, {F69513F1-8E1A-4F35-82D9-046406970E6D}
|
|
HKR, Ndi, ComponentDll, , netkvmno.dll
|
|
HKR,Ndi,Service,,netkvmp
|
|
HKR,Ndi,HelpText,,%NETKVMP_HelpText%
|
|
HKR,Ndi\Interfaces, UpperRange,, noupper
|
|
HKR,Ndi\Interfaces, LowerRange,,"ndis5,ndis5_prot"
|
|
|
|
;-------------------------------------------------------------------------
|
|
; Service installation support
|
|
;-------------------------------------------------------------------------
|
|
[Install.Services]
|
|
AddService=netkvmp,,NETKVMP.ServiceInst
|
|
|
|
[NETKVMP.ServiceInst]
|
|
DisplayName = %NETKVMP_Desc%
|
|
ServiceType = 16 ;SERVICE_WIN32_OWN_PROCESS
|
|
StartType = 3 ;SERVICE_DEMAND_START
|
|
ErrorControl = 1 ;SERVICE_ERROR_NORMAL
|
|
ServiceBinary = %11%\netkvmp.exe
|
|
Description = %NETKVMP_Desc%
|
|
|
|
[Install.Remove.Services]
|
|
DelService=netkvmp,0x200 ;SPSVCINST_STOPSERVICE
|
|
|
|
;-------------------------------------------------------------------------
|
|
; Declare Destination Directories for file copy/deletion
|
|
;-------------------------------------------------------------------------
|
|
[SourceDisksNames]
|
|
1=%DiskDescription%,"",,
|
|
|
|
[SourceDisksFiles]
|
|
netkvmno.dll=1
|
|
netkvmp.exe=1
|
|
|
|
[DestinationDirs]
|
|
Copy.Exec = 11 ; %windir%\System32
|
|
|
|
;-------------------------------------------------------------------------
|
|
; Files to Copy/Delete - Referenced by Install and Remove sections above
|
|
;-------------------------------------------------------------------------
|
|
[Copy.Exec]
|
|
netkvmno.dll,,,2 ; COPYFLG_NOSKIP
|
|
netkvmp.exe,,,2 ; COPYFLG_NOSKIP
|
|
|
|
[Strings]
|
|
VENDOR = "INX_COMPANY"
|
|
DiskDescription = "VirtIO NetKVM Protocol Driver Disk"
|
|
NETKVMP_Desc = "VirtIO NetKVM Protocol Driver"
|
|
NETKVMP_HelpText = "A driver to support SRIOV for VirtIO network devices"
|