From 8fa71b1a0858b5098b99478a869b3ffc9c41eccf Mon Sep 17 00:00:00 2001 From: Günther Deschner Date: Thu, 12 Feb 2009 17:26:17 +0100 Subject: spoolss: add spoolss_NotifyTable enum. Guenther --- librpc/idl/spoolss.idl | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) (limited to 'librpc/idl/spoolss.idl') 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; -- cgit