diff options
author | Günther Deschner <gd@samba.org> | 2009-02-12 17:26:17 +0100 |
---|---|---|
committer | Günther Deschner <gd@samba.org> | 2009-02-12 18:02:59 +0100 |
commit | 8fa71b1a0858b5098b99478a869b3ffc9c41eccf (patch) | |
tree | 79d74323c5e68fb9bba02087914eb7e0424f4683 /librpc | |
parent | 135135e3a0a84d19d1bc6df1cc3c5813d1a244ec (diff) | |
download | samba-8fa71b1a0858b5098b99478a869b3ffc9c41eccf.tar.gz samba-8fa71b1a0858b5098b99478a869b3ffc9c41eccf.tar.bz2 samba-8fa71b1a0858b5098b99478a869b3ffc9c41eccf.zip |
spoolss: add spoolss_NotifyTable enum.
Guenther
Diffstat (limited to 'librpc')
-rw-r--r-- | librpc/idl/spoolss.idl | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/librpc/idl/spoolss.idl b/librpc/idl/spoolss.idl index 79df1a15a4..5710dd988c 100644 --- a/librpc/idl/spoolss.idl +++ b/librpc/idl/spoolss.idl @@ -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; |