summaryrefslogtreecommitdiff
path: root/Source/Core/Common/WindowsRegistry.h
blob: affeba41cb6d10050f9da2fcb63c20701fec9ed9 (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