;-------------------------------------------------------------------------
;-------------------------------------------------------------------------
; RTLVLAN.INF -- Intermediate Driver for RTL8169 VLAN
; $Revision: 1.03 $
;
; Copyright (C) 2010-2020 Realtek Semiconductor Corporation
;-------------------------------------------------------------------------

[Version]
Signature   = "$Windows NT$"
Class       = NetTrans
ClassGUID   = {4D36E975-E325-11CE-BFC1-08002BE10318}
Provider    = %Realtek%
DriverVer   = 08/31/2010, 1.03.0831.2010
CatalogFile = RTLVLAN.cat

[Manufacturer]
%Realtek%     = Realtek,NTx86,NTamd64

[Realtek]
%RTL_Desc%    = RTLVLAN.ndi, RTL_VLAN_PT

[Realtek.NTx86]
%RTL_Desc%    = RTLVLAN.ndi, RTL_VLAN_PT

[Realtek.NTamd64]
%RTL_Desc%    = RTLVLAN.ndi, RTL_VLAN_PT


; Note:
; 1. The NCF_* flags are defined in netcfgx.h
; 2. NCF_HAS_UI (0x80) is required for custom property pages.

[RTLVLAN.ndi]
AddReg          = RTLVLAN.ndi.AddReg
Characteristics = 0x00 ; Not NCF_HAS_UI
copyfiles       = RTLVLAN.CopyFiles.DLL,RTLVLAN.CopyFiles.sys
CopyInf	        = RTLVLAN_MP.INF

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

[SourceDisksFiles]
RTLVLAN.SYS     = 1
RTLVLAN_NB.DLL  = 1

[DestinationDirs]
DefaultDestDir      = 12
RTLVLAN.CopyFiles.DLL  = 11   ; %windir%\System32
RTLVLAN.CopyFiles.sys  = 12   ; %windir%\System32\drivers

[RTLVLAN.CopyFiles.sys]
RTLVLAN.SYS,,,2

[RTLVLAN.CopyFiles.DLL]
RTLVLAN_NB.DLL,,,2

[InfSourcePathInfo]
; Used by the notify object on Win2k to figure out where the original media is
; located (so it can use SetupCopyOEMInf to install Net INF located
; there). This workaround is to avoid copyinf INF file directly
; by using CopyFiles directive becuase Win2K doesn't support CopyINF directive.

OriginalInfSourcePath = %1%

;-----------------------------------------------------------------------
;  Install parameters
;

[RTLVLAN.ndi.AddReg]
;HKR, Ndi,            ClsID,         0, {ee6cd6fc-a32b-4a26-8a1c-dbc97988ad7a} ; old
HKR, Ndi,            ClsID,         0, {4e996ff3-564c-49cb-8157-f23a0610913d}
HKR, Ndi,            ComponentDll,   , "RTLVLAN_NB.DLL"
HKR, Ndi,            HelpText,      0,          "%RTL_HELP%"
HKR, Ndi,            Service,       0,          "RTLVLAN"
HKR, Ndi\Interfaces, UpperRange,    0,          "noupper"
HKR, Ndi\Interfaces, LowerRange,    0,          "ndis5"


[RTLVLAN.ndi.Services]
AddService = RTLVLAN, , RTLVLAN.AddService, RTLVLAN.AddEventLog

[RTLVLAN.AddService]
DisplayName     = %RTL_Desc%
ServiceType     = 1 ;SERVICE_KERNEL_DRIVER
StartType       = 3 ;SERVICE_DEMAND_START
ErrorControl    = 1 ;SERVICE_ERROR_NORMAL
ServiceBinary   = %12%\RTLVLAN.SYS
LoadOrderGroup  = PNP_TDI
Description     = %RTL_Desc%

[RTLVLAN.AddEventLog]
AddReg = RTLVLAN.AddEventLog.AddReg

[RTLVLAN.AddEventLog.AddReg]
HKR, , EventMessageFile, 0x20000, "%%SystemRoot%%\System32\netevent.dll"
HKR, , TypesSupported,   0x10001, 7

[RTLVLAN.ndi.Remove.Services]
DelService = RTLVLAN

[RTLVLAN.ndi.Remove]
DelFiles = RTLVLAN.CopyFiles.DLL,RTLVLAN.CopyFiles.sys

[Strings]
Realtek = "Realtek"
RTL_Desc = "Realtek VLAN Intermediate Driver"
RTL_HELP = "Realtek VLAN Intermediate Driver"
DiskDescription = "RTLVLAN Disk"



