System.Win.ComObj.GetRegStringValue
Delphi
function GetRegStringValue(const Key, ValueName: string; RootKey: HKEY): string;
C++
extern DELPHI_PACKAGE System::UnicodeString __fastcall GetRegStringValue(const System::UnicodeString Key, const System::UnicodeString ValueName, HKEY RootKey = (HKEY)(0x80000000));
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
function | public | System.Win.ComObj.pas System.Win.ComObj.hpp |
System.Win.ComObj | System.Win.ComObj |
Description
Retrieves a value stored under a subkey of HKEY_CLASSES_ROOT from the system registry.
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.