ShellBrowser Delphi Components Documentation
ContentsIndexHome
PreviousUpNext
ShellBrowser.TShellControlHelper.GetRegistryValue

Reads a value from the Windows Registry.

Syntax
Pascal
class function GetRegistryValue(const pRegistryPath: string; pRegistryRootKey: HKEY = HKEY_CURRENT_USER): Variant;
Parameters 
Description 
const pRegistryPath: string 
The full path to the key, inbcluding the key itself, but not the root key. 
pRegistryRootKey: HKEY = HKEY_CURRENT_USER 
Optional. The root key, the default value is HKEY_CURRENT_USER, other usefule values are HKEY_LOCAL_MACHINE and HKEY_CLASSES_ROOT. 

Variant: The vlaue of the registry key.

Currently only string values are supported.