diff options
author | Günther Deschner <gd@samba.org> | 2009-07-03 18:39:38 +0200 |
---|---|---|
committer | Günther Deschner <gd@samba.org> | 2009-07-03 22:05:37 +0200 |
commit | cb39ba3d40841097c513358e7bac361aa7e38a9c (patch) | |
tree | 8b0e5831c74a60930e12f86dd50cfc81e260293a /librpc/gen_ndr/cli_spoolss.c | |
parent | c5415e7e09d40518e20fe12f6f9ad88e4da8369e (diff) | |
download | samba-cb39ba3d40841097c513358e7bac361aa7e38a9c.tar.gz samba-cb39ba3d40841097c513358e7bac361aa7e38a9c.tar.bz2 samba-cb39ba3d40841097c513358e7bac361aa7e38a9c.zip |
spoolss: fill in spoolss_GetPrinterDriver IDL.
Guenther
Diffstat (limited to 'librpc/gen_ndr/cli_spoolss.c')
-rw-r--r-- | librpc/gen_ndr/cli_spoolss.c | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/librpc/gen_ndr/cli_spoolss.c b/librpc/gen_ndr/cli_spoolss.c index a89c4bb422..66083e6856 100644 --- a/librpc/gen_ndr/cli_spoolss.c +++ b/librpc/gen_ndr/cli_spoolss.c @@ -583,12 +583,24 @@ NTSTATUS rpccli_spoolss_EnumPrinterDrivers(struct rpc_pipe_client *cli, NTSTATUS rpccli_spoolss_GetPrinterDriver(struct rpc_pipe_client *cli, TALLOC_CTX *mem_ctx, + struct policy_handle *handle /* [in] [ref] */, + const char *architecture /* [in] [unique,charset(UTF16)] */, + uint32_t level /* [in] */, + DATA_BLOB *buffer /* [in] [unique] */, + uint32_t offered /* [in] */, + union spoolss_DriverInfo *info /* [out] [unique,subcontext_size(offered),subcontext(4),switch_is(level)] */, + uint32_t *needed /* [out] [ref] */, WERROR *werror) { struct spoolss_GetPrinterDriver r; NTSTATUS status; /* In parameters */ + r.in.handle = handle; + r.in.architecture = architecture; + r.in.level = level; + r.in.buffer = buffer; + r.in.offered = offered; if (DEBUGLEVEL >= 10) { NDR_PRINT_IN_DEBUG(spoolss_GetPrinterDriver, &r); @@ -613,6 +625,10 @@ NTSTATUS rpccli_spoolss_GetPrinterDriver(struct rpc_pipe_client *cli, } /* Return variables */ + if (info && r.out.info) { + *info = *r.out.info; + } + *needed = *r.out.needed; /* Return result */ if (werror) { |