Home › Forums › Discussions › General › NDIS IM Driver Inf-file for Win98
- This topic has 2 replies, 2 voices, and was last updated 19 years, 8 months ago by Scottless.
-
AuthorPosts
-
April 8, 2005 at 3:47 pm #4911
Hey there again!
Could u please help me out. I need to port my W2k NDIS IM onto Win98. During the installation process i get a message box “EnumNetwork\0000” – “SURegCreateKey failed!” I belive this is because of the incorrect INF-file content.
I’m not good at INF-files. Actually, i understand their structure to slightly to write my own.
Does anybody know what’s my problem about? I’m i right that i need Win98 INF-file? Please don’t hesitate to help me to write one.Thx on before
April 9, 2005 at 2:34 pm #5712;
;
; ;
; 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.”April 11, 2005 at 8:27 am #5713Thank u! 🙂
-
AuthorPosts
- You must be logged in to reply to this topic.