OWLNext    7.0
Borland's Object Windows Library for the modern age
Loading...
Searching...
No Matches
owl::TRegistry Class Reference

TRegistry provides high level stream and list access to the registry. More...

#include <owl/registry.h>

Classes

struct  TUnregParams
 

Static Public Member Functions

static int Validate (TRegKey &baseKey, tistream &in)
 Returns number of mismatched entries.
 
static void Update (TRegKey &baseKey, tistream &in)
 Writes lines to registry.
 
static int Unregister (TRegList &regInfo, const TUnregParams *params, const TRegItem *overrides=nullptr)
 Unregisters entries given a reglist.
 

Detailed Description

TRegistry provides high level stream and list access to the registry.

Definition at line 830 of file registry.h.

Member Function Documentation

◆ Unregister()

int owl::TRegistry::Unregister ( TRegList & regInfo,
const TUnregParams * params,
const TRegItem * overrides = nullptr )
static

Unregisters entries given a reglist.

An optional overrides regItem. Returns the number of errors from deleting keys.

Definition at line 1534 of file registry.cpp.

References _A2WB_, _T, _tcscmp, _tcscpy, _USES_CONVERSION, _W2AB_, and MAX_PATH.

◆ Update()

void owl::TRegistry::Update ( TRegKey & baseKey,
tistream & in )
static

Writes lines to registry.

Walks through an input stream and uses basekey\key\key=data lines to set registry entries.

Has named value support in the form: basekey\key\key|valuename=data

Definition at line 1438 of file registry.cpp.

References _T, _tcschr, _tcscmp, and _tcslen.

◆ Validate()

int owl::TRegistry::Validate ( TRegKey & baseKey,
tistream & in )
static

Returns number of mismatched entries.

Walks through an input stream and uses basekey\key\key=data lines to check registry entries.

Returns the number of differences. Zero means a complete match.

Has named value support in the following form: basekey\key\key|valuename=data

Definition at line 1485 of file registry.cpp.

References _T, _tcschr, _tcscmp, and _tcslen.


The documentation for this class was generated from the following files: