;-------------------------------------------------------------------------
; 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,10.0.20348.4893

[Manufacturer]
%Msft%=MSFT,NTamd64

[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

;-------------------------------------------------------------------------
; 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,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"

[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"

