From 8304fe73f69ea7de57bd2d331038c4664553a9bd Mon Sep 17 00:00:00 2001 From: Günther Deschner Date: Wed, 16 Jan 2013 01:15:49 +0100 Subject: spoolss: make spoolss deal with ndr64 AddForm by using proper container object. MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Guenther Signed-off-by: Günther Deschner Reviewed-by: David Disseldorp --- librpc/idl/spoolss.idl | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) (limited to 'librpc') diff --git a/librpc/idl/spoolss.idl b/librpc/idl/spoolss.idl index 44eaee56ff..8e2564b758 100644 --- a/librpc/idl/spoolss.idl +++ b/librpc/idl/spoolss.idl @@ -2038,10 +2038,14 @@ cpp_quote("#define spoolss_security_descriptor security_descriptor") [case(2)] spoolss_AddFormInfo2 *info2; } spoolss_AddFormInfo; + typedef struct { + uint32 level; + [switch_is(level)] spoolss_AddFormInfo info; + } spoolss_AddFormInfoCtr; + WERROR spoolss_AddForm( [in,ref] policy_handle *handle, - [in] uint32 level, - [in,switch_is(level)] spoolss_AddFormInfo info + [in,ref] spoolss_AddFormInfoCtr *info_ctr ); /******************/ -- cgit