#include "io.h"
#include "macros.h"
Go to the source code of this file.
|
| DLL_EXPORT bool | save_preferences (bool commit, bool read_settings, 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.
|
| |
◆ export_single_value()
| 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.
- Parameters
-
| 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. |
- Returns
true if successful, false otherwise.
◆ save_preferences()
| DLL_EXPORT bool save_preferences |
( |
bool |
commit, |
|
|
bool |
read_settings, |
|
|
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.
- Parameters
-
| commit | If the changes should be commited with Git. Does not apply if output directory is - meaning standard output. |
| read_settings | If the settings should be read. |
| 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. |
- Returns
- Pointer to string with branch name. Must be freed on caller side.