Home Units Hierarchy Routines All identifiers

Class unaRegistry

DescriptionHierarchyFieldsMethodsProperties

Unit

Declaration

type unaRegistry = class(unaObject)

Description

Registry access class.

Hierarchy

Overview

Methods

Public constructor create(root: HKEY = HKEY_CURRENT_USER);
Public function get(const name: wString; def: int): int; overload;
Public function get(const name: wString; buf: pointer; size: DWORD): unsigned; overload;
Public function get(const name: wString; def: unsigned): unsigned; overload;
Public function get(const name: wString; const def: int64): int64; overload;
Public function get(const name: wString; const def: aString): aString; overload;
Public function get(const name: wString; var buf: pointer): DWORD; overload;
Public function loadKeyNames(list: unaStringList): int;
Public function open(const keyPath: wString; access: unsigned = KEY_READ): int;
Public function setValue(const name: wString; value: int): bool; overload;
Public function setValue(const name: wString; value: unsigned): bool; overload;
Public function setValue(const name: wString; buf: pointer; size: unsigned; keyType: int): int; overload;
Public function setValue(const name: wString; value: int64): bool; overload;
Public function setValue(const name: wString; const value: aString): bool; overload;
Public procedure BeforeDestruction(); override;
Public procedure close();

Description

Methods

Public constructor create(root: HKEY = HKEY_CURRENT_USER);
 
Public function get(const name: wString; def: int): int; overload;
 
Public function get(const name: wString; buf: pointer; size: DWORD): unsigned; overload;
 
Public function get(const name: wString; def: unsigned): unsigned; overload;
 
Public function get(const name: wString; const def: int64): int64; overload;
 
Public function get(const name: wString; const def: aString): aString; overload;
 
Public function get(const name: wString; var buf: pointer): DWORD; overload;

Returns item value stored in Windows registry.

Public function loadKeyNames(list: unaStringList): int;
 
Public function open(const keyPath: wString; access: unsigned = KEY_READ): int;
 
Public function setValue(const name: wString; value: int): bool; overload;
 
Public function setValue(const name: wString; value: unsigned): bool; overload;
 
Public function setValue(const name: wString; buf: pointer; size: unsigned; keyType: int): int; overload;

Sets the value of item in Windows registry.

Public function setValue(const name: wString; value: int64): bool; overload;
 
Public function setValue(const name: wString; const value: aString): bool; overload;
 
Public procedure BeforeDestruction(); override;
 
Public procedure close();
 

(c) 2012 Lake of Soft


Generated by PasDoc 0.12.1 on 2012-10-09