dummy ndis miniport

Hi,

As a first step in writing an Ndis miniport, I wrote a dummy ndis driver.
This driver is suppose to do nothing but register itself as a network
driver. Atleast this is the intention… I don’t know yet if its possible.
Since there is no hardware I am struggling to know how can I install this
driver in Win2000 and assign it an IP Address.

will be grateful for any help.

Thanks,
Hassan


You are currently subscribed to ntdev as: $subst(‘Recip.EmailAddr’)
To unsubscribe send a blank email to leave-ntdev-$subst(‘Recip.MemberIDChar’)@lists.osr.com

Yes it is possible. You write an INF file and install the driver using Add
New Hardware Wizard in the control panel. If you weren’t successful and want
to copy from somebody else, send me note and I will send you a pretty good
dummy NDIS miniport sample.

-Eliyas

-----Original Message-----
From: xxxxx@trimedia.com
Sent: Fri 3/9/2001 10:58 AM
To: NT Developers Interest List
Cc:
Subject: [ntdev] dummy ndis miniport

Hi,

As a first step in writing an Ndis miniport, I wrote a dummy ndis driver.
This driver is suppose to do nothing but register itself as a network
driver. Atleast this is the intention… I don’t know yet if its possible.
Since there is no hardware I am struggling to know how can I install this
driver in Win2000 and assign it an IP Address.

will be grateful for any help.

Thanks,
Hassan


You are currently subscribed to ntdev as: xxxxx@microsoft.com
To unsubscribe send a blank email to leave-ntdev-$subst(‘Recip.MemberIDChar’)@lists.osr.com

