Home   |   Jungo Corporate Web Site   |   Connectivity Software Store   |   Contact us   |   Search:
Home Connectivity Software Support WinDriver Support Technical Documents

Technical Document #103



Doc ID: 103
Product: WinDriver
Version:  --

Can I write to disk files during an interrupt routine?

Yes. WinDriver enables you to implement your interrupt service routine (ISR) in the user mode, thereby allowing you to perform all library function calls from within your ISR. Just remember to keep it short, so you don't miss the next interrupt.

If you select to implement your ISR in the kernel, using WinDriver's Kernel PlugIn feature, you will not be able to use the standard user mode file I/O functions. You can either leave the file I/O handling in the user-mode ISR, and implement your interrupt code so that the user-mode interrupt routine is executed only once every several interrupts. (You can refer to the generated DriverWizard Kernel PlugIn code and/or to the WinDriver Kernel PlugIn sample - WinDriver/samples/pci_diag/kp_pci/ (v7.00+) / WinDriver/kerplug/kermode/kptest.c (6.23-) - for an example of monitoring the interrupt count); Or replace the user-mode file I/O code with calls to OS-specific functions, which can be called at the kernel level (for example, the Windows DDK ZwCreateFile(), ZwWriteFile() and ZwReadFile() functions). Please note, however, that this will diminish your driver's cross-platform portability.

Back to Top

USB Software


Jungo provides a complete and integrated array of USB software solutions, allowing you to complete your projects rapidly and with total confidence.



Products ranging from Embedded USB Software, through USB Software Communication Drivers, to USB Software Testing, icluding innovative and unique USB software patents, allowing our customers to gain a competative edge.

PCI Software


Our extensive solutions portfolio of PCI software may fit any developer/team who is interested in a rapid development of PCI/PCI-Express connectivity software components.