summaryrefslogtreecommitdiff
path: root/source4/librpc/idl/winreg.idl
diff options
context:
space:
mode:
authorAndrew Tridgell <tridge@samba.org>2004-12-09 07:05:47 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 13:06:27 -0500
commitaad22cabbf52c2d5cea9ee80fa8e1960944f9d7e (patch)
tree3a06122c01f7878cb7df1033c0ea865bccc4dfe9 /source4/librpc/idl/winreg.idl
parent74eb0017be0e89df7c0ce0a18a7042dc7d06bfdb (diff)
downloadsamba-aad22cabbf52c2d5cea9ee80fa8e1960944f9d7e.tar.gz
samba-aad22cabbf52c2d5cea9ee80fa8e1960944f9d7e.tar.bz2
samba-aad22cabbf52c2d5cea9ee80fa8e1960944f9d7e.zip
r4111: fixed winreg to use much simpler (and I believe correct) IDL for QueryValue
(This used to be commit 659d0295314c6a070698fc81223044f4d7366993)
Diffstat (limited to 'source4/librpc/idl/winreg.idl')
-rw-r--r--source4/librpc/idl/winreg.idl24
1 files changed, 8 insertions, 16 deletions
diff --git a/source4/librpc/idl/winreg.idl b/source4/librpc/idl/winreg.idl
index a3e81f3a94..2dbd4de944 100644
--- a/source4/librpc/idl/winreg.idl
+++ b/source4/librpc/idl/winreg.idl
@@ -231,12 +231,9 @@
[in,ref] policy_handle *handle,
[in] winreg_String value_name,
[in,out] uint32 *type,
- [in] uint32 *offered,
- [in] uint32 unknown1,
- [in] uint32 unknown2,
- [out] EnumValueOut *value_out,
- [in,out] uint32 *value_len1,
- [in,out] uint32 *value_len2
+ [in,out,size_is(*size),length_is(*length)] uint8 *data,
+ [in,out] uint32 *size,
+ [in,out] uint32 *length
);
/******************/
@@ -262,19 +259,14 @@
[in] sec_desc_buf *sec_desc
);
- typedef struct {
- uint32 max_len;
- [length_is(buf_max_len)] uint8 *buffer;
- uint32 len;
- } winreg_Value;
-
/******************/
/* Function: 0x16 */
WERROR winreg_SetValue(
- [in,ref] policy_handle *handle,
- [in] winreg_String name,
- [in] uint32 type,
- [in] winreg_Value value
+ [in,ref] policy_handle *handle,
+ [in] winreg_String name,
+ [in] uint32 type,
+ [in,size_is(size)] uint8 *data,
+ [in] uint32 size
);
/******************/