diff options
author | Stefan Metzmacher <metze@samba.org> | 2005-06-14 18:44:22 +0000 |
---|---|---|
committer | Gerald (Jerry) Carter <jerry@samba.org> | 2007-10-10 13:18:11 -0500 |
commit | 056d63c62f3793fda0d3049a2f98cef435c9003e (patch) | |
tree | e1eba1842051b0f84ab7c309e6822f840110a234 /source4/librpc/idl | |
parent | bc1f32b8ad644dbe8fb7b5405d4f11c0e06f4193 (diff) | |
download | samba-056d63c62f3793fda0d3049a2f98cef435c9003e.tar.gz samba-056d63c62f3793fda0d3049a2f98cef435c9003e.tar.bz2 samba-056d63c62f3793fda0d3049a2f98cef435c9003e.zip |
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)
Diffstat (limited to 'source4/librpc/idl')
-rw-r--r-- | source4/librpc/idl/spoolss.idl | 19 |
1 files changed, 19 insertions, 0 deletions
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 ); /******************/ |