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>
Mon, 14 Dec 2009 09:52:49 +0000 (10:52 +0100)
Guenther
(cherry picked from commit cf2561473f7bd0bcef5c562c1e901d4ad17e6ee3)

librpc/idl/spoolss.idl

index 2e47eb69352229fcb5d36184a7cc83794b6528f7..ae6aaeb3def7fd6b32144a48b6bd0bc8ecbed86a 100644 (file)
@@ -2302,6 +2302,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(