From 6222c177bfa05f85a8d9905dfc2a468d5c037f58 Mon Sep 17 00:00:00 2001 From: Günther Deschner Date: Fri, 13 Feb 2009 16:56:14 +0100 Subject: spoolss: fix spoolss_AddPrinterEx IDL. Guenther --- librpc/idl/spoolss.idl | 15 +++++++++------ 1 file changed, 9 insertions(+), 6 deletions(-) (limited to 'librpc/idl') diff --git a/librpc/idl/spoolss.idl b/librpc/idl/spoolss.idl index 745037edb8..3669837491 100644 --- a/librpc/idl/spoolss.idl +++ b/librpc/idl/spoolss.idl @@ -1653,6 +1653,11 @@ import "misc.idl", "security.idl", "winreg.idl"; [case(1)] spoolss_UserLevel1 *level1; } spoolss_UserLevel; + typedef struct { + uint32 level; + [switch_is(level)] spoolss_UserLevel user_info; + } spoolss_UserLevelCtr; + typedef bitmap { SERVER_ACCESS_ADMINISTER = 0x00000001, SERVER_ACCESS_ENUMERATE = 0x00000002, @@ -1730,12 +1735,10 @@ import "misc.idl", "security.idl", "winreg.idl"; /* Function: 0x46 */ WERROR spoolss_AddPrinterEx( [in,unique] [string,charset(UTF16)] uint16 *server, - [in] uint32 level, - [in,unique,switch_is(level)] spoolss_PrinterInfo *info, - [in] spoolss_DevmodeContainer devmode_ctr, - [in,unique] security_descriptor *secdesc, - [in] uint32 ulevel, - [in,switch_is(ulevel)] spoolss_UserLevel userlevel, + [in,ref] spoolss_SetPrinterInfoCtr *info_ctr, + [in,ref] spoolss_DevmodeContainer *devmode_ctr, + [in,ref] sec_desc_buf *secdesc_ctr, + [in,ref] spoolss_UserLevelCtr *userlevel_ctr, [out,ref] policy_handle *handle ); -- cgit