To change the directsound acceleration level I know that I have to change the acceleration key in HKEY_CURRENT_CONFIG\System\CurrentControlSet\Enum\PCI\..........\DirectSound\Mixer Defaults
However the location of the directsound folder varies from system to system because it is contained in a 'VEN_XXX&DEVXXXXXX...' folder which differs according to the hardware installed.
On my system for example the location fo the key is 'HKEY_CURRENT_CONFIG\System\CurrentControlSet\Enum\PCI\VEN_1102&DEV_0002&SUBSYS_80401102&REV_05\3&61AAA01&0&68\DirectSound\Mixer Defaults\'
I need to find a way of searching for that key within the subbranches of HKEY_CURRENT_CONFIG\System\CurrentControlSet\Enum\PCI\
Thanks in advance.