winprefs v0.3.2
A registry exporter for programmers.
Loading...
Searching...
No Matches
io.h
1#ifndef IO_H
2#define IO_H
3
4#include "io_writer.h"
5
6enum OUTPUT_FORMAT {
7 OUTPUT_FORMAT_C,
8 OUTPUT_FORMAT_C_SHARP,
9 OUTPUT_FORMAT_POWERSHELL,
10 OUTPUT_FORMAT_REG,
11 OUTPUT_FORMAT_UNKNOWN
12};
13
14bool write_output(wchar_t *out, bool use_crlf, writer_t *writer);
15bool do_writes(HKEY hk,
16 long unsigned int n_values,
17 const wchar_t *prior_stem,
18 enum OUTPUT_FORMAT format,
19 writer_t *writer);
21
31bool write_key_filtered_recursive(HKEY hk,
32 const wchar_t *stem,
33 int max_depth,
34 int depth,
35 const wchar_t *prior_stem,
36 enum OUTPUT_FORMAT format,
37 writer_t *writer);
38
39#endif // IO_H