Description | Hierarchy | Fields | Methods | Properties |
type unaRegistry = class(unaObject)
Registry access class.
constructor create(root: HKEY = HKEY_CURRENT_USER); |
|
function get(const name: wString; def: int): int; overload; |
|
function get(const name: wString; buf: pointer; size: DWORD): unsigned; overload; |
|
function get(const name: wString; def: unsigned): unsigned; overload; |
|
function get(const name: wString; const def: int64): int64; overload; |
|
function get(const name: wString; const def: aString): aString; overload; |
|
function get(const name: wString; var buf: pointer): DWORD; overload; |
|
function loadKeyNames(list: unaStringList): int; |
|
function open(const keyPath: wString; access: unsigned = KEY_READ): int; |
|
function setValue(const name: wString; value: int): bool; overload; |
|
function setValue(const name: wString; value: unsigned): bool; overload; |
|
function setValue(const name: wString; buf: pointer; size: unsigned; keyType: int): int; overload; |
|
function setValue(const name: wString; value: int64): bool; overload; |
|
function setValue(const name: wString; const value: aString): bool; overload; |
|
procedure BeforeDestruction(); override; |
|
procedure close(); |
constructor create(root: HKEY = HKEY_CURRENT_USER); |
|
function get(const name: wString; def: int): int; overload; |
|
function get(const name: wString; buf: pointer; size: DWORD): unsigned; overload; |
|
function get(const name: wString; def: unsigned): unsigned; overload; |
|
function get(const name: wString; const def: int64): int64; overload; |
|
function get(const name: wString; const def: aString): aString; overload; |
|
function get(const name: wString; var buf: pointer): DWORD; overload; |
|
Returns item value stored in Windows registry. |
function loadKeyNames(list: unaStringList): int; |
|
function open(const keyPath: wString; access: unsigned = KEY_READ): int; |
|
function setValue(const name: wString; value: int): bool; overload; |
|
function setValue(const name: wString; value: unsigned): bool; overload; |
|
function setValue(const name: wString; buf: pointer; size: unsigned; keyType: int): int; overload; |
|
Sets the value of item in Windows registry. |
function setValue(const name: wString; value: int64): bool; overload; |
|
function setValue(const name: wString; const value: aString): bool; overload; |
|
procedure BeforeDestruction(); override; |
|
procedure close(); |
|
(c) 2012 Lake of Soft