;------------------------------------------------------------------------- ; WfpLwf.INF -- NDIS Usermode I/O Driver ; ; Copyright (c) Microsoft Corporation. All rights reserved. ;------------------------------------------------------------------------- [version] Signature = "$Windows NT$" Class = NetService ClassGUID = {4D36E974-E325-11CE-BFC1-08002BE10318} Provider = %Msft% DriverVer = 01/18/2008,1.0 DriverVer=06/21/2006,6.1.7600.16385 [Manufacturer] %Msft%=MSFT,NTx86,NTia64,NTamd64 [MSFT.NTx86] %WfpLwf_Desc%=Install, MS_WfpLwf [MSFT.NTia64] %WfpLwf_Desc%=Install, MS_WfpLwf [MSFT.NTamd64] %WfpLwf_Desc%=Install, MS_WfpLwf ;------------------------------------------------------------------------- ; Installation Section ;------------------------------------------------------------------------- [Install] AddReg=Inst_Ndi Characteristics = 0x40028 ; NCF_LW_FILTER | NCF_HIDDEN | NCF_NOT_USER_REMOVABLE NetCfgInstanceId="{b70d6460-3635-4d42-b866-b8ab1a24454c}" ;------------------------------------------------------------------------- ; Ndi installation support ;------------------------------------------------------------------------- [Inst_Ndi] HKR, Ndi,Service,,"WfpLwf" HKR, Ndi,CoServices,0x00010000,"WfpLwf" HKR, Ndi,HelpText,,%WfpLwf_HelpText% HKR, Ndi,FilterClass,,ms_firewall_upper HKR, Ndi,FilterType,0x00010001,2 HKR, Ndi,FilterRunType,0x00010001,1 ;this filter must run before any protocol can bind to the below miniport HKR, Ndi\Interfaces,UpperRange,,"noupper" HKR, Ndi\Interfaces,LowerRange,,"nolower" HKR, Ndi\Interfaces,FilterMediaTypes,,"ethernet" ;------------------------------------------------------------------------- ; Service installation support, common.EventLog here is to demonstrate how to ; write an event log ;------------------------------------------------------------------------- [Install.Services] AddService=WfpLwf,,WfpLwf_Service_Inst;, common.EventLog [WfpLwf_Service_Inst] DisplayName = %WfpLwf_Desc% ServiceType = 1 ;SERVICE_KERNEL_DRIVER StartType = 1 ;SERVICE_SYSTEM_START ErrorControl = 1 ;SERVICE_ERROR_NORMAL ServiceBinary = %12%\wfplwf.sys LoadOrderGroup = NDIS Description = %WfpLwf_Desc% [Install.Remove.Services] DelService=WfpLwf,0x200 [Strings] Msft = "Microsoft" WfpLwf_Desc = "WFP Lightweight Filter" WfpLwf_HelpText = "WFP Lightweight Filter"