System.Win.Registry.TRegistry.GetBaseKey
Delphi
function GetBaseKey(Relative: Boolean): HKey;
C++
HKEY __fastcall GetBaseKey(bool Relative);
プロパティ
種類 | 可視性 | ソース | ユニット | 親 |
---|---|---|---|---|
function | protected | System.Win.Registry.pas System.Win.Registry.hpp |
System.Win.Registry | TRegistry |
説明
基本のキーを返します。
GetBaseKey メソッドは、Relative が false のときに RootKey プロパティを返し、そうでない場合は CurrentKey プロパティを返します。
メモ: GetBaseKey は Windows の API 関数の呼び出し時に内部で使用され、その関数が正常に処理されたかどうかを示します。