Retrieves a value stored under a subkey of HKEY_CLASSES_ROOT from the system registry.
function GetRegStringValue(const Key: string; const ValueName: string; RootKey: DWord = HKEY_CLASSES_ROOT): string;
AnsiString GetRegStringValue(const AnsiString Key, const AnsiString ValueName, DWord RootKey = HKEY_CLASSES_ROOT);
ComObj
GetRegStringValue returns the value specified by the ValueName property that is stored under the key specified by Key. Key must be a subkey of RootKey, which defaults to HKEY_CLASSES_ROOT. If there is no such value stored in the system registry, GetRegStringValue returns an empty string.
Copyright(C) 2008 CodeGear(TM). All Rights Reserved.
|
What do you think about this topic? Send feedback!
|