JCL Help:RegHasSubKeys

From Project JEDI Wiki
Jump to navigationJump to search


Summary

Checks whether the specified key has any children.


Pascal

 function RegHasSubKeys(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 The key (path) that is to be checked, relative to RootKey.


Return Value

If there are any children of the specified key, the function will return True. If there are no children, it will return False.


Description

RegHasSubKeys checks whether the subkey specified by Key has any subkeys. Use this function when you want to browse the registry hierarchically.


See Also

RegGetKeyNames RegGetValueNames


About

Unit

JclRegistry


Donator

Peter Friese


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