Etterna
0.74.4
Loading...
Searching...
No Matches
src
archutils
Win32
RegistryAccess.h
1
/* RegistryAccess - Windows registry helpers */
2
3
#ifndef REGISTRY_ACCESS_H
4
#define REGISTRY_ACCESS_H
5
6
#include <string>
7
#include <vector>
8
9
namespace
RegistryAccess {
10
bool
11
GetRegValue(
const
std::string& sKey,
12
const
std::string& sName,
13
std::string& val);
14
bool
15
GetRegValue(
const
std::string& sKey,
16
const
std::string& sName,
17
int
& val,
18
bool
bWarnOnError =
true
);
19
bool
20
GetRegValue(
const
std::string& sKey,
const
std::string& sName,
bool
& val);
21
22
bool
23
GetRegSubKeys(
const
std::string& sKey,
24
std::vector<std::string>& asList,
25
const
std::string& sRegex =
".*"
,
26
bool
bReturnPathToo =
true
);
27
28
bool
29
SetRegValue(
const
std::string& sKey,
30
const
std::string& sName,
31
const
std::string& val);
32
bool
33
SetRegValue(
const
std::string& sKey,
const
std::string& sName,
int
val);
34
bool
35
SetRegValue(
const
std::string& sKey,
const
std::string& sName,
bool
val);
36
37
bool
38
CreateKey(
const
std::string& sKey);
39
}
40
41
#endif
Generated by
1.9.8