Windows Toolkit - win32_RegEnumValue
- Loadable Function:
[ rv, code ] =
win32_RegEnumValue(key, subkey)
-
Read value names from from the Windows registry.
Example:
key='SOFTWARE\\Cygnus Solutions\\Cygwin\\mounts v2'; win32_RegEnumValue('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 values 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.