Yes. You can use the DriverWizard to generate a diagnostics code for your device, which includes a skeletal interrupt handling mechanism that also monitors the number of interrupts received. (You may need to modify the code slightly to suit your hardware’s specification with regard to interrupt handling).
You can also refer to the int_io sample, which is available under theWinDriver/samples/int_io/ directory, for an example of handling ISA interrupts with WinDriver.
Both the sample and the generated code will install an interrupt and spawn a thread that waits on it. The number of interrupts received is returned in the
dwCounter field of the