System.Win.Registry.TRegistry.Create

From Appmethod Libraries
Jump to: navigation, search

Object Pascal

constructor Create; overload;
constructor Create(AAccess: LongWord); overload;

C++

__fastcall TRegistry(void)/* overload */;
__fastcall TRegistry(unsigned AAccess)/* overload */;

Properties

Type Visibility Source Unit Parent
constructor public
System.Win.Registry.pas
System.Win.Registry.hpp
System.Win.Registry TRegistry

Description

Creates a TRegistry object for an application.

Create instantiates a TRegistry object and sets the RootKey property to HKEY_CURRENT_USER and the LazyWrite property to true. If an AAccess parameter is supplied, this value is used to initialize the Access property. Otherwise, Access is initialized to KEY_ALL_ACCESS.

See Also

Code Examples