From 75ca9df787b4fe51032bca71f228fd8526e81fdf Mon Sep 17 00:00:00 2001 From: Luke Leighton Date: Tue, 10 Nov 1998 22:14:05 +0000 Subject: rpcclient registry key delete command: "regdeletekey". (This used to be commit 20987b6105d42f3404ff009cc27e73a1823cd495) --- source3/include/rpc_reg.h | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) (limited to 'source3/include/rpc_reg.h') diff --git a/source3/include/rpc_reg.h b/source3/include/rpc_reg.h index 475661e833..33b7b72a25 100644 --- a/source3/include/rpc_reg.h +++ b/source3/include/rpc_reg.h @@ -33,6 +33,7 @@ #define REG_QUERY_KEY 0x10 #define REG_ENUM_KEY 0x09 #define REG_CREATE_KEY 0x06 +#define REG_DELETE_KEY 0x07 #define REG_CREATE_VALUE 0x16 #define REG_GET_KEY_SEC 0x0c #define REG_ENUM_VALUE 0x0a @@ -211,6 +212,7 @@ typedef struct q_reg_create_key_info BUFFER2 buf_unk; /* 01 00 00 80 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 */ uint32 unknown_2; /* 0x0000 0000 */ + } REG_Q_CREATE_KEY; /* REG_R_CREATE_KEY */ @@ -223,6 +225,25 @@ typedef struct r_reg_create_key_info } REG_R_CREATE_KEY; +/* REG_Q_DELETE_KEY */ +typedef struct q_reg_delete_key_info +{ + POLICY_HND pnt_pol; /* parent key policy handle */ + + UNIHDR hdr_name; + UNISTR2 uni_name; +} REG_Q_DELETE_KEY; + +/* REG_R_DELETE_KEY */ +typedef struct r_reg_delete_key_info +{ + POLICY_HND key_pol; /* policy handle */ + uint32 unknown; /* 0x0000 0000 */ + + uint32 status; /* return status */ + +} REG_R_DELETE_KEY; + /* REG_Q_QUERY_KEY */ typedef struct q_reg_query_info { -- cgit