You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
14 lines
415 B
C++
14 lines
415 B
C++
#pragma once
|
|
#include <Windows.h>
|
|
#include <cstdint>
|
|
#include <iostream>
|
|
#include "settings.hpp"
|
|
|
|
namespace reg
|
|
{
|
|
DWORD read_key(const wchar_t* root_name, const wchar_t* value_name, uint32_t flags = 0);
|
|
bool create_registry(const wchar_t* root_name, HKEY& hkey);
|
|
bool set_keyval(HKEY& hkey, const wchar_t* value_name, DWORD value);
|
|
bool set_keyval_bin(HKEY& hkey, const wchar_t* value_name, DWORD value);
|
|
}
|