;
; Vca.inf
;

[Version]
Signature = "$WINDOWS NT$"
Class = System
ClassGuid = {4D36E97D-E325-11CE-BFC1-08002BE10318}
Provider = %ManufacturerName%
CatalogFile = Vca.cat
DriverVer=08/21/2017,14.58.46.683
PnpLockdown = 0
; If the PnpLockDown directive is set to 1, PnP prevents applications from directly modifying the files that are copied by INF CopyFiles directives.
[DestinationDirs]
DefaultDestDir = 12

[SourceDisksNames]
1 = %DiskName%,,,""

[SourceDisksFiles]
Vca.sys = 1,,
WdfCoInstaller01011.dll=1 ; make sure the number matches with SourceDisksNames

;*****************************************
; Install Section
;*****************************************

[Manufacturer]
%ManufacturerName%=Standard,NTamd64

[Standard.NTamd64]
%Vca.DeviceDesc%	= Vca_Device,PCI\VEN_8086&DEV_2954
%Vca.DeviceDesc%	= Vca_Device,PCI\VEN_8086&DEV_2955
%Vca.DeviceDesc%	= Vca_Device,PCI\VEN_8086&DEV_2956
%Vca.DeviceDesc%	= Vca_Device,PCI\VEN_8086&DEV_2958
%Vca.DeviceDesc%	= Vca_Device,PCI\VEN_8086&DEV_2959
%Vca.DeviceDesc%	= Vca_Device,PCI\VEN_8086&DEV_295A

[Vca_Device.NTamd64]
CopyFiles=Drivers_Dir
AddReg=WmiProp_AddReg

[Drivers_Dir]
Vca.sys

[WmiProp_AddReg]
HKR,,"WmiConfigClasses",0x00000000,"VCA"

;-------------- Wmi Security
[Vca_Device.NTamd64.WMI]
WMIInterface = {6708BDDC-BBEB-4E1F-BEB0-588DDD9FE25C},1,WmiAdmin
WMIInterface = {C4D7FB6C-173E-4EB6-A05F-B78118585B83},1,WmiProperties
WMIInterface = {CFE9455A-4073-4A92-A8D5-4A6633269322},1,WmiDebug

[WmiAdmin]
security = "O:BAG:BAD:(A;;GA;;;BA)(A;;GA;;;LS)"

[WmiProperties]
security = "O:BAG:BAD:(A;;GA;;;BA)(A;;GA;;;LS)(A;;GR;;;AU)(A;;GR;;;NS)"

[WmiDebug]
security = "O:BAG:BAD:(A;;GA;;;BA)(A;;GA;;;LS)"

;-------------- Service installation
[Vca_Device.NTamd64.Services]
AddService = Vca,%SPSVCINST_ASSOCSERVICE%, Vca_Service_Inst, Vca_ErrorLog

; -------------- Vca driver install sections
[Vca_Service_Inst]
DisplayName	= %Vca.SVCDESC%
ServiceType	= 1			; SERVICE_KERNEL_DRIVER
StartType = 0           ; SERVICE_BOOT_START
ErrorControl = 1			; SERVICE_ERROR_NORMAL
ServiceBinary = %12%\Vca.sys
LoadOrderGroup = Extended Base

[Vca_ErrorLog]
AddReg = ErrorLog.reg

[ErrorLog.reg]
HKR,,EventMessageFile,0x00020000,"%%SystemRoot%%\System32\IoLogMsg.dll;%%SystemRoot%%\System32\drivers\Vca.sys"
HKR,,TypesSupported,0x00010001,7

;
;--- Vca_Device Coinstaller installation ------
;

[DestinationDirs]
Vca_Device_CoInstaller_CopyFiles = 11

[Vca_Device.NTamd64.CoInstallers]
AddReg=Vca_Device_CoInstaller_AddReg
CopyFiles=Vca_Device_CoInstaller_CopyFiles

[Vca_Device_CoInstaller_AddReg]
HKR,,CoInstallers32,0x00010000, "WdfCoInstaller01011.dll,WdfCoInstaller"

[Vca_Device_CoInstaller_CopyFiles]
WdfCoInstaller01011.dll

[Vca_Device.NTamd64.Wdf]
KmdfService = Vca, Vca_wdfsect
[Vca_wdfsect]
KmdfLibraryVersion = 1.11

[Vca_Device.NTamd64.HW]
AddReg= MSI.reg
AddReg= Sec.reg

[MSI.reg]
HKR, "Interrupt Management", 0x00000010
HKR, "Interrupt Management\MessageSignaledInterruptProperties",0x00000010
HKR, "Interrupt Management\MessageSignaledInterruptProperties",MSISupported, 0x00010001, 1
HKR, "Interrupt Management\MessageSignaledInterruptProperties",MessageNumberLimit, 0x00010001, 1

[Sec.reg]
HKR,,Security,,"D:P(A;;GA;;;SY)(A;;GA;;;BA)"

[Strings]
SPSVCINST_ASSOCSERVICE= 0x00000002
ManufacturerName= "Intel Corporation"
ClassName	= "System"
DiskName		= "Intel(R) VCA PCIe Source Disk"
Vca.DeviceDesc = "Intel(R) VCA PCIe Device"
Vca.SVCDESC	= "Intel(R) VCA PCIe KMDF"
