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