Skip to content

Latest commit

 

History

History
20 lines (13 loc) · 445 Bytes

File metadata and controls

20 lines (13 loc) · 445 Bytes

Registry Libraries

A library for read and write registry based on the Windows API.

Usage

#include "Registry.h"
using namespace Easy;

Registry reg;

Registry registry(HKEY_LOCAL_MACHINE);
CString sKey = _T("Userinit"), sData;
CString sOption = _T("SOFTWARE\\Microsoft\\Windows NT\\CurrentVersion\\Winlogon");

registry.Read(sOption, sKey, sData);    // C:\Windows\system32\userinit.exe,
registry.Write(sOption, sKey, sData);