[wdmaudiodev] Filter name problem

  • From: Robert Bielik <robert.bielik@xxxxxxxxxx>
  • To: "wdmaudiodev@xxxxxxxxxxxxx" <wdmaudiodev@xxxxxxxxxxxxx>
  • Date: Thu, 02 Dec 2010 09:55:17 +0100

To be able to set the volume of a target sound device, I traverse pins for 
wave/topology filters to arrive at a
volume node. Works fine normally, but I've encountered a problem on XP where 
the symbolic link to a topology filter is
"\??\HDAUDIO#FUNC_01&VEN_11D4&DEV_1981&SUBSYS_17AA2025&REV_1002#4&1bfa4a7e&0&0001#{6994ad04-93ef-11d0-a3cc-00a0c9223196}\CmplxTopo"
and CreateFile on that fails with : 0x0000007b The filename, directory name, or 
volume label syntax is incorrect.

Now if I change the symbolic link to:
"\\?\HDAUDIO#FUNC_01&VEN_11D4&DEV_1981&SUBSYS_17AA2025&REV_1002#4&1bfa4a7e&0&0001#{6994ad04-93ef-11d0-a3cc-00a0c9223196}\CmplxTopo"

CreateFile works just fine.

Question is: If I encounter the double ?? is it OK to just replace the first 
one with backslash ??

TIA
/Rob



******************

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:

  • » [wdmaudiodev] Filter name problem - Robert Bielik