From 6098faca038d1127f29ec121e03fea32446bf053 Mon Sep 17 00:00:00 2001 From: Tim Potter Date: Sun, 16 Nov 2003 04:19:12 +0000 Subject: Added IDL for EnumPrinters and ClosePrinter. (This used to be commit 5eba47a4a3c01d362d446d1db3c17dcb802c97b0) --- source4/librpc/idl/spoolss.idl | 24 ++++++++++++++++-------- 1 file changed, 16 insertions(+), 8 deletions(-) diff --git a/source4/librpc/idl/spoolss.idl b/source4/librpc/idl/spoolss.idl index 0c7b2ae548..dbb324d396 100644 --- a/source4/librpc/idl/spoolss.idl +++ b/source4/librpc/idl/spoolss.idl @@ -9,7 +9,14 @@ { /******************/ /* Function: 0x00 */ - NTSTATUS spoolss_00( + NTSTATUS spoolss_EnumPrinters( + [in] uint32 flags, + [in] unistr *server, + [in] uint32 level, + [in,out] uint8_buf *buffer, + [in] uint32 offered, + [out] uint32 needed, + [out] uint32 returned ); /******************/ @@ -154,7 +161,8 @@ /******************/ /* Function: 0x1d */ - NTSTATUS spoolss_1d( + NTSTATUS spoolss_ClosePrinter( + [in,out,ref] policy_handle *handle ); /******************/ @@ -378,13 +386,13 @@ /******************/ /* Function: 0x45 */ NTSTATUS spoolss_OpenPrinterEx( - [in] unistr *printername, - [in] unistr *datatype, - [in] spoolss_DevmodeContainer devmode_ctr, - [in] uint32 access_required, - [in] uint32 level, + [in] unistr *printername, + [in] unistr *datatype, + [in] spoolss_DevmodeContainer devmode_ctr, + [in] uint32 access_required, + [in] uint32 level, [in,switch_is(level)] spoolss_UserLevel userlevel, - [out,ref] policy_handle *handle + [out,ref] policy_handle *handle ); /******************/ -- cgit