[wdmaudiodev] Re: IKsControl

  • From: Tim Roberts <timr@xxxxxxxxx>
  • To: wdmaudiodev@xxxxxxxxxxxxx
  • Date: Thu, 04 Feb 2010 10:09:53 -0800

Mark Walker wrote:
> Tim, yes I'm using the Windows SDK.  I think I need to get a copy of
> VC++ with ATL before I try this any further. Express seems to have a
> history of weird definition and include problems.  I mainly use
> Express because people I deal with use Express and I don't want to be
> out of sync.
> For what it's worth this is my code.  It builds if I kludge it, but it
> fails at pBaseFilter->QueryInterface returning hr = E_NOINTERFACE for
> all my devices.  It's not that big a deal in my project at this point,
> so I'm not too worried about it. 

You're trying to claim every device in the audio renderer category.  You
read the value of FriendlyName -- shouldn't you be checking that value
to make sure it's really the device(s) you want?

Tim Roberts, timr@xxxxxxxxx
Providenza & Boekelheide, Inc.

Other related posts: