spoolss: add spoolss_PrinterEnumValues.
authorGünther Deschner <gd@samba.org>
Mon, 16 Mar 2009 20:09:36 +0000 (21:09 +0100)
committerGünther Deschner <gd@samba.org>
Tue, 17 Mar 2009 21:11:17 +0000 (22:11 +0100)
Guenther

librpc/idl/spoolss.idl

index 8010374c2ad72622f4e27dd39df8189bdf9cc568..fc87814fc0cb39ba2d09bbf0c7e5a984d2d40239 100644 (file)
@@ -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[],