PDA

Click to See Complete Forum and Search --> : Interrupts w/Bi-Directional Parallel Port


Bob Bouthillier
Sep 21st, 2000, 12:31 PM
Hello,

I am writing a program for a Win98 target that needs to use the parallel port as an interrupt driven bi-directional device.

What I know is how to initialize the port using CreateFile, how to use ReadFile to read a stream of data and how to close the port.

If I want to write an Interrupt service routine to do "handshaking" of each byte, how do I get Win32 to notify me that an interrupt has occured?

Question: Specifically, what triggers a Win32 notification that data has arrived at the parallel port?

Any help is appreciated.

Bob

hitcgar
Sep 28th, 2000, 05:48 PM
Might be tough to get an real answer to this but you might check http://msdn.microsoft.com/library/psdk/winbase/filesio_071v.htm and

http://msdn.microsoft.com/library/psdk/winbase/devio_9quk.htm

and

http://msdn.microsoft.com/library/psdk/winbase/deviceman_9vhh.htm


I'm not sure this stuff does what you want but click the sync to toc button and look around...

good luck