12#ifndef __UNICONFPSTORE_H
13#define __UNICONFPSTORE_H
15#include "uniconfgen.h"
21#define PST_KEY_CURRENT_USER 0x00000000
22#define PST_KEY_LOCAL_MACHINE 0x00000001
24#define PST_E_OK 0x00000000L
25#define PST_E_TYPE_EXISTS 0x800C0004L
26#define PST_E_UNKNOWN_TYPE 0x800C0005L
27#define PST_E_NOT_FOUND 0x800C0010L
29#define PST_PF_ALWAYS_SHOW 0x00000001
30#define PST_PF_NEVER_SHOW 0x00000002
32#define PST_CF_DEFAULT 0x00000000
33#define PST_CF_NONE 0x00000001
47 PSTORECLib::IPStorePtr m_spPStore;
48 GUID m_type, m_subtype;
51 HRESULT create_types(WvString type_name, WvString subtype_name);
65 virtual void setv(
const UniConfPairList &pairs);
An abstract iterator over keys and values in a generator.
A default implementation of IUniConfGen, providing various handy features that save trouble when impl...
Represents a UniConf key which is a path in a hierarchy structured much like the traditional Unix fil...
A generator that exposes Windows protected storage.
virtual void set(const UniConfKey &key, WvStringParm value)
Stores a string value for a key into the registry.
virtual bool exists(const UniConfKey &key)
Without fetching its value, returns true if a key exists.
virtual WvString get(const UniConfKey &key)
Fetches a string value for a key from the registry.
virtual bool haschildren(const UniConfKey &key)
Returns true if a key has children.
virtual void flush_buffers()
Flushes any commitment/notification buffers .
virtual Iter * iterator(const UniConfKey &key)
Returns an iterator over the children of the specified key.
virtual bool isok()
Determines if the generator is usable and working properly.
virtual void setv(const UniConfPairList &pairs)
Stores multiple key-value pairs into the registry.
WvString is an implementation of a simple and efficient printable-string class.
struct _GUID GUID
The structure underlying UUIDs.