Trapping Interrupts in Windows
-
-
How to trap the interrupts produced in Windows Environment,by establishing a system wide monitor/hook. What is the core API to be used? (_dos_getvect & _dos_setvect cannot be used in MS VC++ programs) Any one having any intresting Idea?? -Rane :rose: Rane
Under Windows NT, 2000, XP, and Server 2003, applications can not handle interrupts. Interrupt handling is reserved for device drivers. Typically, a device driver will handle an interrupt and then signal an event. An application will have a worker thread waiting on that event. It isn't real-time, but it is safer than allowing applications direct access to hardware.
Software Zen:
delete this;
-
Under Windows NT, 2000, XP, and Server 2003, applications can not handle interrupts. Interrupt handling is reserved for device drivers. Typically, a device driver will handle an interrupt and then signal an event. An application will have a worker thread waiting on that event. It isn't real-time, but it is safer than allowing applications direct access to hardware.
Software Zen:
delete this;