JCL Help:RegReadBoolDef
From Project JEDI Wiki
Jump to navigationJump to searchJCL Help: RegReadBoolDef Function
Search in JCL Help
Search in all projects
Summary
Reads a boolean key from the registry.
Pascal
function RegReadBoolDef(const RootKey: DelphiHKEY; const Key: string; const Name: string; Def: Boolean): 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 is located, relative to RootKey. |
const Name: string | Name of the value to read. |
Def: Boolean | The value to return in case of failure. |
Return Value
The value of the specified key, or the specified default value in case of failure.
Description
RegReadBool reads a single boolean value from the registry. If the function fails it returns the value specified by Def. The function only accepts key values of type REG_DWORD.
See Also
RegReadIntegerDef RegReadStringDef RegReadBinaryDef
About
Unit
Donator
Marcel van Brakel
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