begin 600 winmail.dat
M>)^(B10:0"$```````!$0\>0!@`(````Y`0```````#H$%@,
M#@-$'`P`*``@`.@`?``8`3`$!"8`!`"$````U0S0X.#,V,39&,D8W,C0U M.#(Q-#,Y03(V0T0Q,SM#8`$``(````"``(``0.0!@!,$.@$``.0`,J4%xxxxx@ZG``1\`,4`!```` M#@#,-0U#,.0P```````#!I!\`,$`!````#@```#,`-0`U M`#,`.0`P```````#`!E!`20!````.````%L;@!T&090!V%T
M(!D’4;0!M’D(!N&0:0!S"``;0!I&X:0!P&`<@!T0`!. M``"B".W\*J,`!`@%;``$```!/`````````($K'Z2^HQ`9G6X`W0$/5`(````` M:&%S<v>M;65D:6$N8V]M```?`&amp;8``0H!3`$T`5`!0```````?`&amp;&lt;``0#(<br>M``!H&$<p>M&`;0``````‘P!:``$R:!A’,`

M=`!R`&D`;0!E`&0`:0!A`"X`8P!O`&T``````!\`,D`!````,@```&@`80!S
M`',`80!N`"X`:P!H`&$`;@!``'0`<@!I`&T`90!D`&D`80`N`&,`;P!M````
M```"`5P``0```!X```!33510.DA!4U-!3BY+2$%.0%1224U%1$E!+D-/30``
M``,`'4```````@%>``$```!/`````````($K'Z2^HQ`9G6X`W0$/5`(`````
M:&%SM;65D:6$N8V]M```?`&@``0````H```!3`$T`5`!0```````?`&D``0```#(`
M``!H`&$`

M`&\`;0``````'P!=``$````R````:`!A`',`

M=`!R`&D`;0!E`&0`:0!A`"X`8P!O`&T``````!\`,T`!````,@```&@`80!S
M`',`80!N`"X`:P!H`&$`;@!``'0`<@!I`&T`90!D`&D`80`N`&,`;P!M````
M```"`5\``0```!X```!33510.DA!4U-!3BY+2$%.0%1224U%1$E!+D-/30``
M``,`'D```````@%Q``$````;`````<"I!HM&[F9`!\`=``!````.````$X`5``@`$0`90!V`&4`;`!O`'``90!R`',`(`!)
M`&X`=`!E`'(`90!S`'0`(`!,`&D`

M``!,6D9U#*8=M`,`"@!R8W!G,3(U@C(#0VAT;6PQ`S`_`0,!]PJ``J0#XP(`
M8VC!"L!S970P(`<3`H#_$`,`4`16"%4'LA'5#E$#`=T0US(&``;#$=4S!$80
MV6\2ZQ'C".\)]SL8SPXP-3L1T@Q@8P!0"PD!9#,VDQ%@"Z4T(!`"*EP.LKT!
MD&<4\`JC$>,=Z#04\``\(41/0U194`!%($A434P@4`!50DQ)0R`B+2`O+UM0R&`1%0B1""4,RXR(8!%3IPB/A[M'H\CP3$X'_!O(*(C#R0?)I`S'8`E<$5\
M040ES0[Q)N\I;R3T-D$.\#Q-151!![!!,2Q@/2)'"?`$D&%T106P(A+03TY4
M(M!4$RSP!>%%>!#Q;F=E/092=A,Q+T$`D`(@(#8@+C`N-#0E0"XS3C,B_BK/
M)0,W-Q_P5#!)5$Q%)M<21N-1_P+S-??S&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[<#UMM-C4X,S%:+3(Q``(!^3\!````40````````#M```````O3SU-24-23U-/1E0O3U4]3D]25$A!345224-!+T-./5)%0TE0245.
M5%,O0TX],S4U,SDP`````!\`^#\!````&@```$4`;`!I`'D`80!S`"``60!A
M`&L`=0!B```````?`#A``0````X````S`#4`-0`S`#D`,````````@'[/P$`
M``!1`````````-RG0,C`0A`:M+D(`"LOX8(!`````````"]//4U)0U)/4T]&
M5"]/53U.3U)42$%-15))0T$O0TX]4D5#25!)14Y44R]#3CTS-34S.3``````
M'P#Z/P$````:````10!L`&D`>0!A`',`(`!9`&$`:P!U`&(``````!\`.4`!
M````#@```#,`-0`U`#,`.0`P``````!```8FI
MP`$?`!H``0```!(```!)`%``30`N`$X`3P!4`$4``````!\`-P`!````0```
M`%(`10`Z`"``6P!N`'0`9`!E`'8`70`@`&0`=0!M`&T`>0`@`&X`9`!I`',`
M(`!M`&D`;@!I`'``;P!R`'0````?`#T``0````H```!2`$4`.@`@```````?
M`!T.`0```#@```!;`&X`=`!D`&4`=@!=`"``9`!U`&T`;0!Y`"``;@!D`&D`
M

M`$0`.``S`#4`-``Y`#$`00`R`#0`.``Y`$(`0@`S`$(`.0!!`$0`-P!&`#``
M.``V`$8`1@`R`#``,@!&`#D`1@`T`#,`-`!``'(`90!D`"T`;0!S`&<`+0`P
M`#4`+@!R`&4`9`!M`&\`;@!D`"X`8P!O`'(`<``N`&T`:0!C`'(`;P!S`&\`
M9@!T`"X`8P!O`&T`/@``````"P`I```````+`",```````,`!A#WZ0OC`P`'
M$/\"```#`!`0``````,`$1``````'@`($`$```!E````6453251)4U!/4U-)
M0DQ%64]55U))5$5!3DE.1D9)3$5!3D1)3E-404Q,5$A%1%))5D5255-)3D=!
M1$1.15=(05)$5T%215=)6D%21$E.5$A%0T].5%)/3%!!3D5,24993U5710``
M```"`7\``0```%$````\,#$R131$.#,U-#DQ03(T.#E"0C-".4%$-T8P.#9&
M1C(P,D8Y1C0S-$!R960M;7-G+3`U+G)E9&UO;F0N8V]R<"YM:6-R;W-O9G0N
*8V]M/@````!OBP==
`
end

---
You are currently subscribed to ntdev as: $subst('Recip.EmailAddr')
To unsubscribe send a blank email to leave-ntdev-$subst('Recip.MemberIDChar')@lists.osr.com

Hi Eliyas,

Thanks for responding. I wrote the INF file (listed below). First in my life. System re-booted when it copied my driver file  :slight_smile: Please send me the dummy miniport you mentioned.

thanks,

Hassan

=============== begin INF file =========================

[version]
Signature   = “$Chicago$”
Class       = Net
ClassGUID   = {4d36e972-e325-11ce-bfc1-08002be10318}
Provider    = %TMT%
Compatible  = 1
DriverVer   = 03/11/2001,3.00.00.2001

[Manufacturer]
%Manufacturer%=Philips

[Philips]
; DisplayName           Section       DeviceID
; -----------           -------       --------
%TMPCI.DeviceDesc%  = TMPCI.ndi,    “TMPCI”
; TriMedia IREF Card

[TMPCI.ndi]
AddReg= TMPCI.id.reg, TMPCIFlags.reg, tmpci.reg, params.reg,  TMPCI.ndi.reg
 
; Windows NT specific entry
[TMPCI.ndi.NT]
Characteristics = 0x81; NCF_VIRTUAL, NCF_HAS_UI
AddReg          = TMPCI.id.reg, TMPCIFlags.reg, tmpci.reg, params.reg,  TMPCI.ndi.reg
CopyFiles       = tmpci.CopyFiles

[TMPCI.ndi.NT.Services]
AddService = TMPCI, 2, TMPCI.Service, common.EventLog

[TMPCI.id.reg]
HKR,Ndi,DeviceID,“MYTMPCI”

[TMPCIFlags.reg]
HKR, Ndi\params\MapRegisters,   flag, 1, 20,00,00,00

[tmpci.reg]
HKR, Ndi,                       Service,    0, “TMPCI”
; use ndis5 as the upper bound because NT supports it
HKR, Ndi\Interfaces,            UpperRange, 0, “ndis5”
HKR, Ndi\Interfaces,            LowerRange, 0, “ethernet”

 [tmpci.Service]
DisplayName     = %tmpci.Service.DispName%
ServiceType     = 1 ;%SERVICE_KERNEL_DRIVER%
StartType       = 3 ;%SERVICE_DEMAND_START%
ErrorControl    = 1 ;%SERVICE_ERROR_NORMAL%
ServiceBinary   = %12%\tmpci.sys
LoadOrderGroup  = NDIS

[common.EventLog]
AddReg = common.AddEventLog.reg

[common.AddEventLog.reg]
HKR, , EventMessageFile, 0x00020000, “%%SystemRoot%%\System32\netevent.dll”
HKR, , TypesSupported,   0x00010001, 7

;-----------------------------------------------------------------------------
; DestinationDirs
;
[tmpci.CopyFiles]
tmpci.sys,2

[SourceDisksNames]
;
; diskid = description[, [tagfile] [, , subdir]]
;
1 = “TriMedia Driver Disk 1”,

[SourceDisksFiles]
;
; filename_on_source = diskID[, [subdir][, size]]
;
tmpci.sys = 1, ; on distribution disk 1

[DestinationDirs]
tmpci.CopyFiles     = 12
DefaultDestDirs     = 11

[Strings]
TMT                     = “TriMedia Technologies, Inc”
TMPCI.DeviceDesc        = “My Virtual Net Adapter”

============================== INF file ends here ================

 

From: Eliyas Yakub

>Reply-To: “NT Developers Interest List”
>To: “NT Developers Interest List”
>Subject: [ntdev] RE: dummy ndis miniport
>Date: Sat, 10 Mar 2001 08:58:31 -0800
>
>Yes it is possible. You write an INF file and install the driver using Add
>New Hardware Wizard in the control panel. If you weren’t successful and want
>to copy from somebody else, send me note and I will send you a pretty good
>dummy NDIS miniport sample.
>
>-Eliyas
>





Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com.



You are currently subscribed to ntdev as: $subst(‘Recip.EmailAddr’)

To unsubscribe send a blank email to leave-ntdev-$subst(‘Recip.MemberIDChar’)@lists.osr.com

This mail is very helpful for me… So I must say thanks to sender…
and, Am still didn’t know about Driver installation…

How can I install Intermediate driver automatically in InstallSheild ? I worte two “INF” file and one “SYS” file.
and It works very well after installation via Network Configure window.

Thank you for concern…
-----Original Message-----
From: xxxxx@lists.osr.com [mailto:xxxxx@lists.osr.com]On Behalf Of Hassan I Khan
Sent: Monday, March 12, 2001 2:36 AM
To: NT Developers Interest List
Subject: [ntdev] RE: dummy ndis miniport

Hi Eliyas,

Thanks for responding. I wrote the INF file (listed below). First in my life. System re-booted when it copied my driver file :slight_smile: Please send me the dummy miniport you mentioned.

thanks,

=============================== Cutted =========================

Hassan

Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com.


You are currently subscribed to ntdev as: xxxxx@orgio.net
To unsubscribe send a blank email to xxxxx@lists.osr.com
b???.???????&?v?'?ׯj?.n?Qyȩf??]?:.?˛???m??֛???zf???%y?ޞ?^?˛??^r*Lzfެ?…???l??ܢ

Eliyas,

If you have a copy of this INF and Cardless Miniport Sample, please forward
me a link or copy of this as well.

I have done a few cardless drivers for Windows NT 4.0 where I make the
driver claim no resources and essentially be an ISA driver.

I assume it should be the same under Windows 2000 but would really
appreciate a sample. Perhaps you can see if one could be added to the
Windows 2000 DDK. I was wondering if the Microsoft Loopback Adapter driver
is also a dummy NDIS driver? Does it function as anything.

Thanks,

Dominick Cafarelli
Network Associates
1700 Route 23
Suite 180
Wayne, NJ 07470
Direct: (973) 709-2004
Fax: (973) 872-5340

-----Original Message-----
From: Eliyas Yakub [mailto:xxxxx@microsoft.com]
Sent: Saturday, March 10, 2001 8:59 AM
To: NT Developers Interest List
Subject: RE: [ntdev] dummy ndis miniport

Yes it is possible. You write an INF file and install the driver using Add
New Hardware Wizard in the control panel. If you weren’t successful and want
to copy from somebody else, send me note and I will send you a pretty good
dummy NDIS miniport sample.

-Eliyas

-----Original Message-----
From: xxxxx@trimedia.com
Sent: Fri 3/9/2001 10:58 AM
To: NT Developers Interest List
Cc:
Subject: [ntdev] dummy ndis miniport

Hi,

As a first step in writing an Ndis miniport, I wrote a dummy ndis driver.
This driver is suppose to do nothing but register itself as a network
driver. Atleast this is the intention… I don’t know yet if its possible.
Since there is no hardware I am struggling to know how can I install this
driver in Win2000 and assign it an IP Address.

will be grateful for any help.

Thanks,
Hassan


You are currently subscribed to ntdev as: xxxxx@microsoft.com
To unsubscribe send a blank email to leave-ntdev-$subst(‘Recip.MemberIDChar’)@lists.osr.com


You are currently subscribed to ntdev as: xxxxx@nai.com
To unsubscribe send a blank email to leave-ntdev-$subst(‘Recip.MemberIDChar’)@lists.osr.com


You are currently subscribed to ntdev as: $subst(‘Recip.EmailAddr’)
To unsubscribe send a blank email to leave-ntdev-$subst(‘Recip.MemberIDChar’)@lists.osr.com