blob: 7dc3a52f914cce5210eb102224dcab1f7fdaf62d (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
|
#pragma once
#include <Windows.h>
#include <string>
#include "Common/CommonTypes.h"
namespace WindowsRegistry
{
template <typename T>
bool ReadValue(T* value, const std::string& subkey, const std::string& name);
template <>
bool ReadValue(std::string* value, const std::string& subkey, const std::string& name);
OSVERSIONINFOW GetOSVersion();
} // namespace WindowsRegistry
|