12 #ifndef __UNICONFPSTORE_H 13 #define __UNICONFPSTORE_H 15 #include "uniconfgen.h" 19 #include "pstorec.tlh" 21 #define PST_KEY_CURRENT_USER 0x00000000 // Specifies that the storage is maintained in the current user section of the registry. 22 #define PST_KEY_LOCAL_MACHINE 0x00000001 // Specifies that the storage is maintained in the local machine section of the registry. 24 #define PST_E_OK 0x00000000L // The operation was successful. 25 #define PST_E_TYPE_EXISTS 0x800C0004L // The data item already exists in the protected storage. 26 #define PST_E_UNKNOWN_TYPE 0x800C0005L 27 #define PST_E_NOT_FOUND 0x800C0010L 29 #define PST_PF_ALWAYS_SHOW 0x00000001 // Requests that the provider show the prompt dialog to the user even if not required for this access. 30 #define PST_PF_NEVER_SHOW 0x00000002 // Do not show the prompt dialog to the user. 32 #define PST_CF_DEFAULT 0x00000000 // Allows user to choose confirmation style. 33 #define PST_CF_NONE 0x00000001 // Forces silent item creation. 47 PSTORECLib::IPStorePtr m_spPStore;
48 GUID m_type, m_subtype;
65 virtual void setv(
const UniConfPairList &pairs);
72 #endif // __UNICONFPSTORE_H virtual void setv(const UniConfPairList &pairs)
Stores multiple key-value pairs into the registry.
A WvFastString acts exactly like a WvString, but can take (const char *) strings without needing to a...
Represents a UniConf key which is a path in a hierarchy structured much like the traditional Unix fil...
virtual void flush_buffers()
Flushes any commitment/notification buffers .
The structure underlying UUIDs.
virtual bool isok()
Determines if the generator is usable and working properly.
An abstract iterator over keys and values in a generator.
virtual bool haschildren(const UniConfKey &key)
Returns true if a key has children.
virtual bool exists(const UniConfKey &key)
Without fetching its value, returns true if a key exists.
A generator that exposes Windows protected storage.
WvString is an implementation of a simple and efficient printable-string class.
A default implementation of IUniConfGen, providing various handy features that save trouble when impl...
A WvLog stream accepts log messages from applications and forwards them to all registered WvLogRcv's...
virtual Iter * iterator(const UniConfKey &key)
Returns an iterator over the children of the specified key.