Displaying 1 result from an estimated 1 matches for "reg_diff_apply".
2009 Mar 23
0
regpatch problem ?
...edentials);
+ } else if (file != NULL) {
+ start_key = reg_common_open_file(file, ev_ctx, cmdline_lp_ctx,
cmdline_credentials);
} else {
h = reg_common_open_local (cmdline_credentials, ev_ctx,
cmdline_lp_ctx);
}
But the problem is that start_key is a reg_key struct, and
reg_diff_apply needs a reg_context struct, so start_key has to be
"mounted" over a predefined key, passed by the user ? maybe by an option
: -K, for example :
regpatch -F ntuser.dat -K HKEY_CURRENT_USER patch.reg
Thanks for your comments, ideas,
Denis