From d1feb4c6d56b37d045a329fab98857fb36bd42c1 Mon Sep 17 00:00:00 2001 From: Andrew Tridgell Date: Mon, 17 Nov 2003 04:56:59 +0000 Subject: call OpenPrinterEx on each printer on the server, and then call GetPrinter with all info levels on each printer (This used to be commit 136b3cfc0460315e924c3d9c8328c1850fc21fba) --- source4/librpc/idl/spoolss.idl | 20 +++++++++----------- 1 file changed, 9 insertions(+), 11 deletions(-) (limited to 'source4/librpc/idl/spoolss.idl') diff --git a/source4/librpc/idl/spoolss.idl b/source4/librpc/idl/spoolss.idl index be6f9a8f51..7abf3effde 100644 --- a/source4/librpc/idl/spoolss.idl +++ b/source4/librpc/idl/spoolss.idl @@ -115,7 +115,7 @@ case(5) spoolss_PrinterInfo5 info5; case(6) spoolss_PrinterInfo6 info6; case(7) spoolss_PrinterInfo7 info7; - } spoolss_PrinterEnum; + } spoolss_PrinterInfo; WERROR spoolss_EnumPrinters( [in] uint32 flags, @@ -176,13 +176,11 @@ /******************/ /* Function: 0x08 */ - NTSTATUS spoolss_GetPrinter( - [in,ref] policy_handle *handle, - [in] uint32 level, - [in,out] uint8_buf *buffer, - [in] uint32 offered, - [out] uint32 needed, - [out] uint32 returned + WERROR spoolss_GetPrinter( + [in,ref] policy_handle *handle, + [in] uint32 level, + [in,out] DATA_BLOB *buffer, + [in,out,ref] uint32 *buf_size ); /******************/ @@ -289,8 +287,8 @@ /******************/ /* Function: 0x1d */ - NTSTATUS spoolss_ClosePrinter( - [in,out,ref] policy_handle *handle + WERROR spoolss_ClosePrinter( + [in,out,ref] policy_handle *handle ); /******************/ @@ -513,7 +511,7 @@ /******************/ /* Function: 0x45 */ - NTSTATUS spoolss_OpenPrinterEx( + WERROR spoolss_OpenPrinterEx( [in] unistr *printername, [in] unistr *datatype, [in] spoolss_DevmodeContainer devmode_ctr, -- cgit