JCL Help:RegDelList

From Project JEDI Wiki
Jump to navigationJump to search


Summary

Deletes a stringlist from the registry.


Pascal

 function RegDelList(const RootKey: DelphiHKEY; const Key: string; const ListName: string): Boolean;


Parameters

Parameters Description
const RootKey: DelphiHKEY The rootkey to delete the list from, one of the HKEY_XXX constants.
const Key: string The key (path) to delete the list from, relative to RootKey.
const ListName: string Name of the subkey relative to Key to delete the list from.


Return Value

The function returns True if it finds a value named 'Items' and all the values of the list False otherwise. If the number of items is 0 then 'Items' is deleted, but the function returns False.


Description

RegDelList deletes 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 deletes the values named "1", "2", etc. If 'Items' is negative then nothing is deleted.


See Also

RegSaveList RegLoadList


About

Unit

JclRegistry


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