r5554: Constants and untested IDL for spoolss_SetPrinter()
authorTim Potter <tpot@samba.org>
Fri, 25 Feb 2005 06:26:11 +0000 (06:26 +0000)
committerGerald (Jerry) Carter <jerry@samba.org>
Wed, 10 Oct 2007 18:10:54 +0000 (13:10 -0500)
(This used to be commit eed816e20f9cfcfc7bc475f1007578dcd2fd8ae0)

source4/librpc/idl/spoolss.idl

index 7f52c6442e76da6cce72e25b1a36cff65ea87852..6278498f15bbe649b0578a197ef2158e924d5524 100644 (file)
        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
        );
 
        /******************/