阅读:2596回复:14
lxf, 请发一个98下的虚拟网卡驱动程序给我,包括inf文件,有急用 。
Thanx.
ymq98@163.net |
|
最新喜欢:pepeta |
沙发#
发布于:2001-10-15 15:04
偶也想要一个.
software01@263.net |
|
|
板凳#
发布于:2001-10-15 17:01
有好事可不要忘了我呀!
mattwu@163.com |
|
|
地板#
发布于:2001-10-15 22:35
这东西有什么用呀?有没有人告诉我?
98我没试过,要是可以的话告诉我一声。 ; netVNETCARD.INF ; ; Dual .INF file for vNetCard Network Adapter ; ; Copyright (c) 2000 [version] signature="$CHICAGO$" Class=Net ClassGUID = {4d36e972-e325-11ce-bfc1-08002be10318} Provider=%Mfg% Compatible = 1 DriverVer = 01/01/2000, 1.0.0.0 ; Millenium exclusive suffix MillenniumPreferred = .me ;CatalogFile = ... add for WHQL ... [Manufacturer] %Mfg%=Models [ControlFlags] // Note: Uncomment next line if your NIC is not to be installed manually ;ExcludeFromSelect = *NM_VNETCARD [Models] ; Note 1. Replace the bogus *NM_VNETCARD "hw-id" with a real hardware PnP ID ; Note 2. Optionally, add more NIC models supported by this file ; ; DisplayName Section hw-id ; ----------- ------- ------ %*VNETCARD.devicedesc%=*vnetcard.ndi, *NM_VNETCARD ;------------------------------------------------------------- ; Win2K [*vnetcard.ndi.NT] AddReg = vnetcard.w2k.reg, VNETCARD.params.reg CopyFiles = vnetcard.w2k.CopyFiles ; Characteristics = 0x81 ; NCF_ flags ;------------------------------------------------------------- ; Win2K [*vnetcard.ndi.NT.Services] AddService = vnetcard, 2, vnetcard.Service, vnetcard.EventLog ;------------------------------------------------------------- ; Win2K [vnetcard.w2k.reg] HKR, Ndi, Service, 0,"VNETCARD" HKR, Ndi\Interfaces, UpperRange, 0, "ndis5" HKR, Ndi\Interfaces, LowerRange, 0, "ethernet" ;------------------------------------------------------------------------------- ; W9X Install Section ; [*VNETCARD.ndi] AddReg=*VNETCARD.ndi.reg, VNETCARD.ndi.reg, VNETCARD.params.reg ; ;------------------------------------------------------------------------------- ; PnP ID section for W9X [*VNETCARD.ndi.reg] HKR,Ndi,DeviceID,,"*VNETCARD" [VNETCARD.ndi.reg] ; Forced W9X install section HKR,,DevLoader,,*ndis HKR,,DeviceVxDs,,vnetcard.sys HKR,,EnumPropPages,,"netdi.dll,EnumPropPages" ; NDIS Info HKR,NDIS,LogDriverName,,"vnetcard" HKR,NDIS,MajorNdisVersion,1,05 HKR,NDIS,MinorNdisVersion,1,00 ; Interfaces HKR,Ndi\Interfaces,DefUpper,,"ndis3,ndis4,ndis5" HKR,Ndi\Interfaces,UpperRange,,"ndis3,ndis4,ndis5" HKR, Ndi\Interfaces, LowerRange,,"ethernet" HKR, Ndi\Interfaces, DefLower,,"ethernet" ; Install sectioins HKR,Ndi\Install,ndis5,,"vnetcard.ndis5" ; Install NDIS [vnetcard.ndis5] CopyFiles=vnetcard.w9x.CopyFiles [vnetcard.w9x.CopyFiles] vnetcard.sys [vnetcard.w2k.CopyFiles] vnetcard.sys ;----------------------------------------------------------- ; Sources [SourceDisksNames] 99=%vnetcard_disk%,"",0 [SourceDisksFiles] vnetcard.sys = 99 ;----------------------------------------------------------- ; Destination Dir [DestinationDirs] DefaultDestDir =11 ; system dir vnetcard.w9x.CopyFiles =11 ; 9X: windows\system vnetcard.w2k.CopyFiles =12 ; W2K: system32\drivers ;------------------------------------------------------------------------------- ; Optional Custom Parameters in the Registry ("Advanced" menu). [VNETCARD.params.reg] ; For example: HKR, Ndi\params\Mode, ParamDesc, 0, %Mode% HKR, Ndi\params\Mode, type, 0, "enum" HKR, Ndi\params\Mode, default, 0, "Default" HKR, Ndi\params\Mode\enum, Default, 0, %Mode_basic% HKR, Ndi\params\Mode\enum, Cool, 0, %Mode_cool% HKR, NDI\params\NetworkAddress, ParamDesc, 0, %NetworkAddress% HKR, NDI\params\NetworkAddress, type, 0, "edit" HKR, NDI\params\NetworkAddress, LimitText, 0, "12" HKR, NDI\params\NetworkAddress, UpperCase, 0, "1" HKR, NDI\params\NetworkAddress, default, 0, " " HKR, NDI\params\NetworkAddress, optional, 0, "1" ;------------------------------------------------------------ ; W2K Service entry, log, etc. [vnetcard.Service] DisplayName = %vnetcard.Service.DispName% ServiceType = 1 ;%SERVICE_KERNEL_DRIVER% StartType = 3 ;%SERVICE_DEMAND_START% ErrorControl = 1 ;%SERVICE_ERROR_NORMAL% ServiceBinary = %12%\vnetcard.sys LoadOrderGroup = NDIS [vnetcard.EventLog] AddReg = vnetcard.AddEventLog.reg [vnetcard.AddEventLog.reg] HKR, , EventMessageFile, 0x00020000, "%%SystemRoot%%\System32\netevent.dll" HKR, , TypesSupported, 0x00010001, 7 ;------------------------------------------------------------------------------- ; Localizable Strings ; [strings] Mfg="vNetCard Manufacturer Company" *VNETCARD.DeviceDesc="vNetCard Network Adapter" DriverNetworks = "Compuware NuMega V1.0" vnetcard.devicedesc = "vNetCard Network Adapter" vnetcard.Service.DispName = "vNetCard Network Adapter" NetworkAddress = "Network Address (MAC)" Mode = "Sample Parameter" Mode_basic = "Basic" Mode_cool = "Cool" vnetcard_disk = "vNetCard Driver Install Disk" |
|
|
地下室#
发布于:2001-10-15 22:41
顺便给我也来一个吧?sirroom你们拿到了没??
|
|
|
5楼#
发布于:2001-10-16 09:07
I want it,too.
thx |
|
|
6楼#
发布于:2001-10-16 09:56
没有收到哩
|
|
|
7楼#
发布于:2001-10-18 23:47
好象这个 inf 是用 DriverNetwork 直接建立的, 网卡类型和ndis 下层 deflower 不对, 根具2000DDK, 虚拟网卡类型应为 0x01, ndis deflower 为“nolower", 而且 98 不认网卡类型 的选项。
我用 DriverNetwork 也写了一个空的 miniport Driver, WDM 类型的, 改了 inf 文件为 : ; netVNIC.INF ; ; Dual .INF file for VNIC Network Adapter ; ; Copyright (c) 2000 [version] signature="$CHICAGO$" Class=Net ClassGUID = {4d36e972-e325-11ce-bfc1-08002be10318} Provider=%Mfg% Compatible = 1 DriverVer = 01/01/2000, 1.0.0.0 ; Millenium exclusive suffix MillenniumPreferred = .me ;CatalogFile = ... add for WHQL ... [Manufacturer] %Mfg%=Models [ControlFlags] // Note: Uncomment next line if your NIC is not to be installed manually ;ExcludeFromSelect = *NM_VNIC [Models] ; Note 1. Replace the bogus *NM_VNIC "hw-id" with a real hardware PnP ID ; Note 2. Optionally, add more NIC models supported by this file ; ; DisplayName Section hw-id ; ----------- ------- ------ %*VNIC.devicedesc%=*vnic.ndi, *NM_VNIC ;------------------------------------------------------------- ; Win2K [*vnic.ndi.NT] AddReg = vnic.w2k.reg, VNIC.params.reg CopyFiles = vnic.w2k.CopyFiles ; Characteristics = 0x01 ;0x81 ; NCF_ flags ;------------------------------------------------------------- ; Win2K [*vnic.ndi.NT.Services] AddService = vnic, 2, vnic.Service, vnic.EventLog ;------------------------------------------------------------- ; Win2K [vnic.w2k.reg] HKR, Ndi, Service, 0,"VNIC" HKR, Ndi\Interfaces, UpperRange, 0, "ndis5" HKR, Ndi\Interfaces, LowerRange, 0, "nolower";"ethernet" ;------------------------------------------------------------------------------- ; W9X Install Section ; [*VNIC.ndi] AddReg=*VNIC.ndi.reg, VNIC.ndi.reg, VNIC.params.reg ; ;------------------------------------------------------------------------------- ; PnP ID section for W9X [*VNIC.ndi.reg] HKR,Ndi,DeviceID,,"*VNIC" [VNIC.ndi.reg] ; Forced W9X install section HKR,,DevLoader,,*ndis HKR,,DeviceVxDs,,vnic.sys HKR,,EnumPropPages,,"netdi.dll,EnumPropPages" ; NDIS Info HKR,NDIS,LogDriverName,,"vnic" HKR,NDIS,MajorNdisVersion,1,05 HKR,NDIS,MinorNdisVersion,1,00 ; Interfaces HKR,Ndi\Interfaces,DefUpper,,"ndis3,ndis4,ndis5" HKR,Ndi\Interfaces,UpperRange,,"ndis3,ndis4,ndis5" HKR, Ndi\Interfaces, LowerRange,,"nolower";"ethernet" HKR, Ndi\Interfaces, DefLower,,"nolower";"ethernet" ; Install sectioins HKR,Ndi\Install,ndis5,,"vnic.ndis5" ; Install NDIS [vnic.ndis5] CopyFiles=vnic.w9x.CopyFiles [vnic.w9x.CopyFiles] vnic.sys [vnic.w2k.CopyFiles] vnic.sys ;----------------------------------------------------------- ; Sources [SourceDisksNames] 99=%vnic_disk%,"",0 [SourceDisksFiles] vnic.sys = 99 ;----------------------------------------------------------- ; Destination Dir [DestinationDirs] DefaultDestDir =11 ; system dir vnic.w9x.CopyFiles =11 ; 9X: windows\system vnic.w2k.CopyFiles =12 ; W2K: system32\drivers ;------------------------------------------------------------------------------- ; Optional Custom Parameters in the Registry ("Advanced" menu). [VNIC.params.reg] ; For example: HKR, Ndi\params\Mode, ParamDesc, 0, %Mode% HKR, Ndi\params\Mode, type, 0, "enum" HKR, Ndi\params\Mode, default, 0, "Default" HKR, Ndi\params\Mode\enum, Default, 0, %Mode_basic% HKR, Ndi\params\Mode\enum, Cool, 0, %Mode_cool% HKR, NDI\params\NetworkAddress, ParamDesc, 0, %NetworkAddress% HKR, NDI\params\NetworkAddress, type, 0, "edit" HKR, NDI\params\NetworkAddress, LimitText, 0, "12" HKR, NDI\params\NetworkAddress, UpperCase, 0, "1" HKR, NDI\params\NetworkAddress, default, 0, " " HKR, NDI\params\NetworkAddress, optional, 0, "1" ;------------------------------------------------------------ ; W2K Service entry, log, etc. [vnic.Service] DisplayName = %vnic.Service.DispName% ServiceType = 1 ;%SERVICE_KERNEL_DRIVER% StartType = 3 ;%SERVICE_DEMAND_START% ErrorControl = 1 ;%SERVICE_ERROR_NORMAL% ServiceBinary = %12%\vnic.sys LoadOrderGroup = NDIS [vnic.EventLog] AddReg = vnic.AddEventLog.reg [vnic.AddEventLog.reg] HKR, , EventMessageFile, 0x00020000, "%%SystemRoot%%\System32\netevent.dll" HKR, , TypesSupported, 0x00010001, 7 ;------------------------------------------------------------------------------- ; Localizable Strings ; [strings] Mfg="VNIC Manufacturer Company" *VNIC.DeviceDesc="VNIC Network Adapter" DriverNetworks = "Compuware NuMega V1.0" vnic.devicedesc = "VNIC Network Adapter" vnic.Service.DispName = "VNIC Network Adapter" NetworkAddress = "Network Address (MAC)" Mode = "Sample Parameter" Mode_basic = "Basic" Mode_cool = "Cool" vnic_disk = "VNIC Driver Install Disk" /////////////////////////////////////////// 也能让 98 成功加载此驱动。 但是我无法使98加载我用 vtoolsd 来写的虚拟网卡驱动, VXD 类型, 很可能是inf 文件的问题, 所以现在我希望能有一个例子来看一看。 如果你有此类 VXD 源码和 inf 文件, please send to my mail box : ymq98@163.net |
|
8楼#
发布于:2001-10-24 10:46
哪位拿到原码也给我发一份,急用!万分感谢!
email:zkjie@263.net |
|
9楼#
发布于:2001-10-24 11:10
我也算一份z_j_cd@263.net
|
|
10楼#
发布于:2001-10-24 14:35
哪位拿到原码也给我发一份,急用!万分感谢!
email:zkjie@263.net |
|
11楼#
发布于:2001-11-02 09:31
直接发到这里吧,偶一直没看到哩
|
|
|
12楼#
发布于:2002-08-21 14:53
谢谢
我也要 zhou.mr@163.com |
|
13楼#
发布于:2002-08-22 12:13
我也想要 ...
先著著了 cgh93829@21cn.com |
|
14楼#
发布于:2002-08-22 12:41
新手,能给我一份吗?
sharc2002@163.com |
|