summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGünther Deschner <gd@samba.org>2009-03-16 21:09:36 +0100
committerGünther Deschner <gd@samba.org>2009-03-17 22:11:17 +0100
commitb12c3178efd3e640fc5de6418d2fb0074dd84d4e (patch)
tree875cea75f49ff78822e014ce1f7cf81118c224af
parentc6b570ce30b5cc3631c0ed780826d5450f681800 (diff)
downloadsamba-b12c3178efd3e640fc5de6418d2fb0074dd84d4e.tar.gz
samba-b12c3178efd3e640fc5de6418d2fb0074dd84d4e.tar.bz2
samba-b12c3178efd3e640fc5de6418d2fb0074dd84d4e.zip
spoolss: add spoolss_PrinterEnumValues.
Guenther
-rw-r--r--librpc/idl/spoolss.idl9
1 files changed, 9 insertions, 0 deletions
diff --git a/librpc/idl/spoolss.idl b/librpc/idl/spoolss.idl
index 8010374c2a..fc87814fc0 100644
--- a/librpc/idl/spoolss.idl
+++ b/librpc/idl/spoolss.idl
@@ -2218,6 +2218,15 @@ import "misc.idl", "security.idl", "winreg.idl";
/******************/
/* Function: 0x4f */
+
+ typedef [relative_base,public,gensize] struct {
+ [relative] nstring *value_name;
+ [value(2*strlen_m_term(value_name))] uint32 value_name_len;
+ winreg_Type type;
+ [relative,switch_is(type),subcontext(0),subcontext_size(data_length)] spoolss_PrinterData *data;
+ [value(ndr_size_spoolss_PrinterData(data, type, ndr->iconv_convenience, ndr->flags))] uint32 data_length;
+ } spoolss_PrinterEnumValues;
+
[public] WERROR spoolss_EnumPrinterDataEx(
[in,ref] policy_handle *handle,
[in] [string,charset(UTF16)] uint16 key_name[],