;-------------------------------------------------------------------------
; uEye_Eth.INF -- uEye_Eth driver
;
; Copyright (c) 2008 - 2013, IDS Imaging Development Systems GmbH
;-------------------------------------------------------------------------
[version]
Signature   = "$Windows NT$"
Class       = NetService
ClassGUID   = {4D36E974-E325-11CE-BFC1-08002BE10318}
Provider    = %IDS%
DriverVer   = 07/18/2013, 4.30.12.0

[Manufacturer]
%IDS% = IDS,NTx86,NTia64,NTamd64

[IDS.NTx86]
%uEye_Eth_Desc%=Install, uEye_Eth

[IDS.NTia64]
%uEye_Eth_Desc%=Install, uEye_Eth

[IDS.NTamd64]
%uEye_Eth_Desc%=Install, uEye_Eth

;-------------------------------------------------------------------------
; Installation Section
;-------------------------------------------------------------------------
[Install]
AddReg=Inst_Ndi
Characteristics=0x40000
NetCfgInstanceId="{EA7A3BB1-2660-495b-84D5-9A89ABBD29F4}"

;-------------------------------------------------------------------------
; Ndi installation support
;-------------------------------------------------------------------------
[Inst_Ndi]
HKR, Ndi,Service,,"uEye_Eth"
HKR, Ndi,CoServices,0x00010000,"uEye_Eth"
HKR, Ndi,HelpText,,%uEye_Eth_HelpText%
HKR, Ndi,FilterClass,, compression
HKR, Ndi,FilterType,0x00010001,0x00000002
HKR, Ndi\Interfaces,UpperRange,,"noupper"
HKR, Ndi\Interfaces,LowerRange,,"nolower"
HKR, Ndi\Interfaces, FilterMediaTypes,,"ethernet"
HKR, Ndi,FilterRunType, 0x00010001, 1 ;this filter must run before any protocol can bind to the below miniport 
HKLM,SYSTEM\CurrentControlSet\Services\ueyeeth\Enum, "Count", 0x00010001, 0,  

;-------------------------------------------------------------------------
; Service installation support
;-------------------------------------------------------------------------
[Install.Services]
AddService=uEye_Eth,,uEye_Eth_Service_Inst, uEye_Eth_EventLog_Inst

[uEye_Eth_Service_Inst]
DisplayName     = %uEye_Eth_Desc%
ServiceType     = 1 ;SERVICE_KERNEL_DRIVER
StartType       = 1 ;SERVICE_SYSTEM_START
ErrorControl    = 1 ;SERVICE_ERROR_NORMAL
ServiceBinary   = %12%\uEye_Eth.sys
LoadOrderGroup  = NDIS
Description     = %uEye_Eth_Desc%
AddReg          = Common.Params.reg

[Install.Remove.Services]
DelService=uEye_Eth,0x200

[uEye_Eth_EventLog_Inst]
AddReg = uEye_Eth_EventLog_AddReg

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

[Common.Params.reg]

HKR, FilterDriverParams\DriverParam,        ParamDesc,  , "Driverparam for lwf"
HKR, FilterDriverParams\DriverParam,        default,    , "5"
HKR, FilterDriverParams\DriverParam,        type,       , "int"

HKR, FilterAdapterParams\AdapterParam,      ParamDesc,  , "Adapterparam for lwf"
HKR, FilterAdapterParams\AdapterParam,      default,    , "10"
HKR, FilterAdapterParams\AdapterParam,      type,       , "int"

[Strings]
IDS = "IDS Imaging Development Systems GmbH"
uEye_Eth_Desc = "Gigabit Ethernet uEye"
uEye_Eth_HelpText = "Gigabit Ethernet uEye Service"





