summaryrefslogtreecommitdiff
path: root/source4/librpc
diff options
context:
space:
mode:
authorTim Potter <tpot@samba.org>2003-12-12 06:29:21 +0000
committerTim Potter <tpot@samba.org>2003-12-12 06:29:21 +0000
commit6fba6f5ca31d445661673fa656ef8eb3b481c371 (patch)
tree22358b8794bf0df2c026057210b07c987a565e78 /source4/librpc
parentd68d1558f7b6344a14774ce49ebc5da210a5b261 (diff)
downloadsamba-6fba6f5ca31d445661673fa656ef8eb3b481c371.tar.gz
samba-6fba6f5ca31d445661673fa656ef8eb3b481c371.tar.bz2
samba-6fba6f5ca31d445661673fa656ef8eb3b481c371.zip
Got winreg_EnumValue working - what a mess!
(This used to be commit cc494086e796c0090a92ac36012727c67e3587d1)
Diffstat (limited to 'source4/librpc')
-rw-r--r--source4/librpc/idl/winreg.idl28
1 files changed, 24 insertions, 4 deletions
diff --git a/source4/librpc/idl/winreg.idl b/source4/librpc/idl/winreg.idl
index 263946bdda..4fe4e6d414 100644
--- a/source4/librpc/idl/winreg.idl
+++ b/source4/librpc/idl/winreg.idl
@@ -114,16 +114,36 @@
[in,out] winreg_Time *last_changed_time
);
+ typedef struct {
+ uint32 max_len;
+ uint32 offset;
+ uint32 len;
+ uint16 buffer[len];
+ } winreg_Uint16buf;
+
+ typedef struct {
+ uint16 len;
+ uint16 max_len;
+ winreg_Uint16buf *buf;
+ } winreg_EnumValueName;
+
+ typedef struct {
+ uint32 max_len;
+ uint32 offset;
+ uint32 len;
+ uint8 buffer[len];
+ } winreg_Uint8buf;
+
/******************/
/* Function: 0x0a */
WERROR winreg_EnumValue(
[in,ref] policy_handle *handle,
[in] uint32 val_index,
- [in,out,ref] winreg_String *name,
+ [in,out,ref] winreg_EnumValueName *name,
[in,out] uint32 *type,
- [in,out] unistr *value,
- [in,out] uint32 *value1,
- [in,out] uint32 *value2
+ [in,out] winreg_Uint8buf *value,
+ [in,out] uint32 *requested_len,
+ [in,out] uint32 *returned_len
);
/******************/