winprefs v0.3.2
A registry exporter for programmers.
|
#include "io.h"
#include "macros.h"
Go to the source code of this file.
Functions | |
DLL_EXPORT bool | save_preferences (bool commit, const wchar_t *deploy_key, const wchar_t *output_dir, const wchar_t *output_file, int max_depth, HKEY hk, const wchar_t *specified_path, enum OUTPUT_FORMAT format, writer_t *writer) |
Starts the registry exporting process. | |
DLL_EXPORT bool | export_single_value (HKEY top_key, const wchar_t *reg_path, enum OUTPUT_FORMAT format, writer_t *writer) |
Print a single registry value name to standard output. | |
DLL_EXPORT bool export_single_value | ( | HKEY | top_key, |
const wchar_t * | reg_path, | ||
enum OUTPUT_FORMAT | format, | ||
writer_t * | writer ) |
Print a single registry value name to standard output.
top_key | Handle to the top key (such as HKEY_CURRENT_USER ). |
reg_path | Registry path to a key or a value name. |
format | Output format. |
writer | Writer to use. Optional. |
true
if successful, false
otherwise. Definition at line 105 of file registry.c.
DLL_EXPORT bool save_preferences | ( | bool | commit, |
const wchar_t * | deploy_key, | ||
const wchar_t * | output_dir, | ||
const wchar_t * | output_file, | ||
int | max_depth, | ||
HKEY | hk, | ||
const wchar_t * | specified_path, | ||
enum OUTPUT_FORMAT | format, | ||
writer_t * | writer ) |
Starts the registry exporting process.
commit | If the changes should be commited with Git. Does not apply if output directory is - meaning standard output. |
deploy_key | Relative path to SSH deploy key. |
output_dir | Output directory. |
output_file | Output filename. |
max_depth | Maximum depth to traverse. |
hk | Starting registry key. |
specified_path | A direct path to a key (and not a value name). |
format | Output format. |
writer | Writer to use. Optional. |
Definition at line 37 of file registry.c.