From 3f9a11993592f989766514da5d2622a62319398a Mon Sep 17 00:00:00 2001 From: Günther Deschner Date: Wed, 11 Feb 2009 22:07:26 +0100 Subject: spoolss: fill in spoolss_RouterReplyPrinterEx. Guenther --- librpc/idl/spoolss.idl | 21 +++++++++++++++++++-- 1 file changed, 19 insertions(+), 2 deletions(-) (limited to 'librpc/idl/spoolss.idl') diff --git a/librpc/idl/spoolss.idl b/librpc/idl/spoolss.idl index 0a7d46d757..3e1d6620f7 100644 --- a/librpc/idl/spoolss.idl +++ b/librpc/idl/spoolss.idl @@ -1442,8 +1442,6 @@ import "misc.idl", "security.idl", "winreg.idl"; /******************/ /* Function: 0x42 */ - [todo] WERROR spoolss_RouterReplyPrinterEx( - ); typedef struct { uint32 size; @@ -1487,6 +1485,25 @@ import "misc.idl", "security.idl", "winreg.idl"; [size_is(count)] spoolss_Notify notifies[]; } spoolss_NotifyInfo; + typedef [switch_type(uint32)] union { + [case(0)] spoolss_NotifyInfo *info0; + } spoolss_ReplyPrinterInfo; + + typedef [bitmap32bit] bitmap { + PRINTER_NOTIFY_INFO_DISCARDED = 0x00000001, + PRINTER_NOTIFY_INFO_DISCARDNOTED = 0x00010000, + PRINTER_NOTIFY_INFO_COLOR_MISMATCH = 0x00080000 + } spoolss_PrinterNotifyFlags; + + WERROR spoolss_RouterReplyPrinterEx( + [in,ref] policy_handle *handle, + [in] uint32 color, + [in] spoolss_PrinterChangeFlags flags, + [out,ref] spoolss_PrinterNotifyFlags *reply_result, + [in] uint32 reply_type, + [in,switch_is(reply_type)] spoolss_ReplyPrinterInfo info + ); + /******************/ /* Function: 0x43 */ [public] WERROR spoolss_RouterRefreshPrinterChangeNotify( -- cgit