Hi!
First,let me explain the situation : I have a special device that is
connected to the parallel port(Using ECP or EPP) and I need to
communicate with,use DMA(PC to the device) and IRQ under Windows
2000/XP.
For the moment, I have successfully used some I/O drivers to access
directly to the port(PortTalk,DLPortIO...),but it seems to be in a
dirty way(and I am not sure that I can use DMA),as these drivers are
using some undocumented functions to LOCK/UNLOCK ressources,overriding
the parport.sys driver.
For the moment,I am quite confused,because I don't know what is the
best way to access to the parallel port.
Must I write an UpperFilter driver for parport.sys that handle some
custom IOCTLs?
Must I write a parallel port class driver(Like parclass)?
Or,can I just lock ressources when I use the application,as it is going
to be the only one that access to the parallel port,when loaded?
I also heard that if It's also possible to remove parport.sys and to
replace it with a "home made" driver,but I am not interested by this
case cause I want to keep the parallel port working normally with other
applications.
Thank you in advance and sorry for my bad english.
Nassim.