spoolss: add spoolss_KeyNames union.
authorGünther Deschner <gd@samba.org>
Thu, 10 Dec 2009 13:18:46 +0000 (14:18 +0100)
committerKarolin Seeger <kseeger@samba.org>
Tue, 15 Dec 2009 07:16:46 +0000 (08:16 +0100)
Guenther
(cherry picked from commit cf2561473f7bd0bcef5c562c1e901d4ad17e6ee3)
(cherry picked from commit 0668b8bd9c37de6df1d2af05b04ea2da441c8b20)

librpc/idl/spoolss.idl

index 64b267618559b93f7142502bc6e844fe89a33c21..a909c17d7f03368de1097f309937336ef1456fb2 100644 (file)
@@ -2607,6 +2607,12 @@ import "misc.idl", "security.idl", "winreg.idl";
                [out,ref] uint32 *needed
        );
 
+       typedef [nodiscriminant] union {
+               [case(0)];
+               [case(1)];
+               [default] nstring_array string_array;
+       } spoolss_KeyNames;
+
        /******************/
        /* Function: 0x50 */
        [public] WERROR spoolss_EnumPrinterKey(