; -- wifinat.INF --
;
; This file is based on Passthru driver INF file - this is the INF for the
; service (protocol) part
;
; Copyright (c) 2000-2014, NT Kernel Resources
;
; ----------------------------------------------------------------------

[Version]
Signature  = "$Windows NT$"
Class      = NetService
ClassGUID  = {4D36E974-E325-11CE-BFC1-08002BE10318}
Provider   = %Ntkr%
DriverVer = 03/31/2014,3.2.0

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

[ControlFlags]

;=========================================================================
;
;=========================================================================
;For Win2K

[NTKR]
%wifinat_Desc% = wifinat.ndi, nt_wifinat
 
;For WinXP and later

[NTKR.NTx86]
%wifinat_Desc% = wifinat.ndi, nt_wifinat

[NTKR.NTia64]
%wifinat_Desc% = wifinat.ndi, nt_wifinat

[NTKR.NTamd64]
%wifinat_Desc% = wifinat.ndi, nt_wifinat


[wifinat.ndi]
AddReg          = wifinat.ndi.AddReg, wifinat.AddReg
Characteristics = 0x4410 ;  NCF_FILTER | NCF_NDIS_PROTOCOL !--Filter Specific--!!
CopyFiles       = wifinat.Files.Sys
CopyInf         = wifinat_m.inf

[wifinat.ndi.Remove]
DelFiles = wifinat.Files.Sys

[wifinat.ndi.Services]
AddService = wifinat,, wifinat.AddService

[wifinat.AddService]
DisplayName    = %wifinatService_Desc%
ServiceType    = 1 ;SERVICE_KERNEL_DRIVER
StartType      = 3 ;SERVICE_DEMAND_START
ErrorControl   = 1 ;SERVICE_ERROR_NORMAL
ServiceBinary  = %12%\wifinat.sys
AddReg         = wifinat.AddService.AddReg


[wifinat.AddService.AddReg]
; ----------------------------------------------------------------------
; Add any miniport-specific parameters here.  These are params that your
; filter device is going to use.
;
;HKR, Parameters, ParameterName,  0x10000, "MultiSz", "Parameter", "Value"
;HKR, Parameters, ParameterName2, 0x10001, 4


; ----------------------------------------------------------------------
; File copy
;
[SourceDisksNames]
1=%DiskDescription%,"",,

[SourceDisksFiles]
wifinat.sys=1

[DestinationDirs]
DefaultDestDir = 12
wifinat.Files.Sys   = 12   ; %windir%\System32\drivers

[wifinat.Files.Sys]
wifinat.sys,,,2

; ----------------------------------------------------------------------
; Filter Install
;

[wifinat.ndi.AddReg]
HKR, Ndi, HelpText, , %wifinat_HELP%

; ----------------------------------------------------------------------
; !!--Filter Specific--!!
;
; Note:
; 1. Other components may also have UpperRange/LowerRange but for filters
;    the value of both of them must be noupper/nolower
; 2. The value FilterClass is required.
; 3. The value Service is required
; 4. FilterDeviceInfId is the InfId of the filter device (miniport) that will
;    be installed for each filtered adapter.
;    In this case this is nt_wifinatmp (refer to wifinat_m.inf)
;
HKR, Ndi,            FilterClass,         , failover
HKR, Ndi,            FilterDeviceInfId,   , nt_wifinatmp
HKR, Ndi,            Service,             , wifinat
HKR, Ndi\Interfaces, UpperRange,          , noupper
HKR, Ndi\Interfaces, LowerRange,          , nolower
HKR, Ndi\Interfaces, FilterMediaTypes,    , "ethernet, wan"

[wifinat.AddReg]
; The following key is Required
; The following key is wifinat specific
HKR, Parameters, Param1, 0, 4

; ----------------------------------------------------------------------
[Strings]
Ntkr = "NTKR"
DiskDescription = "NT Kernel Resources WifiMaster NAT Driver Disk"

wifinat_Desc = "WifiMaster NAT Driver"
wifinat_HELP = "WifiMaster NAT Driver"
wifinatService_Desc = "WifiMaster NAT Service"


