summaryrefslogtreecommitdiff
path: root/source4/librpc
diff options
context:
space:
mode:
Diffstat (limited to 'source4/librpc')
-rw-r--r--source4/librpc/idl/winreg.idl24
1 files changed, 19 insertions, 5 deletions
diff --git a/source4/librpc/idl/winreg.idl b/source4/librpc/idl/winreg.idl
index adc8f7aee1..c06e94b34c 100644
--- a/source4/librpc/idl/winreg.idl
+++ b/source4/librpc/idl/winreg.idl
@@ -127,23 +127,37 @@
typedef struct {
uint32 max_len;
uint32 offset;
+ uint32 len;
+ } EnumValueIn;
+
+ typedef struct {
+ uint16 len;
+ uint16 max_len;
+ EnumValueIn *buffer;
+ } EnumValueNameIn;
+
+ typedef struct {
+ uint32 max_len;
+ uint32 offset;
DATA_BLOB buffer;
- } EnumValue;
+ } EnumValueOut;
typedef struct {
uint16 len;
uint16 max_len;
- EnumValue *buffer;
- } EnumValueName;
+ unistr *name;
+ } EnumValueNameOut;
/******************/
/* Function: 0x0a */
WERROR winreg_EnumValue(
[in,ref] policy_handle *handle,
[in] uint32 enum_index,
- [in,out] EnumValueName name,
+ [in] EnumValueNameIn name_in,
+ [out] EnumValueNameOut name_out,
[in,out] uint32 *type,
- [in,out] EnumValue *value,
+ [in] EnumValueIn *value_in,
+ [out] EnumValueOut *value_out,
[in,out] uint32 *value_len1,
[in,out] uint32 *value_len2
);