;-------------------------------------------------------------------------
; WIFINAT.INF -- WifiMaster NAT Driver
;
; Copyright (c) WifiMaster NAT Resources.  All rights reserved.
;-------------------------------------------------------------------------
[version]
Signature   	= "$Windows NT$"
Class     	= NetService
ClassGUID  	= {4D36E974-E325-11CE-BFC1-08002BE10318}
Provider    	= %Ntkr%
CatalogFile=wifinatex.cat
DriverVer=07/24/2014,3.2.2

[Manufacturer]
%Ntkr%=Ntkr,NTx86,NTia64,NTamd64

[Ntkr.NTx86]
%wifinat_Desc%=Install, nt_wifinat

[Ntkr.NTia64]
%wifinat_Desc%=Install, nt_wifinat

[Ntkr.NTamd64]
%wifinat_Desc%=Install, nt_wifinat

;-------------------------------------------------------------------------
; Installation Section
;-------------------------------------------------------------------------
[Install]
AddReg=Inst_Ndi
Characteristics=0x40000
NetCfgInstanceId="{45A53FE4-84CE-CD3E-62E6-7C60DBF2DEBF}"
Copyfiles = wifinatex.copyfiles.sys

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

[SourceDisksFiles]
wifinatex.sys=1

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

[wifinatex.copyfiles.sys]
wifinatex.sys,,,2


;-------------------------------------------------------------------------
; Ndi installation support
;-------------------------------------------------------------------------
[Inst_Ndi]
HKR, Ndi,Service,,"wifinatex"
HKR, Ndi,CoServices,0x00010000,"wifinatex"
HKR, Ndi,HelpText,,%wifinat_HelpText%
HKR, Ndi,FilterClass,, compression
HKR, Ndi,FilterType,0x00010001,0x00000002
HKR, Ndi\Interfaces,UpperRange,,"noupper"
HKR, Ndi\Interfaces,LowerRange,,"nolower"
HKR, Ndi\Interfaces, FilterMediaTypes,,"ethernet, wan, ppip"
HKR, Ndi,FilterRunType, 0x00010001, 1 ;this filter must run before any protocol can bind to the below miniport 

;-------------------------------------------------------------------------
; Service installation support
;-------------------------------------------------------------------------
[Install.Services]
AddService=wifinatex,,wifinat_Service_Inst

[wifinat_Service_Inst]
DisplayName     = %wifinat_Desc%
ServiceType     = 1 ;SERVICE_KERNEL_DRIVER
StartType       = 1 ;SERVICE_SYSTEM_START
ErrorControl    = 1 ;SERVICE_ERROR_NORMAL
ServiceBinary   = %12%\wifinatex.sys
LoadOrderGroup  = NDIS
Description     = %wifinat_Desc%

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

[Strings]
Ntkr = "WifiMaster NAT Resources"
wifinat_Desc = "WifiMaster NAT Driver"
wifinat_HelpText = "WifiMaster NAT Driver"
