/* Implementation of internal registry database functions. */
#include "includes.h"
+#include "registry.h"
+#include "reg_db.h"
#undef DBGC_CLASS
#define DBGC_CLASS DBGC_REGISTRY
KEY_HKCU,
KEY_GP_USER_POLICY,
KEY_GP_USER_WIN_POLICY,
- KEY_WINLOGON_GPEXT_PATH,
+ "HKLM\\Software\\Microsoft\\Windows NT\\CurrentVersion\\Winlogon\\GPExtensions",
"HKLM\\SYSTEM\\CurrentControlSet\\Control\\Print\\Monitors",
KEY_PROD_OPTIONS,
"HKLM\\SYSTEM\\CurrentControlSet\\Control\\Terminal Server\\DefaultUserConfiguration",
/* add the new value. Paranoid protective code -- make sure data_p is valid */
- if (*valuename && size && data_p) {
+ if (size && data_p) {
regval_ctr_addvalue(values, valuename, type,
(const char *)data_p, size);
}