summaryrefslogtreecommitdiff
path: root/librpc
diff options
context:
space:
mode:
authorGünther Deschner <gd@samba.org>2009-03-18 00:36:31 +0100
committerGünther Deschner <gd@samba.org>2009-03-18 01:19:26 +0100
commit19ea2a54865f953663e30b7561b47f0a18e79faf (patch)
tree1d7421690f8ea6b3a3b645801e3f71670b924b57 /librpc
parent2dae07a3ca62670d384937df2e4e9d6f54c99619 (diff)
downloadsamba-19ea2a54865f953663e30b7561b47f0a18e79faf.tar.gz
samba-19ea2a54865f953663e30b7561b47f0a18e79faf.tar.bz2
samba-19ea2a54865f953663e30b7561b47f0a18e79faf.zip
spoolss: add spoolss_EnumPrinterDataEx triple call.
Guenther
Diffstat (limited to 'librpc')
-rw-r--r--librpc/idl/spoolss.idl18
1 files changed, 15 insertions, 3 deletions
diff --git a/librpc/idl/spoolss.idl b/librpc/idl/spoolss.idl
index 59d90ec003..2406394416 100644
--- a/librpc/idl/spoolss.idl
+++ b/librpc/idl/spoolss.idl
@@ -2227,14 +2227,26 @@ import "misc.idl", "security.idl", "winreg.idl";
[value(ndr_size_spoolss_PrinterData(data, type, ndr->iconv_convenience, ndr->flags))] uint32 data_length;
} spoolss_PrinterEnumValues;
- [public] WERROR spoolss_EnumPrinterDataEx(
+ [public,noopnum,noprint] WERROR _spoolss_EnumPrinterDataEx(
[in,ref] policy_handle *handle,
[in] [string,charset(UTF16)] uint16 key_name[],
- [out,ref] [size_is(offered)] uint8 *buffer,
- [in] uint32 offered,
+ [out] DATA_BLOB info,
+ [in] uint32 offered,
[out,ref] uint32 *needed,
[out,ref] uint32 *count
);
+ [public,noopnum,noprint] void __spoolss_EnumPrinterDataEx(
+ [in] uint32 count,
+ [out] spoolss_PrinterEnumValues info[count]
+ );
+ [nopull,nopush] WERROR spoolss_EnumPrinterDataEx(
+ [in,ref] policy_handle *handle,
+ [in] [string,charset(UTF16)] uint16 key_name[],
+ [in] uint32 offered,
+ [out,ref] uint32 *count,
+ [out,ref,size_is(,*count)] spoolss_PrinterEnumValues **info,
+ [out,ref] uint32 *needed
+ );
/******************/
/* Function: 0x50 */