From 056d63c62f3793fda0d3049a2f98cef435c9003e Mon Sep 17 00:00:00 2001 From: Stefan Metzmacher Date: Tue, 14 Jun 2005 18:44:22 +0000 Subject: r7580: - add GetPrinterDriverDirectory() idl, torture test and server code - add EnumMonitors() server code and return "Standard TCP/IP Port" - add parsing for opening Ports and Monitors with OpenPrinterEx() metze (This used to be commit 08e6de37bc293e2f000d03b51642964d92d6e95e) --- source4/librpc/idl/spoolss.idl | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) (limited to 'source4/librpc/idl') diff --git a/source4/librpc/idl/spoolss.idl b/source4/librpc/idl/spoolss.idl index 93efe7805f..0321ad16cb 100644 --- a/source4/librpc/idl/spoolss.idl +++ b/source4/librpc/idl/spoolss.idl @@ -573,7 +573,26 @@ /******************/ /* Function: 0x0c */ + typedef struct { + nstring directory_name; + } spoolss_DriverDirectoryInfo1; + + /* NOTE: it's seems that w2k3 completly ignores the level + in its server code + */ + typedef [nodiscriminant,relative_base,gensize,public] union { + [case(1)] spoolss_DriverDirectoryInfo1 info1; + [default] spoolss_DriverDirectoryInfo1 info1; + } spoolss_DriverDirectoryInfo; + WERROR spoolss_GetPrinterDriverDirectory( + [in] unistr *server, + [in] unistr *environment, + [in] uint32 level, + [in] DATA_BLOB *buffer, + [in] uint32 offered, + [out,subcontext(4),switch_is(level)] spoolss_DriverDirectoryInfo *info, + [out] uint32 needed ); /******************/ -- cgit