Reg_EnumValuesAll Function

Action

Returns the values of the key and of all subkeys within sPath. The names of the values include the path of the containing subkey relative to sPath. The data for the values can be string, binary or DWORD values.

Syntax

lrValues = Reg_EnumValuesAll (hRootKey, sPath)
Variable Description
hRootKey The constant (from mswconst.inc; e.g., HKEY_CURRENT_USER, HKEY_LOCAL_MACHINE) for the root key (LONG)
sPath The full path of the key for which to enumerate the values (STRING)

Notes

Registry functions work remotely (as well as locally).

Registry functions are shipped in a separate file (Registry.inc) that is not automatically included in the Use Files (as the appropriate extension .inc files are). There is a file named Registry.txt file that contains the library browser content for the registry files. In order to use the Registry functions, you must:

  • explicitly add the .inc file (as for the mswxxx.inc files) to the Use Files field in the Runtime Options dialog

  • add the Registry.txt file to the Help files for library browser field in the General Options dialog

Example

Reg_EnumValuesAll (HKEY_LOCAL_MACHINE, "Software\Company\Product\1.0")