R: Do I need a miniport driver?

Bruce,

Not necessarily, if You are using Win2000 DDK , You can
find a pretty example of I/O ports.

See in %Winddk%\src\general\portio.
(The sample driver file is “genport.c”).

After have been modified it for your needs, in .INF, set the specific
port I/O range like this:
[…]
ConfigPriority=HARDRECONFIG
IOConfig=xxx-yyy
and so on.

Pay attention to avoid possibly conflict with others resources.

Regards.

Giandomenico Vassia.

Da: Bruce Allen [mailto:xxxxx@attbi.com]
Inviato: gioved? 21 febbraio 2002 16.29
A: NT Developers Interest List
Oggetto: [ntdev] Do I need a miniport driver?

Hi,

I have an ISA card that has a specific I/O range. I can simply
read from and write to the port range from 95/98/me. With Windows 2000
and XP do I need to write a miniport driver that can do the I/O on my
behave?

Are there some less complex examples besides the DDK?

Thanks in advance,

Bruce


You are currently subscribed to ntdev as: xxxxx@tecnostsistemi.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

> and XP do I need to write a miniport driver that can do the I/O on my

behave?

Yes, not a miniport, but just a driver - with all PnP and power management handling nevertheless.
The rest of the driver can be rather simple - just expose your ports as IOCTLs.

Max


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