diff options
author | Günther Deschner <gd@samba.org> | 2013-01-18 22:22:13 +0100 |
---|---|---|
committer | Andreas Schneider <asn@samba.org> | 2013-01-24 17:42:25 +0100 |
commit | 11fba102082239c5d70b6314b19dab72b49478ed (patch) | |
tree | 7c3511c0ed56d0b76347867db071223957eb491d /librpc | |
parent | 6bcd3dda2825a8791e7284b3229aa518416e8544 (diff) | |
download | samba-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')
-rw-r--r-- | librpc/idl/spoolss.idl | 8 |
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 ); |