6/17 I need to write an interrupt service routine to detect hardware
interrupts, under Win2000, but I don't want to reinvent the
wheel. Is there some place that offers skeleton code for ISR's
so I don't need to write one entirely myself? I searched the
msdn site but they only had a few help pages worth of material,
nothing else.
\_ Just copy the sample code in any NT driver book. E.g. "Windoze NT
Device Driver Development" from OSR, or "Developing Windoze NT
Device Drivers" from Addison Wesley.
\_ Install the Windows 2000 DDK. Install sample source.
Look in src\general\int\stat.c for the function
statInterruptServiceRoutine. Note I am looking in the NT 4.0
DDK...It might be different in the 2K or XP DDK
-sky |