;
;  File Name : VNICIMTP.INF
;
;  Function  : VIA Network Services Transport
;
;  Copyright : VIA Technologies, Inc. 2002
;


[Version]
Signature       = "$Windows NT$"
Class           = NetTrans
ClassGUID       = {4D36E975-E325-11CE-BFC1-08002BE10318}
Provider        = %Prov%
CatalogFile     = vnicim.cat
DriverVer       = 02/20/2002,1.0.0.5


[Manufacturer]
%Manuf%                  = MANUF


;[ControlFlags]
;ExcludeFromSelect       = *


[MANUF]
%VNICIMTP.Desc%         = VNICIMTP.ndi, VNICIMTP


[VNICIMTP.ndi]
AddReg                  = VNICIMTP.ndi.AddReg
Characteristics         = 0x00 
CopyFiles               = VNICIMTP.CopyFiles.DLL, VNICIMTP.CopyFiles.SYS
;CopyInf                 = vnicimmp.inf


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


[SourceDisksFiles]
vnicim.sys  = 1
vnicobj.dll = 1


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


[VNICIMTP.CopyFiles.SYS]
vnicim.sys,,,2


[VNICIMTP.CopyFiles.DLL]
vnicobj.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
;

[VNICIMTP.ndi.AddReg]
HKR, Ndi,               ClsID,        0,    "{43624fa1-9641-4f95-b4a9-ec889256f2fb}";
HKR, Ndi,               ComponentDll,  ,    "vnicobj.dll"
HKR, Ndi,               HelpText,     0,    %VNICIMTP.Help%
HKR, Ndi,               Service,      0,    "VNICIMTP"

HKR, Ndi\Interfaces,    UpperRange,   0,    "noupper"
HKR, Ndi\Interfaces,    LowerRange,   0,    "ndis5"


;------------------------------------------------------------------------------------
[VNICIMTP.ndi.Services]
AddService              = VNICIMTP, 0, VNICIMTP.AddService, VNICIMTP.EventLog


[VNICIMTP.AddService]
DisplayName             = %VNICIMTP.Desc%
Description             = %VNICIMTP.Desc%
ServiceType             = 1                     ; SERVICE_KERNEL_DRIVER
StartType               = 3                     ; SERVICE_DEMAND_START
ErrorControl            = 1                     ; SERVICE_ERROR_NORMAL
ServiceBinary           = %12%\vnicim.sys
LoadOrderGroup          = PNP_TDI
AddReg                  = VNICIMTP.AddService.AddReg

[VNICIMTP.AddService.AddReg]
HKR, Parameters\Adapters, ,0x00000010
HKR, Parameters, VendorID, 0x00010001, 0x1106

[VNICIMTP.EventLog]
AddReg = VNICIMTP.EventLog.AddReg


[VNICIMTP.EventLog.AddReg]
HKR, , EventMessageFile, 0x00020000, "%%SystemRoot%%\System32\netevent.dll"
HKR, , TypesSupported,   0x00010001, 7


[VNICIMTP.ndi.Remove.Services]
DelService = VNICIMTP
DelService = VNICIMMP


[VNICIMTP.ndi.Remove]
DelFiles = VNICIMTP.CopyFiles.DLL, VNICIMTP.CopyFiles.SYS




;------------------------------------------------------------------------------------
[Strings]
Prov            = "VIA"
Manuf           = "VIA Technologies, Inc."
DiskName        = "VIA IM Driver for VLAN & Teaming"
VNICIMTP.Desc   = "VIA Network Services Protocol"
VNICIMTP.Help   = "VIA Network Services Protocol is used for Virtual LAN and Teaming"
