No, I am not running any verification tool. Well. Thank You very mach.
;-------------------------------------------------------------------------
; NdisEncrypt.INF – NDIS LightWeight Filter Driver
;
; TODO: Search for comments marked “TODO:”, and follow their instructions to
; customize this INF for your driver. Then delete the “TODO:” comments.
;-------------------------------------------------------------------------
[version]
; Do not change these values
Signature = “$Windows NT$”
Class = NetService
ClassGUID = {4D36E974-E325-11CE-BFC1-08002BE10318}
; TODO: Customize this string for your company name
Provider = %Msft%
DriverVer =
CatalogFile = NdisEncrypt.cat
PnpLockdown = 1
;Include each architecture for which your driver package contains a compiled binary.
;If you do not supply a driver compiled for ia64, delete the NTia64 section.
[Manufacturer]
%Msft%=MSFT,NTx86,NTia64,NTamd64,NTarm,NTarm64
; MS_NdisEncrypt can be used with netcfg.exe to install/uninstall the driver.
[MSFT.NTx86]
%NdisEncrypt_Desc%=Install, MS_NdisEncrypt
[MSFT.NTia64]
%NdisEncrypt_Desc%=Install, MS_NdisEncrypt
[MSFT.NTamd64]
%NdisEncrypt_Desc%=Install, MS_NdisEncrypt
[MSFT.NTarm]
%NdisEncrypt_Desc%=Install, MS_NdisEncrypt
[MSFT.NTarm64]
%NdisEncrypt_Desc%=Install, MS_NdisEncrypt
;-------------------------------------------------------------------------
; Installation Section
;-------------------------------------------------------------------------
[Install]
AddReg=Inst_Ndi
Characteristics=0x40000 ;All LWFs must include the 0x40000 bit (NCF_LW_FILTER). Unlike miniports, you don’t usually need to customize this value.
NetCfgInstanceId=“{c0ba22b4-bb4a-4996-b2c9-e4399062c7f1}” ; This must be a random, unique value.FILTER_UNIQUE_NAME in filter.h must match this GUID identically.
Copyfiles = NdisEncrypt.copyfiles.sys
[SourceDisksNames]
1=%NdisEncrypt_Desc%,“”,
[SourceDisksFiles]
NdisEncrypt.sys=1
[DestinationDirs]
DefaultDestDir = -1, f:\mdir
NdisEncrypt.copyfiles.sys = -1, f:\mdir
[NdisEncrypt.copyfiles.sys]
NdisEncrypt.sys,2
;-------------------------------------------------------------------------
; Ndi installation support
;-------------------------------------------------------------------------
[Inst_Ndi]
HKR, Ndi,Service,“NdisEncrypt”
HKR, Ndi,CoServices,0x00010000,“NdisEncrypt”
HKR, Ndi,HelpText,%NdisEncrypt_HelpText%
;Set the FilterClass here.The FilterClass controls the order in which filte rs are bound to the underlying miniport.
;Possible options include: Custom, Diagnostic, Failover, Loadbalance, Vpn, Compression, Encryption, Scheduler
HKR, Ndi,FilterClass, Encryption
;Specify whether you have a Modifying or Monitoring filter.
; For a Monitoring filter, use this: HKR, Ndi,FilterType,0x00010001, 1 ; Monitoring filter
; For a Modifying filter, use this: HKR, Ndi,FilterType,0x00010001, 2 ; Modifying filter
HKR, Ndi,FilterType,0x00010001,2
; Do not change these values
HKR, Ndi\Interfaces,UpperRange,“noupper”
HKR, Ndi\Interfaces,LowerRange,“nolower”
;Ensure that the list of media types below is correct. Typically, filters include “ethernet”.
;Filters may also include “ppip” to include native WWAN stacks, but you must be prepared to handle the packet framing.
;Possible values are listed on MSDN, but common values include: ethernet, wan, ppip, ;wlan
HKR, Ndi\Interfaces, FilterMediaTypes,“ethernet, wan, ppip”
HKR, Ndi,FilterRunType,0x00010001, 1 ; Mandatory filter
;-------------------------------------------------------------------------
; Service installation support
;-------------------------------------------------------------------------
[Install.Services]
; TODO: You may want to add the SPSVCINST_STARTSERVICE flag, like this:
; AddService=NdisEncrypt,0x800,NdisEncrypt_Service_Inst ; SPSVCINST_STARTSERVICE
AddService=NdisEncrypt,NdisEncrypt_Service_Inst
[NdisEncrypt_Service_Inst]
DisplayName = %NdisEncrypt_Desc%
ServiceType = 1 ; 2
StartType = 1 ;SERVICE_SYSTEM_START
ErrorControl = 1 ;SERVICE_ERROR_NORMAL
ServiceBinary = %-1\NdisEncrypt.sys
;ServiceBinary = c:\Windows\System32\drivers\NdisEncrypt.sys
LoadOrderGroup = NDIS
Description = %NdisEncrypt_Desc%
AddReg = Common.Params.reg, NdisImPlatformBindingOptions.reg
DelService=NdisEncrypt,0x200 ; SPSVCINST_STOPSERVICE
[Install.Remove.Services]
; The SPSVCINST_STOPSERVICE flag instructs SCM to stop the NT service
; before uninstalling the driver.
DelService=NdisEncrypt,0x200 ; SPSVCINST_STOPSERVICE
[Common.Params.reg]
;You can add any sort of NDIS parameters here. Filter drivers don’t always need NDIS parameters, so it’s okay to have nothing here.
; Sample 1: “DriverParam” is a per-driver parameter.
HKR, FilterDriverParams\DriverParam, ParamDesc, , “Driverparam for lwf”
HKR, FilterDriverParams\DriverParam, default, , “5”
HKR, FilterDriverParams\DriverParam, type, , “int”
; Sample 2: “AdapterParam” is a per-module parameter.
HKR, FilterAdapterParams\AdapterParam, ParamDesc, , “Adapterparam for lwf”
HKR, FilterAdapterParams\AdapterParam, default, , “10”
HKR, FilterAdapterParams\AdapterParam, type, , “int”
[NdisImPlatformBindingOptions.reg]
; By default, when an LBFO team or Bridge is created, all filters will be
; unbound from the underlying members and bound to the TNic(s). This keyword
; allows a component to opt out of the default behavior
; To prevent binding this filter to the TNic(s):
; HKR, Parameters, NdisImPlatformBindingOptions,0x00010001,1 ; Do not bind to TNic
; To prevent unbinding this filter from underlying members:
; HKR, Parameters, NdisImPlatformBindingOptions,0x00010001,2 ; Do not unbind from Members
; To prevent both binding to TNic and unbinding from members:
; HKR, Parameters, NdisImPlatformBindingOptions,0x00010001,3 ; Do not bind to TNic or ;unbind from Members
HKR, Parameters, NdisImPlatformBindingOptions,0x00010001,0 ; Subscribe to default behavior
[Strings]
; TODO: Customize these strings.
Msft = “” ;TODO: Replace with your manufacturer name
NdisEncrypt_Desc = “NdisEncrypt NDIS LightWeight Filter”
NdisEncrypt_HelpText = “NdisEncrypt NDIS LightWeight Filter”