RAD Studio VCL Reference
|
Opens a specified key in a read-only manner.
function OpenKeyReadOnly(const Key: String): Boolean;
__fastcall Boolean OpenKeyReadOnly(const AnsiString Key);
Call OpenKeyReadOnly to make a specified key the current key. Key is the name of the key to open. If Key is nil (Delphi) or NULL (C++), the CurrentKey property is set to the key specified by the RootKey property.
Key is opened with the security access value KEY_READ.
OpenKey returns true if the key is successfully opened and CurrentKey is set to the key.
Copyright(C) 2009 Embarcadero Technologies, Inc. All Rights Reserved.
|
What do you think about this topic? Send feedback!
|