JCL Help:RegGetValueNames
From Project JEDI Wiki
Jump to navigationJump to searchJCL Help: RegGetValueNames Function
Search in JCL Help
Search in all projects
Summary
Reads a list of value names from the registry.
Pascal
function RegGetValueNames(const RootKey: DelphiHKEY; const Key: string; const List: TStrings): Boolean;
Parameters
Parameters | Description |
const RootKey: DelphiHKEY | The rootkey from which to read, one of the HKEY_XXX constants. |
const Key: string | The key (path) where the desired value list is located, relative to RootKey. |
const List: TStrings | This string list will contain the names of the values. |
Return Value
If the function succeeds it returns True. If it fails it returns False. Failure is normally caused by either a nonexistent key or insufficient permissions on Windows NT. No values gives success not failure.
Description
Use RegGetValueNames to obtain a list of values contained in the specified registry key. The string list is cleared before the values are added.
See Also
About
Unit
Donator
Peter Friese
Contribute to this help topic
This documentation wiki is based on the collaborative effort of Project JEDI users. Your edits are welcome in order to improve documentation quality: edit this page