RegReadStr function
Easy Registry utilities |
acUtils
|
function RegReadStr(KeyName, ValueName: String; RootKey: hKey): String;
|
The RegReadStr function reads and returns the string from the registry, under specified KeyName and ValueName.
|
|
If specified KeyName or ValueName is not exists in the registry, function will return empty string.
|
uses RegStr, acUtils;
|
// ---
|
Result := RegReadStr(REGSTR_PATH_EXPLORER + '\Shell Folders',
|
'Desktop', HKEY_CURRENT_USER);
|
RegWriteStr procedure.
|