bgbennyboy
asked on
Changing Directsound Acceleration Level/ Searching for a registry key
To change the directsound acceleration level I know that I have to change the acceleration key in HKEY_CURRENT_CONFIG\System \CurrentCo ntrolSet\E num\PCI\.. ........\D irectSound \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\Syste m\CurrentC ontrolSet\ Enum\PCI\V EN_1102&DE V_0002&SUB SYS_804011 02&REV_05\ 3&61AAA01& 0&68\Direc tSound\Mix er Defaults\'
I need to find a way of searching for that key within the subbranches of HKEY_CURRENT_CONFIG\System \CurrentCo ntrolSet\E num\PCI\
Thanks in advance.
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\Syste
I need to find a way of searching for that key within the subbranches of HKEY_CURRENT_CONFIG\System
Thanks in advance.
I don't know whether this is the answer, but if you go through the key : 'HKEY_LOCAL_MACHINE\SYSTEM \ControlSe t001\Enum\ PCI' until the key : 'service = sbpci' (or any other unique identifier) appear you then know in which 'VEN_XXX&DEVXXXXXX...' the Acceleration key resides in.
ASKER
Thanks for that but that still leaves the problem of how to search through a section of the registry for a specific key which I cant do.
Thats not a problem.
Take a look at GetKeyNames and GetValueNames in the helpfile.
/PL
Take a look at GetKeyNames and GetValueNames in the helpfile.
/PL
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
Thats fantastic, thank you!