dolphin/Source/Core/Common/WindowsRegistry.h

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

19 lines
557 B
C
Raw Normal View History

#pragma once
#include <Windows.h>
2023-01-29 01:51:41 -07:00
#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();
2024-08-18 07:08:44 -06:00
} // namespace WindowsRegistry