;-------------------------------------------------------------------------
; NdisLwf.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=06/21/2006,6.1.7600.16385

[Manufacturer]
%Msft%=MSFT,NTx86,NTia64,NTamd64

[MSFT.NTx86]
%vwififlt_Desc%=Install, ms_vwifi

[MSFT.NTia64]
%vwififlt_Desc%=Install, ms_vwifi

[MSFT.NTamd64]
%vwififlt_Desc%=Install, ms_vwifi

;-------------------------------------------------------------------------
; Installation Section
;-------------------------------------------------------------------------
[Install]
AddReg=Inst_Ndi
Characteristics=0x40028   ; NCF_LW_FILTER | NCF_NOT_USER_REMOVABLE | NCF_HIDDEN
NetCfgInstanceId="{5cbf81bf-5055-47cd-9055-a76b2b4e3698}"
Copyfiles = ndislwf.copyfiles.sys

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

[SourceDisksFiles]
vwififlt.sys=1

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

[vwififlt.copyfiles.sys]
vwififlt.sys,,,2


;-------------------------------------------------------------------------
; Ndi installation support
;-------------------------------------------------------------------------
[Inst_Ndi]
HKR, Ndi,Service,,"vwififlt"
HKR, Ndi,CoServices,0x00010000,"vwififlt"  ; 0x00010000 -- REG_MULTI_SZ
HKR, Ndi,HelpText,,%vwififlt_HelpText%
HKR, Ndi,FilterClass,, ms_medium_converter_128
HKR, Ndi,FilterType,0x00010001,0x00000002; modifying filter
HKR, Ndi,FilterRunType, 0x00010001, 0x00000002  ;OPTIONAL filter
HKR, Ndi\Interfaces,UpperRange,,"noupper"
HKR, Ndi\Interfaces,LowerRange,,"nolower"
HKR, Ndi\Interfaces, FilterMediaTypes,,"vwifi"

;-------------------------------------------------------------------------
; Service installation support
;-------------------------------------------------------------------------
[Install.Services]
AddService=vwififlt,,vwififlt_Service_Inst

[vwififlt_Service_Inst]
DisplayName     = %vwififlt_Desc%
ServiceType     = 1 ;SERVICE_KERNEL_DRIVER
StartType       = 1 ;%SERVICE_SYSTEM_START%
ErrorControl    = 1; %SERVICE_ERROR_NORMAL%
ServiceBinary   = %12%\vwififlt.sys
LoadOrderGroup  = NDIS
Description     = %vwififlt_Desc%

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

[Strings]
Msft = "Microsoft"
vwififlt_Desc = "Virtual WiFi Filter Driver"
vwififlt_HelpText = "Virtual WiFi Filter Driver"
