;-------------------------------------------------------------------------
; rtf64x86.INF -- Realtek NDIS LightWeight Filter
;
; Copyright (c) Realtek Corporation.  All rights reserved.
;-------------------------------------------------------------------------
[version]
Signature   	= "$Windows NT$"
Class     	    = NetService
ClassGUID  	    = {4D36E974-E325-11CE-BFC1-08002BE10318}
Provider    	= %Realtek%
DriverVer	    = 08/28/2018,3.4.0828.2018
CatalogFile  = rtf64x86.cat

[Manufacturer]
%Realtek%=Realtek, NTx86.10.0

[Realtek]
;Empty section, so this INf does not support win2000

[Realtek.NTx86.10.0]
%rtf64_Desc%=Install, nt_rtf64


;-------------------------------------------------------------------------
; Installation Section
;-------------------------------------------------------------------------
[Install]
AddReg=Inst_Ndi
Characteristics=0x40000
NetCfgInstanceId="{3138e428-bf0b-4eb8-9914-c5524a9c5273}"
Copyfiles = rtf64.copyfiles.sys

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

[SourceDisksFiles]
rtf64x86.sys=1

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

[rtf64.copyfiles.sys]
rtf64x86.sys,,,2


;-------------------------------------------------------------------------
; Ndi installation support
;-------------------------------------------------------------------------
[Inst_Ndi]
HKR, Ndi,Service,,"rtf64"
HKR, Ndi,CoServices,0x00010000,"rtf64"
HKR, Ndi,HelpText,,%rtf64_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=rtf64,,rtf64_Service_Inst

[rtf64_Service_Inst]
DisplayName     = %rtf64_Desc%
ServiceType     = 1 ;SERVICE_KERNEL_DRIVER
StartType       = 1 ;SERVICE_SYSTEM_START
ErrorControl    = 1 ;SERVICE_ERROR_NORMAL
ServiceBinary   = %12%\rtf64x86.sys
LoadOrderGroup  = NDIS
Description     = %rtf64_Desc%
AddReg          = DrvOption.reg

[DrvOption.reg]
HKR,,DrvOption,0x00010001,0

[Strings]
Realtek = "Realtek"
rtf64_Desc = "Realtek LightWeight Filter (NDIS6.40)"
rtf64_HelpText = "Realtek NDIS LightWeight Filter (NDIS6.40)"