[wdmaudiodev] AW: Re: Virtual MIDI driver

  • From: "Tobias Erichsen" <erichsen@xxxxxxxxxxxxx>
  • To: <wdmaudiodev@xxxxxxxxxxxxx>
  • Date: Tue, 29 Aug 2006 07:56:42 +0200

> The best way to start is to use the DMUSUart sample as a 
> basis. The MPU401 sample creates an older type of driver, 
> with no DirectMusic support. You don't need to merge the samples.

The DMUSUart sample for instance has no "adapter.cpp" - So at least
this part must be implemented or be taken & adapted from MPU401...
 
> >>Is there anything special I need to put into the driver, that it is 
> >>activated automatically - as my driver is virtual, having 
> no hardware 
> >>that's being activated by PnP.  Or can I control this just with a 
> >>properly written setup.inf?
> 
> Nothing special needs to be done. The OS creates an instance 
> of your driver when an application requires it.

So how does the OS distinguish between drivers that need to
be started based on PnP-events or started always?

Best regards,
Tobias
******************

WDMAUDIODEV addresses:
Post message: mailto:wdmaudiodev@xxxxxxxxxxxxx
Subscribe:    mailto:wdmaudiodev-request@xxxxxxxxxxxxx?subject=subscribe
Unsubscribe:  mailto:wdmaudiodev-request@xxxxxxxxxxxxx?subject=unsubscribe
Moderator:    mailto:wdmaudiodev-moderators@xxxxxxxxxxxxx

URL to WDMAUDIODEV page:
http://www.wdmaudiodev.com/

Other related posts: