diff options
Diffstat (limited to 'source4/librpc/idl/spoolss.idl')
-rw-r--r-- | source4/librpc/idl/spoolss.idl | 43 |
1 files changed, 38 insertions, 5 deletions
diff --git a/source4/librpc/idl/spoolss.idl b/source4/librpc/idl/spoolss.idl index 2da15652e5..515ac0fd51 100644 --- a/source4/librpc/idl/spoolss.idl +++ b/source4/librpc/idl/spoolss.idl @@ -53,7 +53,7 @@ [relative] nstring name; [relative] nstring description; [relative] nstring comment; - } spoolss_PrinterEnum1; + } spoolss_PrinterInfo1; typedef struct { [relative] nstring servername; @@ -77,14 +77,47 @@ uint32 status; uint32 cjobs; uint32 averageppm; - } spoolss_PrinterEnum2; + } spoolss_PrinterInfo2; + + typedef struct { + uint32 flags; + [relative] security_descriptor *secdesc; + } spoolss_PrinterInfo3; + + typedef struct { + [relative] nstring printername; + [relative] nstring servername; + uint32 attributes; + } spoolss_PrinterInfo4; + + typedef struct { + [relative] nstring printername; + [relative] nstring portname; + uint32 attributes; + uint32 device_not_selected_timeout; + uint32 transmission_retry_timeout; + } spoolss_PrinterInfo5; + + typedef struct { + uint32 foo; + } spoolss_PrinterInfo6; + + typedef struct { + [relative] nstring guid; /* text form of printer guid */ + uint32 action; + } spoolss_PrinterInfo7; typedef [nodiscriminant,public] union { - case(1) spoolss_PrinterEnum1 info1; - case(2) spoolss_PrinterEnum2 info2; + case(1) spoolss_PrinterInfo1 info1; + case(2) spoolss_PrinterInfo2 info2; + case(3) spoolss_PrinterInfo3 info3; + case(4) spoolss_PrinterInfo4 info4; + case(5) spoolss_PrinterInfo5 info5; + case(6) spoolss_PrinterInfo6 info6; + case(7) spoolss_PrinterInfo7 info7; } spoolss_PrinterEnum; - NTSTATUS spoolss_EnumPrinters( + WERROR spoolss_EnumPrinters( [in] uint32 flags, [in] unistr *server, [in] uint32 level, |