Step Into Labs

Step Into C · Lesson 30 · Win32 in Depth

The Registry

Hives, keys and value types, RegGetValueW, enumerating values, and LSTATUS error codes.

Part of Step Into C. The full lesson, its missions and the real compiler and debugger are in the course. Try a free lesson first to see how it works.

The registry stores configuration as keys (like folders) that hold values (name, type, data). The top-level keys are the hives:

In this lesson

Missions

  1. Read a string
  2. Read numbers
  3. Enumerate values
  4. Know your limits