summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGünther Deschner <gd@samba.org>2009-02-13 16:56:14 +0100
committerGünther Deschner <gd@samba.org>2009-02-14 01:21:20 +0100
commit6222c177bfa05f85a8d9905dfc2a468d5c037f58 (patch)
tree2a6022ce2b506a50747e5b6c2a77feb67444fa6b
parent640248d2d3b5e38b249ff65cf6ec5d44c60a4949 (diff)
downloadsamba-6222c177bfa05f85a8d9905dfc2a468d5c037f58.tar.gz
samba-6222c177bfa05f85a8d9905dfc2a468d5c037f58.tar.bz2
samba-6222c177bfa05f85a8d9905dfc2a468d5c037f58.zip
spoolss: fix spoolss_AddPrinterEx IDL.
Guenther
-rw-r--r--librpc/idl/spoolss.idl15
1 files changed, 9 insertions, 6 deletions
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
);