;-------------------------------------------------------------------------
; vxflt.inf -- VxGate IMD Driver
;
; Copyright 2010-2012 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 = vxflt.cat

[Manufacturer]
%Provider% = VxFilter,NTx86,NTamd64

[ControlFlags]

[VxFilter]
%VxFilter_Desc% = VxFilter.ndi, vx_filter

[VxFilter.NTx86]
%VxFilter_Desc% = VxFilter.ndi, vx_filter

[VxFilter.NTamd64]
%VxFilter_Desc% = VxFilter.ndi, vx_filter

[VxFilter.ndi]
AddReg          = VxFilter.ndi.AddReg, VxFilter.AddReg
Characteristics = 0x4410 ;  NCF_FILTER | NCF_NDIS_PROTOCOL
CopyFiles       = VxFilter.Files.Sys
CopyInf         = vxflt_m.inf

[VxFilter.ndi.Remove]
DelFiles        = VxFilter.Files.Sys

[VxFilter.ndi.Remove.Services]
DelService      = VxFilter

[VxFilter.ndi.Services]
AddService = VxFilter,, VxFilter.AddService

[VxFilter.AddService]
DisplayName    = %VxFilterService_Desc%
ServiceType    = 1 ;SERVICE_KERNEL_DRIVER
StartType      = 3 ;SERVICE_DEMAND_START
ErrorControl   = 1 ;SERVICE_ERROR_NORMAL
ServiceBinary  = %12%\vxfilter.sys
AddReg         = VxFilter.AddService.AddReg


[VxFilter.AddService.AddReg]

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

[SourceDisksFiles]
vxfilter.sys=1
vxflt_m.inf=1

[DestinationDirs]
DefaultDestDir       = 12
VxFilter.Files.Sys   = 12   ; %windir%\System32\drivers

[VxFilter.Files.Sys]
vxfilter.sys,,,2

[VxFilter.ndi.AddReg]
HKR, Ndi, HelpText, , %VxFilter_HELP%
HKR, Ndi,            FilterClass,         , failover
HKR, Ndi,            FilterDeviceInfId,   , vx_filtermp
HKR, Ndi,            Service,             , VxFilter
HKR, Ndi\Interfaces, UpperRange,          , noupper
HKR, Ndi\Interfaces, LowerRange,          , nolower
HKR, Ndi\Interfaces, FilterMediaTypes,    , "ethernet, wan"

[VxFilter.AddReg]
HKR, Parameters, Param1, 0, 4

[Strings]
Provider = "VxGate"
DiskDescription = "VxGate Driver Disk"
VxFilter_Desc = "VxGate Filter Driver"
VxFilter_HELP = "VxGate ÖÐ¼ä²ãÇý¶¯³ÌÐò"
VxFilterService_Desc = "VxGate Filter Driver"
