ReactOS 0.4.16-dev-319-g6cf4263
|
#include <windows.h>
#include <commctrl.h>
#include <stdlib.h>
#include <tchar.h>
#include <process.h>
#include <stdio.h>
#include <wchar.h>
#include <ctype.h>
#include <limits.h>
#include <winnt.h>
#include <winreg.h>
#include <assert.h>
#include "regproc.h"
Go to the source code of this file.
Macros | |
#define | WIN32_LEAN_AND_MEAN |
#define | REG_VAL_BUF_SIZE 4096 |
#define | QUERY_VALUE_MAX_ARGS 1 |
#define | REG_FILE_HEX_LINE_LEN 76 |
#define | REG_CLASS_NUMBER (sizeof(reg_class_names) / sizeof(reg_class_names[0])) |
#define | NOT_ENOUGH_MEMORY 1 |
#define | IO_ERROR 2 |
#define | CHECK_ENOUGH_MEMORY(p) |
#define | _TEOF EOF |
Variables | |
static LPTSTR | currentKeyName = NULL |
static HKEY | currentKeyClass = 0 |
static HKEY | currentKeyHandle = 0 |
static BOOL | bTheKeyIsOpen = FALSE |
static TCHAR * | reg_class_names [] |
static HKEY | reg_class_keys [REG_CLASS_NUMBER] |
#define REG_CLASS_NUMBER (sizeof(reg_class_names) / sizeof(reg_class_names[0])) |
Definition at line 604 of file regproc.c.
Referenced by doQueryValue(), and doSetValue().
Definition at line 289 of file regproc.c.
Referenced by setValue().
Definition at line 231 of file regproc.c.
Referenced by setValue().
Definition at line 272 of file regproc.c.
Referenced by processQueryValue().
Definition at line 246 of file regproc.c.
Referenced by processQueryValue().
Definition at line 1410 of file regproc.c.
Referenced by delete_branch(), and delete_registry_key().
Definition at line 1459 of file regproc.c.
Definition at line 653 of file regproc.c.
Definition at line 994 of file regproc.c.
Definition at line 619 of file regproc.c.
Referenced by import_registry_file().
Definition at line 1024 of file regproc.c.
void export_hkey | ( | FILE * | file, |
HKEY | key, | ||
TCHAR ** | reg_key_name_buf, | ||
DWORD * | reg_key_name_len, | ||
TCHAR ** | val_name_buf, | ||
DWORD * | val_name_len, | ||
BYTE ** | val_buf, | ||
DWORD * | val_size | ||
) |
Definition at line 1131 of file regproc.c.
Referenced by export_hkey(), and export_registry_key().
Definition at line 1310 of file regproc.c.
Definition at line 160 of file regproc.c.
Referenced by get_file_nameW().
Definition at line 205 of file regproc.c.
Definition at line 377 of file regproc.c.
Referenced by processQueryValue().
Definition at line 331 of file regproc.c.
Referenced by setValue().
Definition at line 567 of file regproc.c.
Referenced by delete_registry_key(), export_registry_key(), and openKey().
Definition at line 536 of file regproc.c.
Referenced by delete_registry_key(), export_registry_key(), and openKey().
Definition at line 494 of file regproc.c.
Referenced by doQueryValue(), and doSetValue().
Definition at line 770 of file regproc.c.
Referenced by doQueryValue().
void processRegLines | ( | FILE * | in, |
CommandAPI | command | ||
) |
Definition at line 887 of file regproc.c.
Referenced by import_registry_file().
Definition at line 716 of file regproc.c.
Referenced by doSetValue().
Definition at line 1098 of file regproc.c.
Referenced by export_hkey().
Definition at line 1056 of file regproc.c.
Referenced by delete_branch(), export_hkey(), and export_registry_key().
Definition at line 1085 of file regproc.c.
Referenced by delete_branch(), export_hkey(), and export_registry_key().
Definition at line 432 of file regproc.c.
Referenced by processSetValue().
Definition at line 72 of file regproc.c.
Referenced by closeKey(), doQueryValue(), doSetValue(), and openKey().
|
static |
Definition at line 70 of file regproc.c.
Referenced by closeKey(), and openKey().
|
static |
Definition at line 71 of file regproc.c.
Referenced by closeKey(), openKey(), processQueryValue(), and setValue().
Definition at line 69 of file regproc.c.
Referenced by closeKey(), getRegKeyName(), openKey(), processQueryValue(), and processSetValue().
|
static |
|
static |
Definition at line 74 of file regproc.c.
Referenced by export_registry_key(), and getRegClass().