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:29:43 +0100
commitc39351267d6db5142a38d3cede40c1237131e79f (patch)
treef04d87a14d925d2fb084b541be6df47e10e649b7 /librpc
parent2e9bd2ba8fa9ddf7324b1d9546c3112614b88f27 (diff)
downloadsamba-c39351267d6db5142a38d3cede40c1237131e79f.tar.gz
spoolss: add spoolss_EnumPrinterDataEx triple call.
Guenther (cherry picked from commit 19ea2a54865f953663e30b7561b47f0a18e79faf)
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 59d90ec0031..2406394416a 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 */