;-------------------------------------------------------------------------
; RTLVLAN_MP.INF -- Virtual Miniport for RTL8169 VLAN
; $Revision: 1.03 $
;
; Copyright (C) 2010-2020 Realtek Semiconductor Corporation
;-------------------------------------------------------------------------

[Version]
Signature = "$Windows NT$"
Class = Net
ClassGUID = {4d36e972-e325-11ce-bfc1-08002be10318}
Provider = %Realtek%
DriverVer = 08/31/2010, 1.03.0831.2010
CatalogFile	= RTLVLAN.cat

[ControlFlags]
ExcludeFromSelect = RTL_VLAN_MP	

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

[Realtek]
%RTL_DESC% = RTLVLANMP.ndi, RTL_VLAN_MP

[Realtek.NTx86]
%RTL_DESC% = RTLVLANMP.ndi, RTL_VLAN_MP

[Realtek.NTamd64]
%RTL_DESC% = RTLVLANMP.ndi, RTL_VLAN_MP

[RTLVLANMP.ndi]
AddReg  = RTLVLANMP.ndi.AddReg
Characteristics = 0x81 ; NCF_HAS_UI  | NCF_VIRTUAL | NCF_HIDDEN

[RTLVLANMP.ndi.AddReg]
HKR, Ndi, Service,  0,  "RTLVLANMP"
HKR, Ndi, HelpText, 0,  "%RTL_HELP%"
HKR, Ndi\Interfaces,    UpperRange, 0,  "ndis5"
HKR, Ndi\Interfaces,    LowerRange, 0,  "nolower"

HKR, Ndi\params\VlanID,     ParamDesc,       0, %VlanID%
HKR, Ndi\params\VlanID,     default,         0, "0"
HKR, Ndi\params\VlanID,     type,            0, "long"
HKR, Ndi\params\VlanID,     min,             0, "1"
HKR, Ndi\params\VlanID,     max,             0, "4094"
HKR, Ndi\params\VlanID,     step,            0, "1"
HKR, Ndi\params\VlanID,     base,            0, "10"

[RTLVLANMP.ndi.Services]
AddService = RTLVLANMP, 2, RTLVLANMP.AddService

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


[Strings]
Realtek  = "Realtek"
RTL_DESC = "Realtek Virtual Adapter"
RTL_HELP = "Realtek Virtual Adapter for VLAN"
VlanID   = "VLAN ID"

