winprefs v0.3.2
A registry exporter for programmers.
Loading...
Searching...
No Matches
Functions
main.c File Reference
#include "arg.h"
#include "constants.h"
#include "git.h"
#include "io.h"
#include "reg_code.h"
#include "reg_command.h"
#include "registry.h"
+ Include dependency graph for main.c:

Go to the source code of this file.

Functions

static HKEY get_top_key (wchar_t *reg_path)
 Gets the HKEY pointer for the first part of a registry path.
 
int wmain (int argc, wchar_t *argv[])
 Entry point.
 

Function Documentation

◆ get_top_key()

static HKEY get_top_key ( wchar_t * reg_path)
inlinestatic

Gets the HKEY pointer for the first part of a registry path.

Parameters
reg_pathFull registry path.
Returns
Pointer to root key handle.

Definition at line 27 of file main.c.

+ Here is the caller graph for this function: