;=============================================================================
;
; Copyright (c) Intel Corporation (2016).
;
; INTEL MAKES NO WARRANTY OF ANY KIND REGARDING THE CODE.  THIS CODE IS
; LICENSED ON AN "AS IS" BASIS AND INTEL WILL NOT PROVIDE ANY SUPPORT,
; ASSISTANCE, INSTALLATION, TRAINING OR OTHER SERVICES.  INTEL DOES NOT
; PROVIDE ANY UPDATES, ENHANCEMENTS OR EXTENSIONS.  INTEL SPECIFICALLY
; DISCLAIMS ANY WARRANTY OF MERCHANTABILITY, NONINFRINGEMENT, FITNESS FOR ANY
; PARTICULAR PURPOSE, OR ANY OTHER WARRANTY.  Intel disclaims all liability,
; including liability for infringement of any proprietary rights, relating to
; use of the code. No license, express or implied, by estoppel or otherwise,
; to any intellectual property rights is granted herein.
;
;=============================================================================


[version]
Signature   = "$Windows NT$"
Class       = Net
ClassGUID   = {4d36e972-e325-11ce-bfc1-08002be10318}
Provider    = %INTL%
DriverVer=08/21/2017,14.58.56.728
CatalogFile     = vcaveth.cat

[Manufacturer]
%INTL% = INTL,NTamd64

[INTL.NTamd64]
%VcaVeth.DeviceDesc% = VcaVeth.ndi, {6FBCF49F-8ECC-47D1-985D-BAE3BAC6B9DC}\vca_vnet


;-------------------------------------------------------------------------------
; Vca Virtual Network Device
;
[VcaVeth.ndi]
Characteristics    = 0x1 ; NCF_VIRTUAL
*IfType            = 0x6 ; IF_TYPE_ETHERNET_CSMACD
*MediaType         = 0x0 ; NdisMedium802_3
*PhysicalMediaType = 14 ; NdisPhysicalMediumUnspecified
AddReg             = VcaVeth.Reg
CopyFiles          = VcaVeth.CopyFiles

[DefaultUninstall]
DelReg             = VcaVeth.Del

[VcaVeth.ndi.Services]
AddService         = VcaVeth, 2, VcaVeth.Service, VcaVeth.EventLog

;-----------------------------------------------------------------------------
; Vca Virtual Miniport Common
;
[VcaVeth.Reg]
HKR,    ,                         BusNumber,           0, "0"
HKR,    ,                         *NdisDeviceType,     0x00010001, 1  ; NDIS_DEVICE_TYPE_ENDPOINT
HKR, Ndi,                         Service,             0, "VcaVeth"
HKR, Ndi\Interfaces,              UpperRange,          0, "ndis5"
HKR, Ndi\Interfaces,              LowerRange,          0, "ethernet"

[VcaVeth.Del]
HKR, Ndi\params

;-----------------------------------------------------------------------------
; Driver and Service Section
;
[VcaVeth.CopyFiles]
VcaVeth.sys,,,2

[VcaVeth.Service]
DisplayName        = %VcaVeth.Service.DispName%
ServiceType        = 1 ;%SERVICE_KERNEL_DRIVER%
StartType          = 3 ;%SERVICE_DEMAND_START%
ErrorControl       = 1 ;%SERVICE_ERROR_NORMAL%
ServiceBinary      = %12%\VcaVeth.sys
LoadOrderGroup     = NDIS

[VcaVeth.EventLog]
AddReg             = VcaVeth.AddEventLog.Reg

[VcaVeth.AddEventLog.Reg]
HKR, , EventMessageFile, 0x00020000, "%%SystemRoot%%\System32\netevent.dll"
HKR, , TypesSupported,   0x00010001, 7

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

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

;-----------------------------------------------------------------------------
; DestinationDirs
;
[DestinationDirs]
VcaVeth.CopyFiles = 12
VcaVeth_CoInstaller_CopyFiles = 11

;
;--- VcaVeth Coinstaller installation ------
;

[VcaVeth.NT.CoInstallers]
AddReg=VcaVeth_CoInstaller_AddReg
CopyFiles=VcaVeth_CoInstaller_CopyFiles

[VcaVeth_CoInstaller_AddReg]
HKR,,CoInstallers32,0x00010000, "WdfCoInstaller01011.dll,WdfCoInstaller"
HKR,,Security,,"D:P(A;;GA;;;SY)(A;;GA;;;BA)(A;;GRGW;;;WD)"
HKR,,DeviceCharacteristics,0x10001,0x100

[VcaVeth_CoInstaller_CopyFiles]
WdfCoInstaller01011.dll

[VcaVeth.NT.Wdf]
KmdfService =  VcaVeth, VcaVeth_wdfsect
[VcaVeth_wdfsect]
KmdfLibraryVersion = 1.11

;-----------------------------------------------------------------------------
; Localizable Strings
;
[Strings]
INTL                         = "Intel Corporation"
VcaVeth.DeviceDesc          = "Intel(R) VCA Network Over PCIe (VOP) Device"
VcaVeth.Service.DispName    = "Intel(R) VCA Network Over PCIe (VOP) Service"
DiskId1                      = "Intel(R) VCA Network Over PCIe (VOP) Installation Disk #1"
