;-------------------------------------------------------------------------
; rfwbase.INF -- NDIS Usermode I/O Driver
;
; Copyright(C) 2008 Beijing Rising Information Technology Co., Ltd. All Rights Reserved.
;-------------------------------------------------------------------------
[version]
Signature   	= "$Windows NT$"
Class     	= NetService
ClassGUID  	= {4D36E974-E325-11CE-BFC1-08002BE10318}
Provider    	= %Rsft%
DriverVer	= 08/05/2008,21.0.0.0
CatalogFIle     = rfwbase.cat

[Manufacturer]
%Rsft%=RSFT,NTx86,NTamd64

[RSFT]
%RfwBase_Desc%=Install, RS_RfwBase9

[RSFT.NTx86]
%RfwBase_Desc%=Install, RS_RfwBase9

[RSFT.NTamd64]
%RfwBase_Desc%=Install, RS_RfwBase9

;-------------------------------------------------------------------------
; Installation Section 
;-------------------------------------------------------------------------
[Install]
AddReg=Inst_Ndi
Characteristics=0x40000
NetCfgInstanceId="{3FFF72BA-9E82-41be-A8FA-74968AF50DF0}"
Copyfiles = rfwbase.copyfiles.sys

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

[SourceDisksFiles]
rfwbase.sys=1

[DestinationDirs]
DefaultDestDir=12
rfwbase.copyfiles.sys=12

[rfwbase.copyfiles.sys]
rfwbase.sys,,,2


;-------------------------------------------------------------------------
; Ndi installation support
;-------------------------------------------------------------------------
[Inst_Ndi]
HKR, Ndi,Service,,"RfwBase9"
HKR, Ndi,CoServices,0x00010000,"RfwBase9"
HKR, Ndi,HelpText,,%RfwBase_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 

;-------------------------------------------------------------------------
; Service installation support
;-------------------------------------------------------------------------
[Install.Services]
AddService=RfwBase9,,RfwBase_Service_Inst

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

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

[Common.Params.reg]

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

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

[Strings]
Rsft = "Beijing Rising Information Technology Co., Ltd."
RfwBase_Desc = "Rising RfwBase Driver"
RfwBase_HelpText = "Rising RfwBase Driver"