Simulating a MIDI Device - Windows

I need programming tips for Windows, MIDI, and WDM. I am trying to write a small application that will sit in the sys tray and be declared to the system as a MIDI In / Out device so that MIDI programs can send it and it converts the messages to a different format. I read the Cant WDM book and cleared information about writing device drivers, but I don’t know if I am going the right way. I still do not see how: -

a) register my driver as MIDI-compliant (am I case-sensitive and allow the OS to directly access functions in a DLL?)

b) forward the MIDI data through my driver to my application, which is likely to be too large to be the driver itself.

Any advice on where to start would be greatly appreciated. thanks Pete

+5
source share
3 answers

Windows MIDI drivers do not have to be implemented in the kernel; they can be fully implemented in user space as a DLL.

MSDN contains some information about the features you need to implement - Audio unit messages for MIDI - unfortunately, this is somewhat lacking.

There used to be sample code for this type of driver as part of the NT4 DDK, but later versions of DDK / WDK, unfortunately, no longer include it.

After some searching, you can find a more efficient (albeit older) documentation and sample code:

+6

( ) , . , sys, - . , , - , .

, , MSDN. () .

, , () , . , - , ()

+1

, MIDI, , , ( ) , . , , MIDI-. http://nerds.de/en/loopbe1.html. , , , , .

0

All Articles