JCL Help:RegKeyExists

From Project JEDI Wiki
Jump to navigationJump to search


Summary

The function RegKeyExists checks if the specified registry key exists.


Pascal

 function RegKeyExists(const RootKey: DelphiHKEY; const Key: string): Boolean;


Parameters

Parameters Description
const RootKey: DelphiHKEY The rootkey from which to read, one of the HKEY_XXX constants.
const Key: string Registry key (path) to be checked, relative to RootKey.


Return Value

If the key specified the function returns True, otherwise it returns False.


Description

The function RegKeyExists checks if the specified registry key exists.


About

Unit

JclRegistry


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