mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2024-11-15 13:57:57 -07:00
19 lines
558 B
C++
19 lines
558 B
C++
#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(u32* value, const std::string& subkey, const std::string& name);
|
|
template bool ReadValue(u64* 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
|