133 #ifndef OPENTXS_CORE_UTIL_WINDOWSREGISTRYTOOLS_HPP
134 #define OPENTXS_CORE_UTIL_WINDOWSREGISTRYTOOLS_HPP
139 #ifndef WIN32_LEAN_AND_MEAN
140 #define WIN32_LEAN_AND_MEAN
147 class WindowsRegistryTools
150 LONG GetDWORDRegKey(HKEY hKey,
const std::wstring& strValueName,
151 DWORD& nValue, DWORD nDefaultValue);
152 LONG GetBoolRegKey(HKEY hKey,
const std::wstring& strValueName,
153 bool& bValue,
bool bDefaultValue);
154 LONG GetStringRegKey(HKEY hKey,
const std::wstring& strValueName,
155 std::wstring& strValue,
156 const std::wstring& strDefaultValue);
161 #endif // OPENTXS_CORE_UTIL_WINDOWSREGISTRYTOOLS_HPP