From 4fb1ccef4bf7e385e92d3724c1c8d7969ffcaa7c Mon Sep 17 00:00:00 2001 From: Günther Deschner Date: Wed, 11 Feb 2009 10:15:56 +0100 Subject: spoolss: fill in spoolss_AddPrinterDriverEx. This is metze's work from 2005 (!). Guenther --- librpc/gen_ndr/cli_spoolss.c | 14 ++++++++++++++ librpc/gen_ndr/cli_spoolss.h | 7 +++++++ 2 files changed, 21 insertions(+) (limited to 'librpc/gen_ndr') diff --git a/librpc/gen_ndr/cli_spoolss.c b/librpc/gen_ndr/cli_spoolss.c index 4906d239de..492f2c2a71 100644 --- a/librpc/gen_ndr/cli_spoolss.c +++ b/librpc/gen_ndr/cli_spoolss.c @@ -477,12 +477,18 @@ NTSTATUS rpccli_spoolss_GetPrinter(struct rpc_pipe_client *cli, NTSTATUS rpccli_spoolss_AddPrinterDriver(struct rpc_pipe_client *cli, TALLOC_CTX *mem_ctx, + const char *servername /* [in] [ref,charset(UTF16)] */, + uint32_t level /* [in] */, + union spoolss_AddDriverInfo info /* [in] [switch_is(level)] */, WERROR *werror) { struct spoolss_AddPrinterDriver r; NTSTATUS status; /* In parameters */ + r.in.servername = servername; + r.in.level = level; + r.in.info = info; if (DEBUGLEVEL >= 10) { NDR_PRINT_IN_DEBUG(spoolss_AddPrinterDriver, &r); @@ -4189,12 +4195,20 @@ NTSTATUS rpccli_spoolss_XcvData(struct rpc_pipe_client *cli, NTSTATUS rpccli_spoolss_AddPrinterDriverEx(struct rpc_pipe_client *cli, TALLOC_CTX *mem_ctx, + const char *servername /* [in] [ref,charset(UTF16)] */, + uint32_t level /* [in] */, + union spoolss_AddDriverInfo info /* [in] [switch_is(level)] */, + uint32_t flags /* [in] */, WERROR *werror) { struct spoolss_AddPrinterDriverEx r; NTSTATUS status; /* In parameters */ + r.in.servername = servername; + r.in.level = level; + r.in.info = info; + r.in.flags = flags; if (DEBUGLEVEL >= 10) { NDR_PRINT_IN_DEBUG(spoolss_AddPrinterDriverEx, &r); diff --git a/librpc/gen_ndr/cli_spoolss.h b/librpc/gen_ndr/cli_spoolss.h index 9eb43d61a5..25000a4cc4 100644 --- a/librpc/gen_ndr/cli_spoolss.h +++ b/librpc/gen_ndr/cli_spoolss.h @@ -76,6 +76,9 @@ NTSTATUS rpccli_spoolss_GetPrinter(struct rpc_pipe_client *cli, WERROR *werror); NTSTATUS rpccli_spoolss_AddPrinterDriver(struct rpc_pipe_client *cli, TALLOC_CTX *mem_ctx, + const char *servername /* [in] [ref,charset(UTF16)] */, + uint32_t level /* [in] */, + union spoolss_AddDriverInfo info /* [in] [switch_is(level)] */, WERROR *werror); NTSTATUS rpccli_spoolss_EnumPrinterDrivers(struct rpc_pipe_client *cli, TALLOC_CTX *mem_ctx, @@ -521,6 +524,10 @@ NTSTATUS rpccli_spoolss_XcvData(struct rpc_pipe_client *cli, WERROR *werror); NTSTATUS rpccli_spoolss_AddPrinterDriverEx(struct rpc_pipe_client *cli, TALLOC_CTX *mem_ctx, + const char *servername /* [in] [ref,charset(UTF16)] */, + uint32_t level /* [in] */, + union spoolss_AddDriverInfo info /* [in] [switch_is(level)] */, + uint32_t flags /* [in] */, WERROR *werror); NTSTATUS rpccli_spoolss_5a(struct rpc_pipe_client *cli, TALLOC_CTX *mem_ctx, -- cgit