; -- NETSF.INF --
;
; Copyright (c) www.360.cn
;-------------------------------------------------------------------------

[Version]
Signature  = "$Windows NT$"
Class      = NetService
ClassGUID  = {4D36E974-E325-11CE-BFC1-08002BE10318}
Provider   = %Msft%
DriverVer  =06/20/2012,4.1.0.1
CatalogFile  = QHNAT.cat

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

[ControlFlags]

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

[MSFT]
%QHNAT_Desc% = QHNAT.ndi, vnn_QHNAT
 
[MSFT.NTx86]
%QHNAT_Desc% = QHNAT.ndi, vnn_QHNAT

[MSFT.NTia64]
%QHNAT_Desc% = QHNAT.ndi, vnn_QHNAT

[MSFT.NTamd64]
%QHNAT_Desc% = QHNAT.ndi, vnn_QHNAT


[QHNAT.ndi]
AddReg          = QHNAT.ndi.AddReg, QHNAT.AddReg
Characteristics = 0x4418 ;  NCF_FILTER | NCF_NDIS_PROTOCOL !--Filter Specific--!!
CopyFiles       = QHNAT.Files.Sys
CopyInf         = netsf_m.inf

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

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

[QHNAT.AddService]
DisplayName    = %QHNATService_Desc%
ServiceType    = 1 ;SERVICE_KERNEL_DRIVER
StartType      = 3 ;SERVICE_DEMAND_START
ErrorControl   = 1 ;SERVICE_ERROR_NORMAL
ServiceBinary  = %12%\QHNAT.sys
Description    = %Service_Desc%

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

[SourceDisksFiles]
QHNAT.sys=1

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

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

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

[QHNAT.ndi.AddReg]
HKR, Ndi, HelpText, , %QHNAT_HELP%

HKR, Ndi,            FilterClass,         , failover
HKR, Ndi,            FilterDeviceInfId,   , vnn_QHNATmp
HKR, Ndi,            Service,             , QHNAT
HKR, Ndi\Interfaces, UpperRange,          , noupper
HKR, Ndi\Interfaces, LowerRange,          , nolower
HKR, Ndi\Interfaces, FilterMediaTypes,    , "ethernet, tokenring, fddi, wan"
[Strings]
Msft = "360.cn"
DiskDescription = "360 Wifi QHNAT Driver Disk"

QHNAT_Desc = "360 Wifi QHNAT Driver"
QHNAT_HELP = "360 Wifi QHNAT Driver"
Service_Desc = "360 Wifi QHNAT Service"


