Windows Toolkit - win32_RegEnumKey
- Loadable Function:
[ rv, code ] =
win32_RegEnumKey(key, subkey)
-
Read the keys of a given subkey from the Windows registry.
Example:
key='SOFTWARE\\Cygnus Solutions\\Cygwin\\mounts v2'; win32_RegEnumKey('HKLM',key)
key must be one of the following strings:
- HKCR
HKEY_CLASSES_ROOT
- HKCU
HKEY_CURRENT_USER
- HKLM
HKEY_LOCAL_MACHINE
- HKU
HKEY_USERS
rv is an array of value strings for the name of keys for a given key and subkey.
code is the success code. Values correspond to the codes in the winerror.h header file. The code of 0 is success, while other codes indicate failure In the case of failure, ’rv’ will be empty
See also: winqueryreg.