summaryrefslogtreecommitdiff
path: root/source4
diff options
context:
space:
mode:
authorTim Potter <tpot@samba.org>2005-02-25 06:26:11 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 13:10:54 -0500
commit23076eaa80b528ea19d244331d0e02025ebc9c2e (patch)
tree85d427bd071928728de321018a5d1a2eec8954db /source4
parent04d3e8046a6276ddf968728998c9a57054faff22 (diff)
downloadsamba-23076eaa80b528ea19d244331d0e02025ebc9c2e.tar.gz
samba-23076eaa80b528ea19d244331d0e02025ebc9c2e.tar.bz2
samba-23076eaa80b528ea19d244331d0e02025ebc9c2e.zip
r5554: Constants and untested IDL for spoolss_SetPrinter()
(This used to be commit eed816e20f9cfcfc7bc475f1007578dcd2fd8ae0)
Diffstat (limited to 'source4')
-rw-r--r--source4/librpc/idl/spoolss.idl14
1 files changed, 14 insertions, 0 deletions
diff --git a/source4/librpc/idl/spoolss.idl b/source4/librpc/idl/spoolss.idl
index 7f52c6442e..6278498f15 100644
--- a/source4/librpc/idl/spoolss.idl
+++ b/source4/librpc/idl/spoolss.idl
@@ -343,9 +343,23 @@
WERROR spoolss_DeletePrinter(
);
+ typedef [v1_enum] enum {
+ SPOOLSS_PRINTER_CONTROL_UNPAUSE = 0,
+ SPOOLSS_PRINTER_CONTROL_PAUSE = 1,
+ SPOOLSS_PRINTER_CONTROL_RESUME = 2,
+ SPOOLSS_PRINTER_CONTROL_PURGE = 3,
+ SPOOLSS_PRINTER_CONTROL_SET_STATUS = 4
+ } spoolss_PrinterControl;
+
/******************/
/* Function: 0x07 */
WERROR spoolss_SetPrinter(
+ [in,ref] policy_handle *handle,
+ [in] uint32 level,
+ [in,subcontext(4),switch_is(level)] spoolss_PrinterInfo *info,
+ [in] spoolss_DevmodeContainer devmode_ctr,
+ [in,relative,subcontext(0)] security_descriptor *secdesc,
+ [in] spoolss_PrinterControl command
);
/******************/