winprefs v0.3.2
A registry exporter for programmers.
Loading...
Searching...
No Matches
constants.h
Go to the documentation of this file.
1
2#ifndef CONSTANTS_H
3#define CONSTANTS_H
4
6extern const size_t CMD_MAX_COMMAND_LENGTH;
8extern const size_t POWERSHELL_MAX_COMMAND_LENGTH;
10extern const size_t MAX_KEY_LENGTH;
12extern const size_t MAX_VALUE_NAME;
14extern const size_t WL;
15extern const wchar_t *AUTOMATIC_COMMIT_MESSAGE_PREFIX;
16extern const size_t SIZEOF_C_PREAMBLE;
17extern const char *C_PREAMBLE;
18extern const wchar_t *C_REGSETKEYVALUEW_TEMPLATE_BINARY;
19extern const wchar_t *C_REGSETKEYVALUEW_TEMPLATE_NONE;
20extern const wchar_t *C_REGSETKEYVALUEW_TEMPLATE_NUMERIC;
21extern const wchar_t *C_REGSETKEYVALUEW_TEMPLATE_SZ;
22extern const wchar_t *C_SHARP_REGISTRY_SET_VALUE_TEMPLATE;
23extern const wchar_t *KEYWORD_DWORD;
24extern const wchar_t *KEYWORD_QWORD;
25// key, key, key, value name, type (String, ExpandString, Binary, DWord, MultiString, Qword), value
26extern const wchar_t *POWERSHELL_CODE_TEMPLATE;
27
28#endif // CONSTANTS_H
const size_t MAX_VALUE_NAME
Maximum length of the value-name in a reg add command.
Definition constants.c:4
const size_t WL
Alias of sizeof(wchar_t).
Definition constants.c:5
const size_t POWERSHELL_MAX_COMMAND_LENGTH
Maximum PowerShell command line length.
Definition constants.c:2
const size_t CMD_MAX_COMMAND_LENGTH
Maximum cmd.exe command line length.
Definition constants.c:1
const size_t MAX_KEY_LENGTH
Maximum length of a registry key.
Definition constants.c:3