summaryrefslogtreecommitdiff
path: root/source3/include
diff options
context:
space:
mode:
authorGerald Carter <jerry@samba.org>2002-07-23 04:55:06 +0000
committerGerald Carter <jerry@samba.org>2002-07-23 04:55:06 +0000
commite8177d1104c8f7a1035f5c9c340ae5c9b594a729 (patch)
tree6fb8ca0c2ae68a9892f0ff38cfb4440b83205c3e /source3/include
parent445a52ebb0cdbc5fff47559f70c2000283da9611 (diff)
downloadsamba-e8177d1104c8f7a1035f5c9c340ae5c9b594a729.tar.gz
samba-e8177d1104c8f7a1035f5c9c340ae5c9b594a729.tar.bz2
samba-e8177d1104c8f7a1035f5c9c340ae5c9b594a729.zip
* changed structure of REG_R_ENUM_VALUE structure since the BUFFER2
is not and [in/out] buffer * registry value enumeration is working now for the Print\Forms key. The format of the binary data is not quite right yet but all installed forms are listed (This used to be commit 998eb9c7312c3c9a9ed1e9ec294593503c0304bf)
Diffstat (limited to 'source3/include')
-rw-r--r--source3/include/rpc_reg.h6
1 files changed, 4 insertions, 2 deletions
diff --git a/source3/include/rpc_reg.h b/source3/include/rpc_reg.h
index 7dbf49cf84..d025cb2c0d 100644
--- a/source3/include/rpc_reg.h
+++ b/source3/include/rpc_reg.h
@@ -32,7 +32,6 @@
#define REG_CREATE_KEY 0x06
#define REG_DELETE_KEY 0x07
#define REG_DELETE_VALUE 0x08
-#define REG_ENUM_VALUE 0x0a
#define REG_FLUSH_KEY 0x0b
#define REG_GET_KEY_SEC 0x0c
#define _REG_UNK_0D 0x0d
@@ -50,6 +49,7 @@
#define REG_OPEN_HKU 0x04
#define REG_CLOSE 0x05
#define REG_ENUM_KEY 0x09
+#define REG_ENUM_VALUE 0x0a
#define REG_OPEN_ENTRY 0x0f
#define REG_QUERY_KEY 0x10
#define REG_INFO 0x11
@@ -97,6 +97,7 @@ typedef struct {
char *string;
uint32 dword;
uint8 *binary;
+ void *void_ptr; /* for casting only */
} data;
} REGISTRY_VALUE;
@@ -314,6 +315,7 @@ typedef struct q_reg_query_value_info
uint32 ptr2; /* pointer */
uint32 len_value2; /* */
+
} REG_Q_ENUM_VALUE;
/* REG_R_ENUM_VALUE */
@@ -326,7 +328,7 @@ typedef struct r_reg_enum_value_info
uint32 type; /* 1 = UNISTR, 3 = BYTES, 4 = DWORD, 7 = MULTI_UNISTR */
uint32 ptr_value; /* pointer */
- BUFFER2 *buf_value; /* value, in byte buffer */
+ BUFFER2 buf_value; /* value, in byte buffer */
uint32 ptr1; /* pointer */
uint32 len_value1; /* */