Hi,
before asking my question I should say that I'm absolutely new
to driver programming and worse I don't even have the DDK
documentation.
However, I have some years experience with Windows development
and now want to create a MIDI driver thats sole purpose is to route
MIDI messages to my custom application.
I have already found the documentation for Installable Drivers in the
Win SDK and some code in newsgroups. The code is written for Win 3.11
but I was able to rewrite and compile it under Windows XP. I'm also able
to load the driver with the OpenDriver() API.
My question:
I want other applications let select the driver for their MIDI output
device.
For this, I assume, I must install the driver. The old Win 3.11 code example
comes with an inf file that looks something like this:
[disks]
1=. ,"My MIDI driver",disk1
[Installable.Drivers]
MyMidiDrv=1:d:\bcb5\music\installableDrivers\MidiDriver1\MyMidiDrv.dll,"MIDI","MIDI",,,
However, trying to install this always gives me the error "Installation
failed".
What could be the cause? Is this inf file at all valid under Win32?
I really appreciate any comment/idea!!
thanks,
Nick