spoolss: add spoolss_NotifyTable enum.
authorGünther Deschner <gd@samba.org>
Thu, 12 Feb 2009 16:26:17 +0000 (17:26 +0100)
committerGünther Deschner <gd@samba.org>
Thu, 12 Feb 2009 17:02:59 +0000 (18:02 +0100)
Guenther

librpc/idl/spoolss.idl

index 79df1a15a4887a92dfb2c324f96eb6770e40227a..5710dd988c8d5ccad7201dfc274ae7245b21c97b 100644 (file)
@@ -1481,6 +1481,14 @@ import "misc.idl", "security.idl", "winreg.idl";
                [size_is(size/2),unique,charset(UTF16)] uint16 *string;
        } spoolss_NotifyString;
 
+       typedef [v1_enum] enum {
+               NOTIFY_TABLE_DWORD              = 0x0001,
+               NOTIFY_TABLE_STRING             = 0x0002,
+               NOTIFY_TABLE_DEVMODE            = 0x0003,
+               NOTIFY_TABLE_TIME               = 0x0004,
+               NOTIFY_TABLE_SECURITYDESCRIPTOR = 0x0005
+       } spoolss_NotifyTable;
+
        typedef [switch_type(uint32)] union {
                [case(1)] uint32 integer[2];
                [case(2)] spoolss_NotifyString string;
@@ -1492,7 +1500,7 @@ import "misc.idl", "security.idl", "winreg.idl";
        typedef struct {
                spoolss_NotifyType type;
                spoolss_Field field;
-               uint32 variable_type;
+               spoolss_NotifyTable variable_type;
                uint32 job_id;
                [switch_is(variable_type)] spoolss_NotifyData data;
        } spoolss_Notify;