summaryrefslogtreecommitdiff
path: root/librpc
diff options
context:
space:
mode:
authorGünther Deschner <gd@samba.org>2009-02-11 22:07:26 +0100
committerGünther Deschner <gd@samba.org>2009-02-12 00:55:12 +0100
commit3f9a11993592f989766514da5d2622a62319398a (patch)
tree627c025c90d9134669065db5a88cd60cc0668f6f /librpc
parent69b1550f7f898668efd365548bd04503eb175d80 (diff)
downloadsamba-3f9a11993592f989766514da5d2622a62319398a.tar.gz
samba-3f9a11993592f989766514da5d2622a62319398a.tar.bz2
samba-3f9a11993592f989766514da5d2622a62319398a.zip
spoolss: fill in spoolss_RouterReplyPrinterEx.
Guenther
Diffstat (limited to 'librpc')
-rw-r--r--librpc/idl/spoolss.idl21
1 files changed, 19 insertions, 2 deletions
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(