From 6fba6f5ca31d445661673fa656ef8eb3b481c371 Mon Sep 17 00:00:00 2001
From: Tim Potter <tpot@samba.org>
Date: Fri, 12 Dec 2003 06:29:21 +0000
Subject: Got winreg_EnumValue working - what a mess! (This used to be commit
 cc494086e796c0090a92ac36012727c67e3587d1)

---
 source4/librpc/idl/winreg.idl | 28 ++++++++++++++++++++++++----
 1 file changed, 24 insertions(+), 4 deletions(-)

(limited to 'source4/librpc')

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
 	);
 
 	/******************/
-- 
cgit