From 23076eaa80b528ea19d244331d0e02025ebc9c2e Mon Sep 17 00:00:00 2001 From: Tim Potter Date: Fri, 25 Feb 2005 06:26:11 +0000 Subject: r5554: Constants and untested IDL for spoolss_SetPrinter() (This used to be commit eed816e20f9cfcfc7bc475f1007578dcd2fd8ae0) --- source4/librpc/idl/spoolss.idl | 14 ++++++++++++++ 1 file changed, 14 insertions(+) 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 ); /******************/ -- cgit