;-------------------------------------------------------------------------
; vxlwf.inf -- VxGate Filter Driver
;
; Copyright 2010-2011 MengXP.  All rights reserved.
;-------------------------------------------------------------------------
[version]
Signature   	 = "$Windows NT$"
Class     	 = NetService
ClassGUID  	 = {4D36E974-E325-11CE-BFC1-08002BE10318}
Provider    	 = %Provider%
DriverVer        = 05/06/2012,3.1.0.0506
CatalogFile      = vxlwf.cat

[Manufacturer]
%Provider%       = VxGateLwf,NTx86,NTia64,NTamd64

[VxGateLwf.NTx86]
%VxGateLwf_Desc% = Install, vx_filter

[VxGateLwf.NTia64]
%VxGateLwf_Desc% = Install, vx_filter

[VxGateLwf.NTamd64]
%VxGateLwf_Desc% = Install, vx_filter

;-------------------------------------------------------------------------
; Installation Section
;-------------------------------------------------------------------------
[Install]
AddReg           = Inst_Ndi
Characteristics  = 0x40000
NetCfgInstanceId = "{F868D53B-5116-4D9A-ADD3-4887A107AB56}"
Copyfiles        = VxGateLwf.Files.Sys

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

[SourceDisksFiles]
vxlwf.sys=1

[DestinationDirs]
DefaultDestDir      = 12
VxGateLwf.Files.Sys = 12

[VxGateLwf.Files.Sys]
vxlwf.sys,,,2


;-------------------------------------------------------------------------
; Ndi installation support
;-------------------------------------------------------------------------
[Inst_Ndi]
HKR, Ndi,Service,,"VxGateLwf"
HKR, Ndi,CoServices,0x00010000,"VxGateLwf"
HKR, Ndi,HelpText,,%VxGateLwf_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, wan"
HKR, Ndi,FilterRunType, 0x00010001, 1 ;this filter must run before any protocol can bind to the below miniport 

;-------------------------------------------------------------------------
; Service installation support
;-------------------------------------------------------------------------
[Install.Services]
AddService=VxGateLwf,,VxGateLwf_Service_Inst

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

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

[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]
Provider = "VxGate"
VxGateLwf_Desc = "VxGate Filter Driver"
VxGateLwf_HelpText = "VxGate Filter Çý¶¯³ÌÐò"





