[wdmaudiodev] DirectMusic SYNTHCAPS & DMUS_PORTCAPS

  • From: Hock Yiung HUANG <hyhuang@xxxxxxxxxxxxxxxx>
  • To: wdmaudiodev@xxxxxxxxxxxxx
  • Date: Thu, 25 May 2006 14:21:41 -0700

The DMUS_PORTCAPS structure contains information about a port, returned by 
either by a call to
IDirectMusic::EnumPort() or IDirectMusicPort::GetCaps().

How does DirectMusic fill in the DMUS_PORTCAPS.wszDescription field ? I would 
thought that the
DMUS_PORTCAPS.wszDescription is obtained from the SYNTHCAPS.Description field, 
but from the test
program that I wrote, it is returning the description of the filter where the 
pin resides.  Anyone
else seen this before ?

Any information regarding this will be very much appreciated. Thanks.


Other related posts: