summaryrefslogtreecommitdiff
path: root/librpc/idl
diff options
context:
space:
mode:
authorGünther Deschner <gd@samba.org>2013-01-18 22:22:13 +0100
committerAndreas Schneider <asn@samba.org>2013-01-24 17:42:25 +0100
commit11fba102082239c5d70b6314b19dab72b49478ed (patch)
tree7c3511c0ed56d0b76347867db071223957eb491d /librpc/idl
parent6bcd3dda2825a8791e7284b3229aa518416e8544 (diff)
downloadsamba-11fba102082239c5d70b6314b19dab72b49478ed.tar.gz
samba-11fba102082239c5d70b6314b19dab72b49478ed.tar.bz2
samba-11fba102082239c5d70b6314b19dab72b49478ed.zip
spoolss: make spoolss deal with ndr64 StartDocPrinter by using proper container object.
Guenther Signed-off-by: Günther Deschner <gd@samba.org> Reviewed-by: Andreas Schneider <asn@samba.org>
Diffstat (limited to 'librpc/idl')
-rw-r--r--librpc/idl/spoolss.idl8
1 files changed, 6 insertions, 2 deletions
diff --git a/librpc/idl/spoolss.idl b/librpc/idl/spoolss.idl
index ba67188148..69d9f8e792 100644
--- a/librpc/idl/spoolss.idl
+++ b/librpc/idl/spoolss.idl
@@ -1753,10 +1753,14 @@ cpp_quote("#define spoolss_security_descriptor security_descriptor")
[default];
} spoolss_DocumentInfo;
+ typedef struct {
+ uint32 level;
+ [switch_is(level)] spoolss_DocumentInfo info;
+ } spoolss_DocumentInfoCtr;
+
WERROR spoolss_StartDocPrinter(
[in,ref] policy_handle *handle,
- [in] uint32 level,
- [in,switch_is(level)] spoolss_DocumentInfo info,
+ [in,ref] spoolss_DocumentInfoCtr *info_ctr,
[out,ref] uint32 *job_id
);