2023-01-17 09:23:44 +00:00
|
|
|
#pragma once
|
|
|
|
|
|
|
|
#include <Windows.h>
|
2023-01-29 08:51:41 +00:00
|
|
|
#include <string>
|
|
|
|
|
|
|
|
#include "Common/CommonTypes.h"
|
2023-01-17 09:23:44 +00:00
|
|
|
|
|
|
|
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 13:08:44 +00:00
|
|
|
} // namespace WindowsRegistry
|