diff options
author | Günther Deschner <gd@samba.org> | 2009-02-18 18:10:31 +0100 |
---|---|---|
committer | Günther Deschner <gd@samba.org> | 2009-02-18 20:19:05 +0100 |
commit | 2cf42901165cafca1127154922b68c91c33d0d81 (patch) | |
tree | be544b2135dece5b9ed43af47063546999dad8fd /librpc | |
parent | 890226c11271375eaa4b5938c6d1ada16f2db6c0 (diff) | |
download | samba-2cf42901165cafca1127154922b68c91c33d0d81.tar.gz samba-2cf42901165cafca1127154922b68c91c33d0d81.tar.bz2 samba-2cf42901165cafca1127154922b68c91c33d0d81.zip |
spoolss: fix idl for spoolss_AddPrinterDriver and spoolss_AddPrinterDriverEx.
Guenther
Diffstat (limited to 'librpc')
-rw-r--r-- | librpc/idl/spoolss.idl | 15 |
1 files changed, 9 insertions, 6 deletions
diff --git a/librpc/idl/spoolss.idl b/librpc/idl/spoolss.idl index 14cf417044..56796a1409 100644 --- a/librpc/idl/spoolss.idl +++ b/librpc/idl/spoolss.idl @@ -749,10 +749,14 @@ import "misc.idl", "security.idl", "winreg.idl"; [case(8)] spoolss_AddDriverInfo8 *info8; } spoolss_AddDriverInfo; + typedef struct { + uint32 level; + [switch_is(level)] spoolss_AddDriverInfo info; + } spoolss_AddDriverInfoCtr; + WERROR spoolss_AddPrinterDriver( - [in] [string,charset(UTF16)] uint16 *servername, - [in] uint32 level, - [in,switch_is(level)] spoolss_AddDriverInfo info + [in,unique] [string,charset(UTF16)] uint16 *servername, + [in,ref] spoolss_AddDriverInfoCtr *info_ctr ); typedef struct { @@ -2026,9 +2030,8 @@ import "misc.idl", "security.idl", "winreg.idl"; } spoolss_AddPrinterDriverExFlags; [public] WERROR spoolss_AddPrinterDriverEx( - [in] [string,charset(UTF16)] uint16 *servername, - [in] uint32 level, - [in,switch_is(level)] spoolss_AddDriverInfo info, + [in,unique] [string,charset(UTF16)] uint16 *servername, + [in,ref] spoolss_AddDriverInfoCtr *info_ctr, [in] spoolss_AddPrinterDriverExFlags flags ); |