Reply To: NDIS IM Driver Inf-file for Win98

Home Forums Discussions General Discussion NDIS IM Driver Inf-file for Win98 Reply To: NDIS IM Driver Inf-file for Win98

#5712

GeN
Participant

;


;
; ;
; PASSTHRU.INF ;
; ;
; Windows 98 Installation for NDIS Intermediate Driver example PASSTHRU.SYS ;
; Based largely on NETLANE.INF ;
; ;
; Copyright (c) 1993-2000, Microsoft Corporation ;
; ;
;


;

[version]
signature=”$CHICAGO$”
Class=NetTrans
ClassGUID={4d36e975-e325-11ce-bfc1-08002be10318}
provider=%V_MS%
DriverVer=08/24/2000

[Manufacturer]
%V_MS%=MS

[MS]
%PASSTHRU.DeviceDesc%= PASSTHRU.ndi, PASSTHRU
%PASSMINI.DeviceDesc%= PASSMINI.ndi, PASSMINI

[ControlFlags]
ExcludeFromSelect=PASSMINI

[SourceDiskNames]
1=,,,

[SourceDiskFiles]
Passthru.sys=1,,
Passthru.inf=1,,

;


;
; PASSTHRU — Protocol edge ;
;


;

[PASSTHRU.ndi]
CopyFiles=PASSTHRU.Inf.CopyFiles
AddReg=PASSTHRU.ndi.reg
DeviceID=PASSTHRU
MaxInstance=4
DriverVer=06/08/2000

[PASSTHRU.ndi.reg]
HKR,Ndi,DeviceID,,PASSTHRU
HKR,Ndi,MaxInstance,,8
HKR,Ndi,NetType,,1
HKR,NDIS,LogDriverName,,PASSTHRU
HKR,NDIS,MiniportLogDriverName,,PASSMINI
HKR,NDIS,MajorNdisVersion,1,03
HKR,NDIS,MinorNdisVersion,1,0A
HKR,NdiInterfaces,DefUpper,,”PASSTHRU”
HKR,NdiInterfaces,DefLower,,”ndis3,ndis4,ndis5″
HKR,NdiInterfaces,UpperRange,,”PASSTHRU”
HKR,NdiInterfaces,LowerRange,,”ndis3,ndis4,ndis5″
HKR,NdiInstallInf,,”PassThru.inf”
HKR,NdiInstall,,,”PASSTHRU.Install”
HKR,NdiRemove,,,”PASSTHRU.Remove”
HKR,Ndi,HelpText,,%PASSTHRU_HELP%
HKR,NdiCompatibility,RequireAll,,”PASSMINI”

[PASSTHRU.Install]
AddReg=PASSTHRU.AddReg, PASSTHRU.IMDevNode.AddReg
CopyFiles=PASSTHRU.CopyFiles

[PASSTHRU.AddReg]
HKR,,DevLoader,,*ndis
HKR,,DeviceVxDs,,passthru.sys
HKR,,IntermediateProtocol,,1

[PASSTHRU.IMDevNode.AddReg]
HKLM,SystemCurrentControlSetServicesClassNdis
HKLM,SystemCurrentControlSetServicesClassNdis,,,”Network intermediate drivers”
HKLM,SystemCurrentControlSetServicesClassNdis,Icon,,”-6″
HKLM,SystemCurrentControlSetServicesClassNdis,NoUseClass,,”1″
HKLM,SystemCurrentControlSetServicesClassNdis,DevLoader,,”*ndis”
HKLM,EnumRootNDISPASSTHRU
HKLM,EnumRootNDISPASSTHRU,DeviceDesc,,”PASSTHRU Protocol driver”
HKLM,EnumRootNDISPASSTHRU,Class,,”Ndis”
HKLM,EnumRootNDISPASSTHRU,ConfigFlags,1,10,00,00,00
HKLM,EnumRootNDISPASSTHRU,Driver,,”Ndis”

[PASSTHRU.IMDevNode.DelReg]
HKLM,EnumRootNDISPASSTHRU

[PASSTHRU.CopyFiles]
Passthru.sys,,,2

[PASSTHRU.Inf.CopyFiles]
Passthru.inf,,,2

[PASSTHRU.Remove]
DelReg=PASSTHRU.IMDevNode.DelReg

;


;
; PASSMINI — Miniport edge ;
;


;

[PASSMINI.ndi]
AddReg=PASSMINI.ndi.reg
DeviceID=PASSMINI
MaxInstance=8
DriverVer=06/08/2000

[PASSMINI.ndi.reg]
HKR,Ndi,DeviceID,,PASSMINI
HKR,Ndi,MaxInstance,,8
HKR,NDIS,LogDriverName,,PASSMINI
HKR,NDIS,MajorNdisVersion,1,03
HKR,NDIS,MinorNdisVersion,1,0A
HKR,NdiInterfaces,DefUpper,,”ndis3,ndis4,ndis5″
HKR,NdiInterfaces,DefLower,,”PASSTHRU”
HKR,NdiInterfaces,UpperRange,,”ndis3,ndis4,ndis5″
HKR,NdiInterfaces,LowerRange,,”PASSTHRU”
HKR,NdiInstall,,,”PASSMINI.Install”
HKR,NdiRemove,,,”PASSMINI.Remove”
HKR,Ndi,HelpText,,%PASSMINI_HELP%
HKR,NdiCompatibility,RequireAll,,”PASSTHRU”

[PASSMINI.Install]
AddReg=PASSMINI.AddReg
CopyFiles=PASSMINI.CopyFiles

[PASSMINI.AddReg]
HKR,,DevLoader,,*ndis
HKR,,DeviceVxDs,,passthru.sys
HKR,,RealClass,,Net

[PASSMINI.CopyFiles]

[PASSMINI.Remove]
AddReg=PASSMINI.Rmv.AddReg

[PASSMINI.Rmv.AddReg]

;


;
; DIRECTORIES and STRINGS ;
;


;

[DestinationDirs]
DefaultDestDir = 11
PASSTHRU.CopyFiles = 11
PASSTHRU.Inf.CopyFiles = 17
PASSMINI.CopyFiles = 11

[strings]
V_MS=”Microsoft”
V_CLASSNAME=”Network Protocol”
PASSTHRU.DeviceDesc=”PASSTHRU Protocol”
PASSTHRU_HELP=”This implements the protocol edge of the PASSTHRU NDIS Intermedate Driver example.”
PASSMINI.DeviceDesc=”PASSTHRU Miniport”
PASSMINI_HELP=”This creates the miniport edge of the PASSTHRU NDIS Intermedate Driver example.”