;-------------------------------------------------------------------------
; NdisCap.INF -- NDIS Packet Capture Filter Driver
;
; Copyright (c) Microsoft Corporation.  All rights reserved.
;-------------------------------------------------------------------------
[version]
Signature   	= "$Windows NT$"
Class     	= NetService
ClassGUID  	= {4D36E974-E325-11CE-BFC1-08002BE10318}
Provider    	= %Msft%
DriverVer	=10/01/2002,6.0.5019.0
DriverVer=06/21/2006,6.1.7600.16385

[Manufacturer]
%Msft%=MSFT,NTx86,NTia64,NTamd64

[MSFT.NTx86]
%NdisCap_Desc%=Install, MS_NdisCap

[MSFT.NTia64]
%NdisCap_Desc%=Install, MS_NdisCap

[MSFT.NTamd64]
%NdisCap_Desc%=Install, MS_NdisCap

;-------------------------------------------------------------------------
; Installation Section
;-------------------------------------------------------------------------
[Install]
AddReg=Inst_Ndi
Characteristics=0x40038 ; NCF_LW_FILTER | NCF_NO_SERVICE | NCF_NOT_USER_REMOVABLE | NCF_HIDDEN
NetCfgInstanceId="{EA24CD6C-D17A-4348-9190-09F0D5BE83DD}"


;-------------------------------------------------------------------------
; Ndi installation support
;-------------------------------------------------------------------------
[Inst_Ndi]
HKR, Ndi,Service,,"NdisCap"
HKR, Ndi,CoServices,0x00010000,"NdisCap"
HKR, Ndi,HelpText,,%NdisCap_HelpText%
HKR, Ndi,FilterClass,, failover
HKR, Ndi,FilterType,0x00010001,0x00000001
HKR, Ndi\Interfaces,UpperRange,,"noupper"
HKR, Ndi\Interfaces,LowerRange,,"nolower"
HKR, Ndi\Interfaces, FilterMediaTypes,,"ethernet, wlan, ppip"
HKR, Ndi,FilterRunType, 0x00010001, 2 ; Optional
HKR, Ndi, ClsID, , "{D212B88E-8365-4CA9-BC4E-CFA4251F6B5F}"
HKR, Ndi, ComponentDll, , "ndiscapCfg.dll"

;-------------------------------------------------------------------------
; Service installation support
;-------------------------------------------------------------------------
[Install.Services]
AddService=NdisCap,,NdisCap_Service_Inst

[NdisCap_Service_Inst]
DisplayName     = %NdisCap_Desc%
ServiceType     = 1 ;SERVICE_KERNEL_DRIVER
StartType       = 3 ;SERVICE_DEMAND_START
ErrorControl    = 1 ;SERVICE_ERROR_NORMAL
ServiceBinary   = %12%\ndiscap.sys
LoadOrderGroup  = NDIS
Description     = %NdisCap_Desc%
AddReg          = Common.Params.reg

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

[Common.Params.reg]

HKR, Parameters, RefCount, 0x00010001, 0 ; RefCount checked by FilterAttach
HKR, Parameters, PersistentRefCount, 0x00010001, 0 ; RefCount checked by FilterAttach

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]
Msft = "Microsoft"
NdisCap_Desc = "NDIS Capture LightWeight Filter"
NdisCap_HelpText = "Packet Capture Filter Driver"
