;------------------------------------------------------------------------- ; WfpLwfs.INF -- WFP LightWeight Filters for L2 Filtering ; ; Copyright (c) Microsoft Corporation. All rights reserved. ;------------------------------------------------------------------------- [version] Signature = "$Windows NT$" Class = NetService ClassGUID = {4D36E974-E325-11CE-BFC1-08002BE10318} Provider = %Msft% DriverVer=06/21/2006,6.3.9600.20772 [Manufacturer] %Msft%=MSFT,NTx86,NTamd64,NTarm [MSFT.NTx86] %WfpLwf_Upper_Desc%=WfpLwf_Upper_Install, MS_WfpLwf_Upper %WfpLwf_Lower_Desc%=WfpLwf_Lower_Install, MS_WfpLwf_Lower [MSFT.NTamd64] %WfpLwf_Upper_Desc%=WfpLwf_Upper_Install, MS_WfpLwf_Upper %WfpLwf_Lower_Desc%=WfpLwf_Lower_Install, MS_WfpLwf_Lower %WfpLwf_vSwitch_Desc%=WfpLwf_vSwitch_Install, MS_WfpLwf_vSwitch [MSFT.NTarm] %WfpLwf_Upper_Desc%=WfpLwf_Upper_Install, MS_WfpLwf_Upper %WfpLwf_Lower_Desc%=WfpLwf_Lower_Install, MS_WfpLwf_Lower ;------------------------------------------------------------------------- ; Installation Section ;------------------------------------------------------------------------- [WfpLwf_Upper_Install] AddReg=Inst_Ndi_WfpLwf_Upper Characteristics = 0x40028 ; NCF_LW_FILTER | NCF_HIDDEN | NCF_NOT_USER_REMOVABLE NetCfgInstanceId="{b70d6460-3635-4d42-b866-b8ab1a24454c}" [WfpLwf_Lower_Install] AddReg=Inst_Ndi_WfpLwf_Lower Characteristics = 0x40028 ; NCF_LW_FILTER | NCF_HIDDEN | NCF_NOT_USER_REMOVABLE NetCfgInstanceId="{3bfd7820-d65c-4c1b-9fea-983a019639ea}" [WfpLwf_vSwitch_Install] AddReg=Inst_Ndi_WfpLwf_vSwitch Characteristics = 0x40000 ; NCF_LW_FILTER NetCfgInstanceId="{e7c3b2f0-f3c5-48df-af2b-10fed6d72e7a}" ;------------------------------------------------------------------------- ; Ndi installation support ;------------------------------------------------------------------------- [Inst_Ndi_WfpLwf_Upper] HKR, Ndi,Service,,"WfpLwfs" HKR, Ndi,CoServices,0x00010000,"WfpLwfs" HKR, Ndi,ExcludeSetupStartService,0x00010000,"WfpLwfs" HKR, Ndi,HelpText,,"@%SystemRoot%\System32\drivers\wfplwfs.sys,-6002" 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" HKR, Ndi,UnbindOnDetach,0x00010001, 0 [Inst_Ndi_WfpLwf_Lower] HKR, Ndi,Service,,"WfpLwfs" HKR, Ndi,CoServices,0x00010000,"WfpLwfs" HKR, Ndi,HelpText,,"@%SystemRoot%\System32\drivers\wfplwfs.sys,-6003" HKR, Ndi,FilterClass,,ms_medium_converter_bottom 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,wlan,ppip,wan" HKR, Ndi,UnbindOnDetach,0x00010001, 0 [Inst_Ndi_WfpLwf_vSwitch] HKR, Ndi,Service,,"WfpLwfs" HKR, Ndi,CoServices,0x00010000,"WfpLwfs" HKR, Ndi,HelpText,,"@%SystemRoot%\System32\drivers\wfplwfs.sys,-6001" HKR, Ndi,FilterClass,,ms_switch_filter HKR, Ndi,FilterType,0x00010001,2 HKR, Ndi,FilterRunType,0x00010001,2 ;this filter is optional HKR, Ndi\Interfaces,UpperRange,,"noupper" HKR, Ndi\Interfaces,LowerRange,,"nolower" HKR, Ndi\Interfaces,FilterMediaTypes,,"vmnetextension" ;------------------------------------------------------------------------- ; Service installation support ;------------------------------------------------------------------------- [WfpLwf_Upper_Install.Services] AddService=WfpLwfs,,WfpLwfs_Service_Inst [WfpLwf_Lower_Install.Services] AddService=WfpLwfs,,WfpLwfs_Service_Inst [WfpLwf_vSwitch_Install.Services] AddService=WfpLwfs,,WfpLwfs_Service_Inst [WfpLwfs_Service_Inst] DisplayName = "@%SystemRoot%\System32\drivers\wfplwfs.sys,-6000" ServiceType = 1 ;SERVICE_KERNEL_DRIVER StartType = 0 ;SERVICE_SYSTEM_BOOT ErrorControl = 1 ;SERVICE_ERROR_NORMAL ServiceBinary = %12%\wfplwfs.sys LoadOrderGroup = NDIS Description = "@%SystemRoot%\System32\drivers\wfplwfs.sys,-6000" [WfpLwf_Upper_Install.Remove.Services] DelService=WfpLwfs,0x200 [WfpLwf_Lower_Install.Remove.Services] DelService=WfpLwfs,0x200 [WfpLwf_vSwitch_Install.Remove.Services] DelService=WfpLwfs,0x200 [Strings] Msft = "Microsoft" WfpLwf_Upper_Desc = "WFP 802.3 MAC Layer LightWeight Filter" WfpLwf_Lower_Desc = "WFP Native MAC Layer LightWeight Filter" WfpLwf_vSwitch_Desc = "Microsoft Windows Filtering Platform" WfpLwfs_Name = "WFP LightWeight Filters" WfpLwfs_Desc = "WFP LightWeight Filters for L2 and vSwitch Filtering"