|
Revision 1232, 0.7 kB
(checked in by augur, 5 years ago)
|
Initial revision
|
- Property svn:eol-style set to
native
- Property svn:executable set to
*
- Property svn:keywords set to
Author Date Id Revision
|
| Line | |
|---|
| 1 |
|
|---|
| 2 |
|
|---|
| 3 |
|
|---|
| 4 |
class RegKey { |
|---|
| 5 |
public: |
|---|
| 6 |
RegKey() {hkey=NULL; startkey=HKEY_CURRENT_USER;}; |
|---|
| 7 |
RegKey(HKEY startkey); |
|---|
| 8 |
~RegKey(); |
|---|
| 9 |
bool CreateKey(const char *keyname); |
|---|
| 10 |
bool OpenKey( const char * keyname); |
|---|
| 11 |
bool OpenKey( const char * keyname, REGSAM samdesired); |
|---|
| 12 |
bool SetValue(const char *valuename, const char *value); |
|---|
| 13 |
bool DeleteKey(const char *subkey); |
|---|
| 14 |
string QueryValue(const char *valuename); |
|---|
| 15 |
private: |
|---|
| 16 |
HKEY startkey; |
|---|
| 17 |
HKEY hkey; |
|---|
| 18 |
}; |
|---|
| 19 |
|
|---|
| 20 |
|
|---|
| 21 |
|
|---|
| 22 |
|
|---|