From d18e531e9789e246eac7e30fe91ad9f6b6a4853a Mon Sep 17 00:00:00 2001 From: Günther Deschner Date: Mon, 10 Mar 2008 17:35:07 +0100 Subject: Fix IDL for srvsvc_NetConnEnum. Guenther (This used to be commit 03a3b8b0ed504d392b7503dfe988c22c4943ace6) --- source3/librpc/idl/srvsvc.idl | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) (limited to 'source3/librpc/idl') diff --git a/source3/librpc/idl/srvsvc.idl b/source3/librpc/idl/srvsvc.idl index d1ff0c54d8..98a33e2e0d 100644 --- a/source3/librpc/idl/srvsvc.idl +++ b/source3/librpc/idl/srvsvc.idl @@ -197,13 +197,17 @@ import "security.idl", "svcctl.idl"; [default] ; } srvsvc_NetConnCtr; + typedef struct { + uint32 level; + [switch_is(level)] srvsvc_NetConnCtr ctr; + } srvsvc_NetConnInfoCtr; + /******************/ /* Function: 0x08 */ WERROR srvsvc_NetConnEnum( [in,unique] [string,charset(UTF16)] uint16 *server_unc, [in,unique] [string,charset(UTF16)] uint16 *path, - [in,out,ref] uint32 *level, - [in,out,switch_is(*level),ref] srvsvc_NetConnCtr *ctr, + [in,out,ref] srvsvc_NetConnInfoCtr *info_ctr, [in] uint32 max_buffer, [out,ref] uint32 *totalentries, [in,out,unique] uint32 *resume_handle -- cgit