summaryrefslogtreecommitdiff
path: root/source4/librpc/idl/winreg.idl
diff options
context:
space:
mode:
authorTim Potter <tpot@samba.org>2004-10-02 11:58:35 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 12:59:32 -0500
commita1cee786f053ec2ca8ee5bfa06211ea1824d4405 (patch)
tree9f7648b5b56a400895e9d46dd88c9b557f5a6602 /source4/librpc/idl/winreg.idl
parent710ad9613b909332b13620aa8022e8870170418d (diff)
downloadsamba-a1cee786f053ec2ca8ee5bfa06211ea1824d4405.tar.gz
samba-a1cee786f053ec2ca8ee5bfa06211ea1824d4405.tar.bz2
samba-a1cee786f053ec2ca8ee5bfa06211ea1824d4405.zip
r2782: Reformat IDL for winreg_EnumValue()
(This used to be commit 9250f745adc22b3f179cf363a9a9a5fba1ec6fc9)
Diffstat (limited to 'source4/librpc/idl/winreg.idl')
-rw-r--r--source4/librpc/idl/winreg.idl50
1 files changed, 14 insertions, 36 deletions
diff --git a/source4/librpc/idl/winreg.idl b/source4/librpc/idl/winreg.idl
index d1b5fc5459..adc8f7aee1 100644
--- a/source4/librpc/idl/winreg.idl
+++ b/source4/librpc/idl/winreg.idl
@@ -124,50 +124,28 @@
[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;
- unistr *buf;
- } winreg_EnumValueName;
-
- typedef struct {
- uint32 max_len;
- uint32 offset;
- uint32 len;
- uint8 buffer[len];
- } winreg_Uint8buf;
-
- typedef struct {
- uint32 max_len;
- uint32 offset;
- DATA_BLOB buffer;
- } foo2;
+ typedef struct {
+ uint32 max_len;
+ uint32 offset;
+ DATA_BLOB buffer;
+ } EnumValue;
- typedef struct {
- uint16 len;
- uint16 max_len;
- foo2 *buffer;
- } foo1;
+ typedef struct {
+ uint16 len;
+ uint16 max_len;
+ EnumValue *buffer;
+ } EnumValueName;
/******************/
/* Function: 0x0a */
WERROR winreg_EnumValue(
[in,ref] policy_handle *handle,
[in] uint32 enum_index,
- [in,out] foo1 foo,
- /* [out,ref] winreg_EnumValueName *name, */
+ [in,out] EnumValueName name,
[in,out] uint32 *type,
- [in,out] foo2 *foo2,
- /* [in,out] winreg_Uint8buf *value, */
- [in,out] uint32 *value1,
- [in,out] uint32 *value2
+ [in,out] EnumValue *value,
+ [in,out] uint32 *value_len1,
+ [in,out] uint32 *value_len2
);
/******************/