diff options
Diffstat (limited to 'source3/include')
-rw-r--r-- | source3/include/rpc_reg.h | 30 |
1 files changed, 16 insertions, 14 deletions
diff --git a/source3/include/rpc_reg.h b/source3/include/rpc_reg.h index 9f97d49715..51f8ff8d96 100644 --- a/source3/include/rpc_reg.h +++ b/source3/include/rpc_reg.h @@ -25,19 +25,8 @@ #ifndef _RPC_REG_H /* _RPC_REG_H */ #define _RPC_REG_H +/* RPC opnum */ -/* winreg pipe defines - NOT IMPLEMENTED !! -#define _REG_UNK_01 0x01 -#define _REG_UNK_0D 0x0d -#define _REG_UNK_0E 0x0e -#define _REG_UNK_12 0x12 -#define _REG_UNK_13 0x13 -#define _REG_UNK_17 0x17 - -*/ - -/* Implemented */ #define REG_OPEN_HKCR 0x00 #define REG_OPEN_HKLM 0x02 #define REG_OPEN_HKPD 0x03 @@ -53,6 +42,7 @@ #define REG_OPEN_ENTRY 0x0f #define REG_QUERY_KEY 0x10 #define REG_INFO 0x11 +#define REG_RESTORE_KEY 0x13 #define REG_SAVE_KEY 0x14 #define REG_SET_KEY_SEC 0x15 #define REG_CREATE_VALUE 0x16 @@ -331,7 +321,20 @@ typedef struct { typedef struct { POLICY_HND pol; UNISTR4 filename; - uint32 unknown; /* 0x0000 0000 */ + uint32 flags; +} REG_Q_RESTORE_KEY; + +typedef struct { + WERROR status; /* return status */ +} REG_R_RESTORE_KEY; + + +/***********************************************/ + +typedef struct { + POLICY_HND pol; + UNISTR4 filename; + uint32 unknown; /* I'm pretty sure this is a pointer to a SEC_DESC as per MSDN */ } REG_Q_SAVE_KEY; @@ -340,7 +343,6 @@ typedef struct { } REG_R_SAVE_KEY; - /***********************************************/ typedef struct { |