summaryrefslogtreecommitdiff
path: root/source3/include
diff options
context:
space:
mode:
authorLuke Leighton <lkcl@samba.org>1998-11-10 22:03:34 +0000
committerLuke Leighton <lkcl@samba.org>1998-11-10 22:03:34 +0000
commitc098e44df44e3c6ace3ce00d28140329821e8f3d (patch)
treea003f886e8434a6cfcf6f4c2f970530f661c8a5c /source3/include
parent10844fa9803a9c60d88a11df0983d84e87caf5c3 (diff)
downloadsamba-c098e44df44e3c6ace3ce00d28140329821e8f3d.tar.gz
samba-c098e44df44e3c6ace3ce00d28140329821e8f3d.tar.bz2
samba-c098e44df44e3c6ace3ce00d28140329821e8f3d.zip
registry modification requires a "sync" or "refresh" on the parent key.
opcode 0xb added to do this. a likely candidate name is "RegFlushKey". (This used to be commit 5e9567e3c7d4ee8624a448fcccfcd8003913dbbf)
Diffstat (limited to 'source3/include')
-rw-r--r--source3/include/proto.h4
-rw-r--r--source3/include/rpc_reg.h16
2 files changed, 20 insertions, 0 deletions
diff --git a/source3/include/proto.h b/source3/include/proto.h
index 61394c9ad9..5a17ec2181 100644
--- a/source3/include/proto.h
+++ b/source3/include/proto.h
@@ -1299,6 +1299,7 @@ BOOL do_reg_open_policy(struct cli_state *cli, uint16 unknown_0, uint32 level,
POLICY_HND *hnd);
BOOL do_reg_open_unk_4(struct cli_state *cli, uint16 unknown_0, uint32 level,
POLICY_HND *hnd);
+BOOL do_reg_unk_b(struct cli_state *cli, POLICY_HND *hnd);
BOOL do_reg_query_key(struct cli_state *cli, POLICY_HND *hnd,
char *class, uint32 *class_len,
uint32 *num_subkeys, uint32 *max_subkeylen,
@@ -1611,6 +1612,9 @@ void make_reg_q_open_pol(REG_Q_OPEN_POLICY *q_o,
uint16 unknown_0, uint32 level);
void reg_io_q_open_policy(char *desc, REG_Q_OPEN_POLICY *r_q, prs_struct *ps, int depth);
void reg_io_r_open_policy(char *desc, REG_R_OPEN_POLICY *r_r, prs_struct *ps, int depth);
+void make_reg_q_unk_b(REG_Q_UNK_B *q_u, POLICY_HND *pol);
+void reg_io_q_unk_b(char *desc, REG_Q_UNK_B *r_q, prs_struct *ps, int depth);
+void reg_io_r_unk_b(char *desc, REG_R_UNK_B *r_r, prs_struct *ps, int depth);
void make_reg_q_create_key(REG_Q_CREATE_KEY *q_c, POLICY_HND *hnd,
char *name, char *class,
SEC_INFO *sam_access);
diff --git a/source3/include/rpc_reg.h b/source3/include/rpc_reg.h
index 9334810866..475661e833 100644
--- a/source3/include/rpc_reg.h
+++ b/source3/include/rpc_reg.h
@@ -28,6 +28,7 @@
/* winreg pipe defines */
#define REG_OPEN_POLICY 0x02
#define REG_OPEN_UNK_4 0x04
+#define REG_UNK_B 0x0B
#define REG_UNK_1A 0x1a
#define REG_QUERY_KEY 0x10
#define REG_ENUM_KEY 0x09
@@ -78,6 +79,21 @@ typedef struct r_reg_open_unk4_info
} REG_R_OPEN_UNK_4;
+/* REG_Q_UNK_B */
+typedef struct q_reg_open_unkb_info
+{
+ POLICY_HND pol; /* policy handle */
+
+} REG_Q_UNK_B;
+
+/* REG_R_UNK_B */
+typedef struct r_reg_open_unkb_info
+{
+ uint32 status; /* return status */
+
+} REG_R_UNK_B;
+
+
/* REG_Q_GET_KEY_SEC */
typedef struct q_reg_get_key_sec_info
{