JCL Help:RegLoadList
From Project JEDI Wiki
Jump to navigationJump to searchJCL Help: RegLoadList Function
Search in JCL Help
Search in all projects
Summary
Reads a stringlist from the registry.
Pascal
function RegLoadList(const RootKey: DelphiHKEY; const Key: string; const ListName: string; const SaveTo: TStrings): Boolean;
Parameters
Parameters | Description |
const RootKey: DelphiHKEY | The rootkey to read the list from, one of the HKEY_XXX constants. |
const Key: string | The key (path) to read the list from, relative to RootKey. |
const ListName: string | Name of the subkey relative to Key to read the list from. |
const SaveTo: TStrings | List of the items to load from the registry. |
Return Value
The function returns True if a list with at least one element is read in. If 'Items' does not exist the function throws an exception.
Description
RegLoadList reads a list of strings from the registry which was stored with RegSaveList. The function expects to find a DWORD value named 'Items' under the key "RootKeyKeyListName" and reads in the amount of entries stored therein.
See Also
About
Unit
Donator
Robert Marquardt
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