Skip to content

Latest commit

 

History

History
30 lines (20 loc) · 605 Bytes

README.md

File metadata and controls

30 lines (20 loc) · 605 Bytes

Ensemble Windows Registry

A simple Win32 Registry encapsulation.

Usage

Include the Registry class.

#include <ensemble/registry.cpp>
using Ensemble::Registry;

We create an instance of Registry with a key representing our software.

Registry* registry = new Registry("Software\\Sample");

We can add an integer into the registry.

registry->RegSetInt(TRUE, "sample-integer", 101);

We can retrieve the integer.

int i = registry->RegGetInt(TRUE, "sample-integer");