JCL Help:RegReadBool

From Project JEDI Wiki
Jump to navigationJump to search


Summary

Reads a boolean key from the registry.


Pascal

 function RegReadBool(const RootKey: DelphiHKEY; const Key: string; const Name: string): 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.


Return Value

The value of the specified key.


Description

RegReadBool reads a single boolean value from the registry. If the function fails it raises an EJclRegistryError exception.


See Also

RegReadInteger RegReadString RegReadBinary


About

Unit

JclRegistry


Donator

John C Molyneux


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