spoolss: use spoolss_KeyNames in spoolss_EnumPrinterKey.
authorGünther Deschner <gd@samba.org>
Thu, 10 Dec 2009 13:19:28 +0000 (14:19 +0100)
committerKarolin Seeger <kseeger@samba.org>
Mon, 14 Dec 2009 09:52:49 +0000 (10:52 +0100)
Guenther
(cherry picked from commit 0ecb7f6ab28d7b7c1844554289f5ae8e876b1dcf)

librpc/idl/spoolss.idl

index ae6aaeb3def7fd6b32144a48b6bd0bc8ecbed86a..f2abc2254a6892f437a997769f0dd0465c1dd998 100644 (file)
@@ -2313,7 +2313,8 @@ import "misc.idl", "security.idl", "winreg.idl";
        [public] WERROR spoolss_EnumPrinterKey(
                [in, ref] policy_handle *handle,
                [in] [string,charset(UTF16)] uint16 key_name[],
-               [out,ref] spoolss_StringArray2 *key_buffer,
+               [out,ref] uint32 *_ndr_size,
+               [out,ref,subcontext(0),subcontext_size(*_ndr_size*2),switch_is(*_ndr_size)] spoolss_KeyNames *key_buffer,
                [in] uint32 offered,
                [out,ref] uint32 *needed
        );