Can WinDriver be used to write a driver for multimedia, specifically a MIDI driver?
Yes! A midi driver is a DRV file (which is actually just a standard DLL). The calls to access the hardware (I/O, memory and interrupts) can be performed with WinDriver. Generally, a MIDI driver consists of two parts: The first is a user mode DRV file, which has an exported API that Microsoft defined for MIDI drivers. The second is a kernel mode SYS (WinNT/2K/XP) or VxD (Win95/98) file to access the hardware. The DRV user mode file calls the SYS/VxD kernel mode to perform the hardware access. WinDriver will save you the need to implement the second part. You will not need to create a kernel mode driver. You can use the ready-made windrvr6.sys kernel driver (or windrvr.sys/vxd in earlier versions), which implements WinDriver’s API. All you need to write is the user mode DRV file. This will enable you to write and debug your driver entirely in the user mode. I have installed my driver on a target machine and there are some problems that don’t occur on my development machine. Can I run the
Related Questions
- I developed a driver with WinDriver, but it only runs on the development machine that I used to create the driver. How can I distribute the driver to other machines?
- Can WinDriver be used to write a driver for multimedia, specifically a MIDI driver?
- Can Sample Cell be used with Logics native MIDI driver?