summaryrefslogtreecommitdiff
path: root/source3/include
diff options
context:
space:
mode:
authorGerald Carter <jerry@samba.org>2002-07-29 19:45:15 +0000
committerGerald Carter <jerry@samba.org>2002-07-29 19:45:15 +0000
commitc17dc6c55c3a5a2912028a1d6a713f26b3b91c63 (patch)
tree6887d62732d1b9f10d164fd314ccf97de626a1d4 /source3/include
parent9f7e67c6f9eec4f21d5afbe323dc1c664ff52b54 (diff)
downloadsamba-c17dc6c55c3a5a2912028a1d6a713f26b3b91c63.tar.gz
samba-c17dc6c55c3a5a2912028a1d6a713f26b3b91c63.tar.bz2
samba-c17dc6c55c3a5a2912028a1d6a713f26b3b91c63.zip
add another registry rpc (opnum 0x14). Have no idea what it's real name
is. I'm calling it REG_SAVE_KEY, because 2k preps a regedt32.exe Registry->Save Key with this call. Done in the process of tracking down a PrinterDriverData issue. (This used to be commit 66104a361424f10cc986c597b91afa6f12b3cd8a)
Diffstat (limited to 'source3/include')
-rw-r--r--source3/include/rpc_reg.h25
1 files changed, 24 insertions, 1 deletions
diff --git a/source3/include/rpc_reg.h b/source3/include/rpc_reg.h
index 41d3325015..92175cf287 100644
--- a/source3/include/rpc_reg.h
+++ b/source3/include/rpc_reg.h
@@ -38,7 +38,6 @@
#define _REG_UNK_0E 0x0e
#define _REG_UNK_12 0x12
#define _REG_UNK_13 0x13
-#define _REG_UNK_14 0x14
#define REG_SET_KEY_SEC 0x15
#define REG_CREATE_VALUE 0x16
#define _REG_UNK_17 0x17
@@ -56,6 +55,7 @@
#define REG_INFO 0x11
#define REG_SHUTDOWN 0x18
#define REG_ABORT_SHUTDOWN 0x19
+#define REG_SAVE_KEY 0x14 /* no idea what the real name is */
#define REG_UNKNOWN_1A 0x1a
@@ -455,6 +455,29 @@ typedef struct r_reg_unk_1a_info
} REG_R_UNKNOWN_1A;
+/* REG_Q_UNKNOWN_1A */
+typedef struct q_reg_unknown_14
+{
+ POLICY_HND pol; /* policy handle */
+
+ UNIHDR hdr_file; /* unicode product type header */
+ UNISTR2 uni_file; /* local filename to save key as from regedt32.exe */
+ /* e.g. "c:\temp\test.dat" */
+
+ uint32 unknown; /* 0x0000 0000 */
+
+} REG_Q_SAVE_KEY;
+
+
+/* REG_R_UNKNOWN_1A */
+typedef struct r_reg_unknown_14
+{
+ NTSTATUS status; /* return status */
+
+} REG_R_SAVE_KEY;
+
+
+
/* REG_Q_CLOSE */
typedef struct reg_q_close_info
{