diff options
Diffstat (limited to 'source4/librpc/rpc/rpc_spoolss.c')
-rw-r--r-- | source4/librpc/rpc/rpc_spoolss.c | 1348 |
1 files changed, 1348 insertions, 0 deletions
diff --git a/source4/librpc/rpc/rpc_spoolss.c b/source4/librpc/rpc/rpc_spoolss.c new file mode 100644 index 0000000000..d8ec769b61 --- /dev/null +++ b/source4/librpc/rpc/rpc_spoolss.c @@ -0,0 +1,1348 @@ +/* dcerpc client calls auto-generated by pidl */ + +#include "includes.h" + + +NTSTATUS dcerpc_spoolss_00(struct dcerpc_pipe *p, TALLOC_CTX *mem_ctx, struct spoolss_00 *r) +{ + NTSTATUS status; + status = dcerpc_ndr_request(p, DCERPC_SPOOLSS_00, mem_ctx, + (ndr_push_fn_t) ndr_push_spoolss_00, + (ndr_pull_fn_t) ndr_pull_spoolss_00, + r); + if (!NT_STATUS_IS_OK(status)) { + return status; + } + + return r->out.result; +} + +NTSTATUS dcerpc_spoolss_01(struct dcerpc_pipe *p, TALLOC_CTX *mem_ctx, struct spoolss_01 *r) +{ + NTSTATUS status; + status = dcerpc_ndr_request(p, DCERPC_SPOOLSS_01, mem_ctx, + (ndr_push_fn_t) ndr_push_spoolss_01, + (ndr_pull_fn_t) ndr_pull_spoolss_01, + r); + if (!NT_STATUS_IS_OK(status)) { + return status; + } + + return r->out.result; +} + +NTSTATUS dcerpc_spoolss_02(struct dcerpc_pipe *p, TALLOC_CTX *mem_ctx, struct spoolss_02 *r) +{ + NTSTATUS status; + status = dcerpc_ndr_request(p, DCERPC_SPOOLSS_02, mem_ctx, + (ndr_push_fn_t) ndr_push_spoolss_02, + (ndr_pull_fn_t) ndr_pull_spoolss_02, + r); + if (!NT_STATUS_IS_OK(status)) { + return status; + } + + return r->out.result; +} + +NTSTATUS dcerpc_spoolss_03(struct dcerpc_pipe *p, TALLOC_CTX *mem_ctx, struct spoolss_03 *r) +{ + NTSTATUS status; + status = dcerpc_ndr_request(p, DCERPC_SPOOLSS_03, mem_ctx, + (ndr_push_fn_t) ndr_push_spoolss_03, + (ndr_pull_fn_t) ndr_pull_spoolss_03, + r); + if (!NT_STATUS_IS_OK(status)) { + return status; + } + + return r->out.result; +} + +NTSTATUS dcerpc_spoolss_04(struct dcerpc_pipe *p, TALLOC_CTX *mem_ctx, struct spoolss_04 *r) +{ + NTSTATUS status; + status = dcerpc_ndr_request(p, DCERPC_SPOOLSS_04, mem_ctx, + (ndr_push_fn_t) ndr_push_spoolss_04, + (ndr_pull_fn_t) ndr_pull_spoolss_04, + r); + if (!NT_STATUS_IS_OK(status)) { + return status; + } + + return r->out.result; +} + +NTSTATUS dcerpc_spoolss_05(struct dcerpc_pipe *p, TALLOC_CTX *mem_ctx, struct spoolss_05 *r) +{ + NTSTATUS status; + status = dcerpc_ndr_request(p, DCERPC_SPOOLSS_05, mem_ctx, + (ndr_push_fn_t) ndr_push_spoolss_05, + (ndr_pull_fn_t) ndr_pull_spoolss_05, + r); + if (!NT_STATUS_IS_OK(status)) { + return status; + } + + return r->out.result; +} + +NTSTATUS dcerpc_spoolss_06(struct dcerpc_pipe *p, TALLOC_CTX *mem_ctx, struct spoolss_06 *r) +{ + NTSTATUS status; + status = dcerpc_ndr_request(p, DCERPC_SPOOLSS_06, mem_ctx, + (ndr_push_fn_t) ndr_push_spoolss_06, + (ndr_pull_fn_t) ndr_pull_spoolss_06, + r); + if (!NT_STATUS_IS_OK(status)) { + return status; + } + + return r->out.result; +} + +NTSTATUS dcerpc_spoolss_07(struct dcerpc_pipe *p, TALLOC_CTX *mem_ctx, struct spoolss_07 *r) +{ + NTSTATUS status; + status = dcerpc_ndr_request(p, DCERPC_SPOOLSS_07, mem_ctx, + (ndr_push_fn_t) ndr_push_spoolss_07, + (ndr_pull_fn_t) ndr_pull_spoolss_07, + r); + if (!NT_STATUS_IS_OK(status)) { + return status; + } + + return r->out.result; +} + +NTSTATUS dcerpc_spoolss_08(struct dcerpc_pipe *p, TALLOC_CTX *mem_ctx, struct spoolss_08 *r) +{ + NTSTATUS status; + status = dcerpc_ndr_request(p, DCERPC_SPOOLSS_08, mem_ctx, + (ndr_push_fn_t) ndr_push_spoolss_08, + (ndr_pull_fn_t) ndr_pull_spoolss_08, + r); + if (!NT_STATUS_IS_OK(status)) { + return status; + } + + return r->out.result; +} + +NTSTATUS dcerpc_spoolss_09(struct dcerpc_pipe *p, TALLOC_CTX *mem_ctx, struct spoolss_09 *r) +{ + NTSTATUS status; + status = dcerpc_ndr_request(p, DCERPC_SPOOLSS_09, mem_ctx, + (ndr_push_fn_t) ndr_push_spoolss_09, + (ndr_pull_fn_t) ndr_pull_spoolss_09, + r); + if (!NT_STATUS_IS_OK(status)) { + return status; + } + + return r->out.result; +} + +NTSTATUS dcerpc_spoolss_0a(struct dcerpc_pipe *p, TALLOC_CTX *mem_ctx, struct spoolss_0a *r) +{ + NTSTATUS status; + status = dcerpc_ndr_request(p, DCERPC_SPOOLSS_0A, mem_ctx, + (ndr_push_fn_t) ndr_push_spoolss_0a, + (ndr_pull_fn_t) ndr_pull_spoolss_0a, + r); + if (!NT_STATUS_IS_OK(status)) { + return status; + } + + return r->out.result; +} + +NTSTATUS dcerpc_spoolss_0b(struct dcerpc_pipe *p, TALLOC_CTX *mem_ctx, struct spoolss_0b *r) +{ + NTSTATUS status; + status = dcerpc_ndr_request(p, DCERPC_SPOOLSS_0B, mem_ctx, + (ndr_push_fn_t) ndr_push_spoolss_0b, + (ndr_pull_fn_t) ndr_pull_spoolss_0b, + r); + if (!NT_STATUS_IS_OK(status)) { + return status; + } + + return r->out.result; +} + +NTSTATUS dcerpc_spoolss_0c(struct dcerpc_pipe *p, TALLOC_CTX *mem_ctx, struct spoolss_0c *r) +{ + NTSTATUS status; + status = dcerpc_ndr_request(p, DCERPC_SPOOLSS_0C, mem_ctx, + (ndr_push_fn_t) ndr_push_spoolss_0c, + (ndr_pull_fn_t) ndr_pull_spoolss_0c, + r); + if (!NT_STATUS_IS_OK(status)) { + return status; + } + + return r->out.result; +} + +NTSTATUS dcerpc_spoolss_0d(struct dcerpc_pipe *p, TALLOC_CTX *mem_ctx, struct spoolss_0d *r) +{ + NTSTATUS status; + status = dcerpc_ndr_request(p, DCERPC_SPOOLSS_0D, mem_ctx, + (ndr_push_fn_t) ndr_push_spoolss_0d, + (ndr_pull_fn_t) ndr_pull_spoolss_0d, + r); + if (!NT_STATUS_IS_OK(status)) { + return status; + } + + return r->out.result; +} + +NTSTATUS dcerpc_spoolss_0e(struct dcerpc_pipe *p, TALLOC_CTX *mem_ctx, struct spoolss_0e *r) +{ + NTSTATUS status; + status = dcerpc_ndr_request(p, DCERPC_SPOOLSS_0E, mem_ctx, + (ndr_push_fn_t) ndr_push_spoolss_0e, + (ndr_pull_fn_t) ndr_pull_spoolss_0e, + r); + if (!NT_STATUS_IS_OK(status)) { + return status; + } + + return r->out.result; +} + +NTSTATUS dcerpc_spoolss_0f(struct dcerpc_pipe *p, TALLOC_CTX *mem_ctx, struct spoolss_0f *r) +{ + NTSTATUS status; + status = dcerpc_ndr_request(p, DCERPC_SPOOLSS_0F, mem_ctx, + (ndr_push_fn_t) ndr_push_spoolss_0f, + (ndr_pull_fn_t) ndr_pull_spoolss_0f, + r); + if (!NT_STATUS_IS_OK(status)) { + return status; + } + + return r->out.result; +} + +NTSTATUS dcerpc_spoolss_10(struct dcerpc_pipe *p, TALLOC_CTX *mem_ctx, struct spoolss_10 *r) +{ + NTSTATUS status; + status = dcerpc_ndr_request(p, DCERPC_SPOOLSS_10, mem_ctx, + (ndr_push_fn_t) ndr_push_spoolss_10, + (ndr_pull_fn_t) ndr_pull_spoolss_10, + r); + if (!NT_STATUS_IS_OK(status)) { + return status; + } + + return r->out.result; +} + +NTSTATUS dcerpc_spoolss_11(struct dcerpc_pipe *p, TALLOC_CTX *mem_ctx, struct spoolss_11 *r) +{ + NTSTATUS status; + status = dcerpc_ndr_request(p, DCERPC_SPOOLSS_11, mem_ctx, + (ndr_push_fn_t) ndr_push_spoolss_11, + (ndr_pull_fn_t) ndr_pull_spoolss_11, + r); + if (!NT_STATUS_IS_OK(status)) { + return status; + } + + return r->out.result; +} + +NTSTATUS dcerpc_spoolss_12(struct dcerpc_pipe *p, TALLOC_CTX *mem_ctx, struct spoolss_12 *r) +{ + NTSTATUS status; + status = dcerpc_ndr_request(p, DCERPC_SPOOLSS_12, mem_ctx, + (ndr_push_fn_t) ndr_push_spoolss_12, + (ndr_pull_fn_t) ndr_pull_spoolss_12, + r); + if (!NT_STATUS_IS_OK(status)) { + return status; + } + + return r->out.result; +} + +NTSTATUS dcerpc_spoolss_13(struct dcerpc_pipe *p, TALLOC_CTX *mem_ctx, struct spoolss_13 *r) +{ + NTSTATUS status; + status = dcerpc_ndr_request(p, DCERPC_SPOOLSS_13, mem_ctx, + (ndr_push_fn_t) ndr_push_spoolss_13, + (ndr_pull_fn_t) ndr_pull_spoolss_13, + r); + if (!NT_STATUS_IS_OK(status)) { + return status; + } + + return r->out.result; +} + +NTSTATUS dcerpc_spoolss_14(struct dcerpc_pipe *p, TALLOC_CTX *mem_ctx, struct spoolss_14 *r) +{ + NTSTATUS status; + status = dcerpc_ndr_request(p, DCERPC_SPOOLSS_14, mem_ctx, + (ndr_push_fn_t) ndr_push_spoolss_14, + (ndr_pull_fn_t) ndr_pull_spoolss_14, + r); + if (!NT_STATUS_IS_OK(status)) { + return status; + } + + return r->out.result; +} + +NTSTATUS dcerpc_spoolss_15(struct dcerpc_pipe *p, TALLOC_CTX *mem_ctx, struct spoolss_15 *r) +{ + NTSTATUS status; + status = dcerpc_ndr_request(p, DCERPC_SPOOLSS_15, mem_ctx, + (ndr_push_fn_t) ndr_push_spoolss_15, + (ndr_pull_fn_t) ndr_pull_spoolss_15, + r); + if (!NT_STATUS_IS_OK(status)) { + return status; + } + + return r->out.result; +} + +NTSTATUS dcerpc_spoolss_16(struct dcerpc_pipe *p, TALLOC_CTX *mem_ctx, struct spoolss_16 *r) +{ + NTSTATUS status; + status = dcerpc_ndr_request(p, DCERPC_SPOOLSS_16, mem_ctx, + (ndr_push_fn_t) ndr_push_spoolss_16, + (ndr_pull_fn_t) ndr_pull_spoolss_16, + r); + if (!NT_STATUS_IS_OK(status)) { + return status; + } + + return r->out.result; +} + +NTSTATUS dcerpc_spoolss_17(struct dcerpc_pipe *p, TALLOC_CTX *mem_ctx, struct spoolss_17 *r) +{ + NTSTATUS status; + status = dcerpc_ndr_request(p, DCERPC_SPOOLSS_17, mem_ctx, + (ndr_push_fn_t) ndr_push_spoolss_17, + (ndr_pull_fn_t) ndr_pull_spoolss_17, + r); + if (!NT_STATUS_IS_OK(status)) { + return status; + } + + return r->out.result; +} + +NTSTATUS dcerpc_spoolss_18(struct dcerpc_pipe *p, TALLOC_CTX *mem_ctx, struct spoolss_18 *r) +{ + NTSTATUS status; + status = dcerpc_ndr_request(p, DCERPC_SPOOLSS_18, mem_ctx, + (ndr_push_fn_t) ndr_push_spoolss_18, + (ndr_pull_fn_t) ndr_pull_spoolss_18, + r); + if (!NT_STATUS_IS_OK(status)) { + return status; + } + + return r->out.result; +} + +NTSTATUS dcerpc_spoolss_19(struct dcerpc_pipe *p, TALLOC_CTX *mem_ctx, struct spoolss_19 *r) +{ + NTSTATUS status; + status = dcerpc_ndr_request(p, DCERPC_SPOOLSS_19, mem_ctx, + (ndr_push_fn_t) ndr_push_spoolss_19, + (ndr_pull_fn_t) ndr_pull_spoolss_19, + r); + if (!NT_STATUS_IS_OK(status)) { + return status; + } + + return r->out.result; +} + +NTSTATUS dcerpc_spoolss_1a(struct dcerpc_pipe *p, TALLOC_CTX *mem_ctx, struct spoolss_1a *r) +{ + NTSTATUS status; + status = dcerpc_ndr_request(p, DCERPC_SPOOLSS_1A, mem_ctx, + (ndr_push_fn_t) ndr_push_spoolss_1a, + (ndr_pull_fn_t) ndr_pull_spoolss_1a, + r); + if (!NT_STATUS_IS_OK(status)) { + return status; + } + + return r->out.result; +} + +NTSTATUS dcerpc_spoolss_1b(struct dcerpc_pipe *p, TALLOC_CTX *mem_ctx, struct spoolss_1b *r) +{ + NTSTATUS status; + status = dcerpc_ndr_request(p, DCERPC_SPOOLSS_1B, mem_ctx, + (ndr_push_fn_t) ndr_push_spoolss_1b, + (ndr_pull_fn_t) ndr_pull_spoolss_1b, + r); + if (!NT_STATUS_IS_OK(status)) { + return status; + } + + return r->out.result; +} + +NTSTATUS dcerpc_spoolss_1c(struct dcerpc_pipe *p, TALLOC_CTX *mem_ctx, struct spoolss_1c *r) +{ + NTSTATUS status; + status = dcerpc_ndr_request(p, DCERPC_SPOOLSS_1C, mem_ctx, + (ndr_push_fn_t) ndr_push_spoolss_1c, + (ndr_pull_fn_t) ndr_pull_spoolss_1c, + r); + if (!NT_STATUS_IS_OK(status)) { + return status; + } + + return r->out.result; +} + +NTSTATUS dcerpc_spoolss_1d(struct dcerpc_pipe *p, TALLOC_CTX *mem_ctx, struct spoolss_1d *r) +{ + NTSTATUS status; + status = dcerpc_ndr_request(p, DCERPC_SPOOLSS_1D, mem_ctx, + (ndr_push_fn_t) ndr_push_spoolss_1d, + (ndr_pull_fn_t) ndr_pull_spoolss_1d, + r); + if (!NT_STATUS_IS_OK(status)) { + return status; + } + + return r->out.result; +} + +NTSTATUS dcerpc_spoolss_1e(struct dcerpc_pipe *p, TALLOC_CTX *mem_ctx, struct spoolss_1e *r) +{ + NTSTATUS status; + status = dcerpc_ndr_request(p, DCERPC_SPOOLSS_1E, mem_ctx, + (ndr_push_fn_t) ndr_push_spoolss_1e, + (ndr_pull_fn_t) ndr_pull_spoolss_1e, + r); + if (!NT_STATUS_IS_OK(status)) { + return status; + } + + return r->out.result; +} + +NTSTATUS dcerpc_spoolss_1f(struct dcerpc_pipe *p, TALLOC_CTX *mem_ctx, struct spoolss_1f *r) +{ + NTSTATUS status; + status = dcerpc_ndr_request(p, DCERPC_SPOOLSS_1F, mem_ctx, + (ndr_push_fn_t) ndr_push_spoolss_1f, + (ndr_pull_fn_t) ndr_pull_spoolss_1f, + r); + if (!NT_STATUS_IS_OK(status)) { + return status; + } + + return r->out.result; +} + +NTSTATUS dcerpc_spoolss_20(struct dcerpc_pipe *p, TALLOC_CTX *mem_ctx, struct spoolss_20 *r) +{ + NTSTATUS status; + status = dcerpc_ndr_request(p, DCERPC_SPOOLSS_20, mem_ctx, + (ndr_push_fn_t) ndr_push_spoolss_20, + (ndr_pull_fn_t) ndr_pull_spoolss_20, + r); + if (!NT_STATUS_IS_OK(status)) { + return status; + } + + return r->out.result; +} + +NTSTATUS dcerpc_spoolss_21(struct dcerpc_pipe *p, TALLOC_CTX *mem_ctx, struct spoolss_21 *r) +{ + NTSTATUS status; + status = dcerpc_ndr_request(p, DCERPC_SPOOLSS_21, mem_ctx, + (ndr_push_fn_t) ndr_push_spoolss_21, + (ndr_pull_fn_t) ndr_pull_spoolss_21, + r); + if (!NT_STATUS_IS_OK(status)) { + return status; + } + + return r->out.result; +} + +NTSTATUS dcerpc_spoolss_22(struct dcerpc_pipe *p, TALLOC_CTX *mem_ctx, struct spoolss_22 *r) +{ + NTSTATUS status; + status = dcerpc_ndr_request(p, DCERPC_SPOOLSS_22, mem_ctx, + (ndr_push_fn_t) ndr_push_spoolss_22, + (ndr_pull_fn_t) ndr_pull_spoolss_22, + r); + if (!NT_STATUS_IS_OK(status)) { + return status; + } + + return r->out.result; +} + +NTSTATUS dcerpc_spoolss_23(struct dcerpc_pipe *p, TALLOC_CTX *mem_ctx, struct spoolss_23 *r) +{ + NTSTATUS status; + status = dcerpc_ndr_request(p, DCERPC_SPOOLSS_23, mem_ctx, + (ndr_push_fn_t) ndr_push_spoolss_23, + (ndr_pull_fn_t) ndr_pull_spoolss_23, + r); + if (!NT_STATUS_IS_OK(status)) { + return status; + } + + return r->out.result; +} + +NTSTATUS dcerpc_spoolss_24(struct dcerpc_pipe *p, TALLOC_CTX *mem_ctx, struct spoolss_24 *r) +{ + NTSTATUS status; + status = dcerpc_ndr_request(p, DCERPC_SPOOLSS_24, mem_ctx, + (ndr_push_fn_t) ndr_push_spoolss_24, + (ndr_pull_fn_t) ndr_pull_spoolss_24, + r); + if (!NT_STATUS_IS_OK(status)) { + return status; + } + + return r->out.result; +} + +NTSTATUS dcerpc_spoolss_25(struct dcerpc_pipe *p, TALLOC_CTX *mem_ctx, struct spoolss_25 *r) +{ + NTSTATUS status; + status = dcerpc_ndr_request(p, DCERPC_SPOOLSS_25, mem_ctx, + (ndr_push_fn_t) ndr_push_spoolss_25, + (ndr_pull_fn_t) ndr_pull_spoolss_25, + r); + if (!NT_STATUS_IS_OK(status)) { + return status; + } + + return r->out.result; +} + +NTSTATUS dcerpc_spoolss_26(struct dcerpc_pipe *p, TALLOC_CTX *mem_ctx, struct spoolss_26 *r) +{ + NTSTATUS status; + status = dcerpc_ndr_request(p, DCERPC_SPOOLSS_26, mem_ctx, + (ndr_push_fn_t) ndr_push_spoolss_26, + (ndr_pull_fn_t) ndr_pull_spoolss_26, + r); + if (!NT_STATUS_IS_OK(status)) { + return status; + } + + return r->out.result; +} + +NTSTATUS dcerpc_spoolss_27(struct dcerpc_pipe *p, TALLOC_CTX *mem_ctx, struct spoolss_27 *r) +{ + NTSTATUS status; + status = dcerpc_ndr_request(p, DCERPC_SPOOLSS_27, mem_ctx, + (ndr_push_fn_t) ndr_push_spoolss_27, + (ndr_pull_fn_t) ndr_pull_spoolss_27, + r); + if (!NT_STATUS_IS_OK(status)) { + return status; + } + + return r->out.result; +} + +NTSTATUS dcerpc_spoolss_28(struct dcerpc_pipe *p, TALLOC_CTX *mem_ctx, struct spoolss_28 *r) +{ + NTSTATUS status; + status = dcerpc_ndr_request(p, DCERPC_SPOOLSS_28, mem_ctx, + (ndr_push_fn_t) ndr_push_spoolss_28, + (ndr_pull_fn_t) ndr_pull_spoolss_28, + r); + if (!NT_STATUS_IS_OK(status)) { + return status; + } + + return r->out.result; +} + +NTSTATUS dcerpc_spoolss_29(struct dcerpc_pipe *p, TALLOC_CTX *mem_ctx, struct spoolss_29 *r) +{ + NTSTATUS status; + status = dcerpc_ndr_request(p, DCERPC_SPOOLSS_29, mem_ctx, + (ndr_push_fn_t) ndr_push_spoolss_29, + (ndr_pull_fn_t) ndr_pull_spoolss_29, + r); + if (!NT_STATUS_IS_OK(status)) { + return status; + } + + return r->out.result; +} + +NTSTATUS dcerpc_spoolss_2a(struct dcerpc_pipe *p, TALLOC_CTX *mem_ctx, struct spoolss_2a *r) +{ + NTSTATUS status; + status = dcerpc_ndr_request(p, DCERPC_SPOOLSS_2A, mem_ctx, + (ndr_push_fn_t) ndr_push_spoolss_2a, + (ndr_pull_fn_t) ndr_pull_spoolss_2a, + r); + if (!NT_STATUS_IS_OK(status)) { + return status; + } + + return r->out.result; +} + +NTSTATUS dcerpc_spoolss_2b(struct dcerpc_pipe *p, TALLOC_CTX *mem_ctx, struct spoolss_2b *r) +{ + NTSTATUS status; + status = dcerpc_ndr_request(p, DCERPC_SPOOLSS_2B, mem_ctx, + (ndr_push_fn_t) ndr_push_spoolss_2b, + (ndr_pull_fn_t) ndr_pull_spoolss_2b, + r); + if (!NT_STATUS_IS_OK(status)) { + return status; + } + + return r->out.result; +} + +NTSTATUS dcerpc_spoolss_2c(struct dcerpc_pipe *p, TALLOC_CTX *mem_ctx, struct spoolss_2c *r) +{ + NTSTATUS status; + status = dcerpc_ndr_request(p, DCERPC_SPOOLSS_2C, mem_ctx, + (ndr_push_fn_t) ndr_push_spoolss_2c, + (ndr_pull_fn_t) ndr_pull_spoolss_2c, + r); + if (!NT_STATUS_IS_OK(status)) { + return status; + } + + return r->out.result; +} + +NTSTATUS dcerpc_spoolss_2d(struct dcerpc_pipe *p, TALLOC_CTX *mem_ctx, struct spoolss_2d *r) +{ + NTSTATUS status; + status = dcerpc_ndr_request(p, DCERPC_SPOOLSS_2D, mem_ctx, + (ndr_push_fn_t) ndr_push_spoolss_2d, + (ndr_pull_fn_t) ndr_pull_spoolss_2d, + r); + if (!NT_STATUS_IS_OK(status)) { + return status; + } + + return r->out.result; +} + +NTSTATUS dcerpc_spoolss_2e(struct dcerpc_pipe *p, TALLOC_CTX *mem_ctx, struct spoolss_2e *r) +{ + NTSTATUS status; + status = dcerpc_ndr_request(p, DCERPC_SPOOLSS_2E, mem_ctx, + (ndr_push_fn_t) ndr_push_spoolss_2e, + (ndr_pull_fn_t) ndr_pull_spoolss_2e, + r); + if (!NT_STATUS_IS_OK(status)) { + return status; + } + + return r->out.result; +} + +NTSTATUS dcerpc_spoolss_2f(struct dcerpc_pipe *p, TALLOC_CTX *mem_ctx, struct spoolss_2f *r) +{ + NTSTATUS status; + status = dcerpc_ndr_request(p, DCERPC_SPOOLSS_2F, mem_ctx, + (ndr_push_fn_t) ndr_push_spoolss_2f, + (ndr_pull_fn_t) ndr_pull_spoolss_2f, + r); + if (!NT_STATUS_IS_OK(status)) { + return status; + } + + return r->out.result; +} + +NTSTATUS dcerpc_spoolss_30(struct dcerpc_pipe *p, TALLOC_CTX *mem_ctx, struct spoolss_30 *r) +{ + NTSTATUS status; + status = dcerpc_ndr_request(p, DCERPC_SPOOLSS_30, mem_ctx, + (ndr_push_fn_t) ndr_push_spoolss_30, + (ndr_pull_fn_t) ndr_pull_spoolss_30, + r); + if (!NT_STATUS_IS_OK(status)) { + return status; + } + + return r->out.result; +} + +NTSTATUS dcerpc_spoolss_31(struct dcerpc_pipe *p, TALLOC_CTX *mem_ctx, struct spoolss_31 *r) +{ + NTSTATUS status; + status = dcerpc_ndr_request(p, DCERPC_SPOOLSS_31, mem_ctx, + (ndr_push_fn_t) ndr_push_spoolss_31, + (ndr_pull_fn_t) ndr_pull_spoolss_31, + r); + if (!NT_STATUS_IS_OK(status)) { + return status; + } + + return r->out.result; +} + +NTSTATUS dcerpc_spoolss_32(struct dcerpc_pipe *p, TALLOC_CTX *mem_ctx, struct spoolss_32 *r) +{ + NTSTATUS status; + status = dcerpc_ndr_request(p, DCERPC_SPOOLSS_32, mem_ctx, + (ndr_push_fn_t) ndr_push_spoolss_32, + (ndr_pull_fn_t) ndr_pull_spoolss_32, + r); + if (!NT_STATUS_IS_OK(status)) { + return status; + } + + return r->out.result; +} + +NTSTATUS dcerpc_spoolss_33(struct dcerpc_pipe *p, TALLOC_CTX *mem_ctx, struct spoolss_33 *r) +{ + NTSTATUS status; + status = dcerpc_ndr_request(p, DCERPC_SPOOLSS_33, mem_ctx, + (ndr_push_fn_t) ndr_push_spoolss_33, + (ndr_pull_fn_t) ndr_pull_spoolss_33, + r); + if (!NT_STATUS_IS_OK(status)) { + return status; + } + + return r->out.result; +} + +NTSTATUS dcerpc_spoolss_34(struct dcerpc_pipe *p, TALLOC_CTX *mem_ctx, struct spoolss_34 *r) +{ + NTSTATUS status; + status = dcerpc_ndr_request(p, DCERPC_SPOOLSS_34, mem_ctx, + (ndr_push_fn_t) ndr_push_spoolss_34, + (ndr_pull_fn_t) ndr_pull_spoolss_34, + r); + if (!NT_STATUS_IS_OK(status)) { + return status; + } + + return r->out.result; +} + +NTSTATUS dcerpc_spoolss_35(struct dcerpc_pipe *p, TALLOC_CTX *mem_ctx, struct spoolss_35 *r) +{ + NTSTATUS status; + status = dcerpc_ndr_request(p, DCERPC_SPOOLSS_35, mem_ctx, + (ndr_push_fn_t) ndr_push_spoolss_35, + (ndr_pull_fn_t) ndr_pull_spoolss_35, + r); + if (!NT_STATUS_IS_OK(status)) { + return status; + } + + return r->out.result; +} + +NTSTATUS dcerpc_spoolss_36(struct dcerpc_pipe *p, TALLOC_CTX *mem_ctx, struct spoolss_36 *r) +{ + NTSTATUS status; + status = dcerpc_ndr_request(p, DCERPC_SPOOLSS_36, mem_ctx, + (ndr_push_fn_t) ndr_push_spoolss_36, + (ndr_pull_fn_t) ndr_pull_spoolss_36, + r); + if (!NT_STATUS_IS_OK(status)) { + return status; + } + + return r->out.result; +} + +NTSTATUS dcerpc_spoolss_37(struct dcerpc_pipe *p, TALLOC_CTX *mem_ctx, struct spoolss_37 *r) +{ + NTSTATUS status; + status = dcerpc_ndr_request(p, DCERPC_SPOOLSS_37, mem_ctx, + (ndr_push_fn_t) ndr_push_spoolss_37, + (ndr_pull_fn_t) ndr_pull_spoolss_37, + r); + if (!NT_STATUS_IS_OK(status)) { + return status; + } + + return r->out.result; +} + +NTSTATUS dcerpc_spoolss_38(struct dcerpc_pipe *p, TALLOC_CTX *mem_ctx, struct spoolss_38 *r) +{ + NTSTATUS status; + status = dcerpc_ndr_request(p, DCERPC_SPOOLSS_38, mem_ctx, + (ndr_push_fn_t) ndr_push_spoolss_38, + (ndr_pull_fn_t) ndr_pull_spoolss_38, + r); + if (!NT_STATUS_IS_OK(status)) { + return status; + } + + return r->out.result; +} + +NTSTATUS dcerpc_spoolss_39(struct dcerpc_pipe *p, TALLOC_CTX *mem_ctx, struct spoolss_39 *r) +{ + NTSTATUS status; + status = dcerpc_ndr_request(p, DCERPC_SPOOLSS_39, mem_ctx, + (ndr_push_fn_t) ndr_push_spoolss_39, + (ndr_pull_fn_t) ndr_pull_spoolss_39, + r); + if (!NT_STATUS_IS_OK(status)) { + return status; + } + + return r->out.result; +} + +NTSTATUS dcerpc_spoolss_3a(struct dcerpc_pipe *p, TALLOC_CTX *mem_ctx, struct spoolss_3a *r) +{ + NTSTATUS status; + status = dcerpc_ndr_request(p, DCERPC_SPOOLSS_3A, mem_ctx, + (ndr_push_fn_t) ndr_push_spoolss_3a, + (ndr_pull_fn_t) ndr_pull_spoolss_3a, + r); + if (!NT_STATUS_IS_OK(status)) { + return status; + } + + return r->out.result; +} + +NTSTATUS dcerpc_spoolss_3b(struct dcerpc_pipe *p, TALLOC_CTX *mem_ctx, struct spoolss_3b *r) +{ + NTSTATUS status; + status = dcerpc_ndr_request(p, DCERPC_SPOOLSS_3B, mem_ctx, + (ndr_push_fn_t) ndr_push_spoolss_3b, + (ndr_pull_fn_t) ndr_pull_spoolss_3b, + r); + if (!NT_STATUS_IS_OK(status)) { + return status; + } + + return r->out.result; +} + +NTSTATUS dcerpc_spoolss_3c(struct dcerpc_pipe *p, TALLOC_CTX *mem_ctx, struct spoolss_3c *r) +{ + NTSTATUS status; + status = dcerpc_ndr_request(p, DCERPC_SPOOLSS_3C, mem_ctx, + (ndr_push_fn_t) ndr_push_spoolss_3c, + (ndr_pull_fn_t) ndr_pull_spoolss_3c, + r); + if (!NT_STATUS_IS_OK(status)) { + return status; + } + + return r->out.result; +} + +NTSTATUS dcerpc_spoolss_3d(struct dcerpc_pipe *p, TALLOC_CTX *mem_ctx, struct spoolss_3d *r) +{ + NTSTATUS status; + status = dcerpc_ndr_request(p, DCERPC_SPOOLSS_3D, mem_ctx, + (ndr_push_fn_t) ndr_push_spoolss_3d, + (ndr_pull_fn_t) ndr_pull_spoolss_3d, + r); + if (!NT_STATUS_IS_OK(status)) { + return status; + } + + return r->out.result; +} + +NTSTATUS dcerpc_spoolss_3e(struct dcerpc_pipe *p, TALLOC_CTX *mem_ctx, struct spoolss_3e *r) +{ + NTSTATUS status; + status = dcerpc_ndr_request(p, DCERPC_SPOOLSS_3E, mem_ctx, + (ndr_push_fn_t) ndr_push_spoolss_3e, + (ndr_pull_fn_t) ndr_pull_spoolss_3e, + r); + if (!NT_STATUS_IS_OK(status)) { + return status; + } + + return r->out.result; +} + +NTSTATUS dcerpc_spoolss_3f(struct dcerpc_pipe *p, TALLOC_CTX *mem_ctx, struct spoolss_3f *r) +{ + NTSTATUS status; + status = dcerpc_ndr_request(p, DCERPC_SPOOLSS_3F, mem_ctx, + (ndr_push_fn_t) ndr_push_spoolss_3f, + (ndr_pull_fn_t) ndr_pull_spoolss_3f, + r); + if (!NT_STATUS_IS_OK(status)) { + return status; + } + + return r->out.result; +} + +NTSTATUS dcerpc_spoolss_40(struct dcerpc_pipe *p, TALLOC_CTX *mem_ctx, struct spoolss_40 *r) +{ + NTSTATUS status; + status = dcerpc_ndr_request(p, DCERPC_SPOOLSS_40, mem_ctx, + (ndr_push_fn_t) ndr_push_spoolss_40, + (ndr_pull_fn_t) ndr_pull_spoolss_40, + r); + if (!NT_STATUS_IS_OK(status)) { + return status; + } + + return r->out.result; +} + +NTSTATUS dcerpc_spoolss_41(struct dcerpc_pipe *p, TALLOC_CTX *mem_ctx, struct spoolss_41 *r) +{ + NTSTATUS status; + status = dcerpc_ndr_request(p, DCERPC_SPOOLSS_41, mem_ctx, + (ndr_push_fn_t) ndr_push_spoolss_41, + (ndr_pull_fn_t) ndr_pull_spoolss_41, + r); + if (!NT_STATUS_IS_OK(status)) { + return status; + } + + return r->out.result; +} + +NTSTATUS dcerpc_spoolss_42(struct dcerpc_pipe *p, TALLOC_CTX *mem_ctx, struct spoolss_42 *r) +{ + NTSTATUS status; + status = dcerpc_ndr_request(p, DCERPC_SPOOLSS_42, mem_ctx, + (ndr_push_fn_t) ndr_push_spoolss_42, + (ndr_pull_fn_t) ndr_pull_spoolss_42, + r); + if (!NT_STATUS_IS_OK(status)) { + return status; + } + + return r->out.result; +} + +NTSTATUS dcerpc_spoolss_43(struct dcerpc_pipe *p, TALLOC_CTX *mem_ctx, struct spoolss_43 *r) +{ + NTSTATUS status; + status = dcerpc_ndr_request(p, DCERPC_SPOOLSS_43, mem_ctx, + (ndr_push_fn_t) ndr_push_spoolss_43, + (ndr_pull_fn_t) ndr_pull_spoolss_43, + r); + if (!NT_STATUS_IS_OK(status)) { + return status; + } + + return r->out.result; +} + +NTSTATUS dcerpc_spoolss_44(struct dcerpc_pipe *p, TALLOC_CTX *mem_ctx, struct spoolss_44 *r) +{ + NTSTATUS status; + status = dcerpc_ndr_request(p, DCERPC_SPOOLSS_44, mem_ctx, + (ndr_push_fn_t) ndr_push_spoolss_44, + (ndr_pull_fn_t) ndr_pull_spoolss_44, + r); + if (!NT_STATUS_IS_OK(status)) { + return status; + } + + return r->out.result; +} + +NTSTATUS dcerpc_spoolss_OpenPrinterEx(struct dcerpc_pipe *p, TALLOC_CTX *mem_ctx, struct spoolss_OpenPrinterEx *r) +{ + NTSTATUS status; + status = dcerpc_ndr_request(p, DCERPC_SPOOLSS_OPENPRINTEREX, mem_ctx, + (ndr_push_fn_t) ndr_push_spoolss_OpenPrinterEx, + (ndr_pull_fn_t) ndr_pull_spoolss_OpenPrinterEx, + r); + if (!NT_STATUS_IS_OK(status)) { + return status; + } + + return r->out.result; +} + +NTSTATUS dcerpc_spoolss_46(struct dcerpc_pipe *p, TALLOC_CTX *mem_ctx, struct spoolss_46 *r) +{ + NTSTATUS status; + status = dcerpc_ndr_request(p, DCERPC_SPOOLSS_46, mem_ctx, + (ndr_push_fn_t) ndr_push_spoolss_46, + (ndr_pull_fn_t) ndr_pull_spoolss_46, + r); + if (!NT_STATUS_IS_OK(status)) { + return status; + } + + return r->out.result; +} + +NTSTATUS dcerpc_spoolss_47(struct dcerpc_pipe *p, TALLOC_CTX *mem_ctx, struct spoolss_47 *r) +{ + NTSTATUS status; + status = dcerpc_ndr_request(p, DCERPC_SPOOLSS_47, mem_ctx, + (ndr_push_fn_t) ndr_push_spoolss_47, + (ndr_pull_fn_t) ndr_pull_spoolss_47, + r); + if (!NT_STATUS_IS_OK(status)) { + return status; + } + + return r->out.result; +} + +NTSTATUS dcerpc_spoolss_48(struct dcerpc_pipe *p, TALLOC_CTX *mem_ctx, struct spoolss_48 *r) +{ + NTSTATUS status; + status = dcerpc_ndr_request(p, DCERPC_SPOOLSS_48, mem_ctx, + (ndr_push_fn_t) ndr_push_spoolss_48, + (ndr_pull_fn_t) ndr_pull_spoolss_48, + r); + if (!NT_STATUS_IS_OK(status)) { + return status; + } + + return r->out.result; +} + +NTSTATUS dcerpc_spoolss_49(struct dcerpc_pipe *p, TALLOC_CTX *mem_ctx, struct spoolss_49 *r) +{ + NTSTATUS status; + status = dcerpc_ndr_request(p, DCERPC_SPOOLSS_49, mem_ctx, + (ndr_push_fn_t) ndr_push_spoolss_49, + (ndr_pull_fn_t) ndr_pull_spoolss_49, + r); + if (!NT_STATUS_IS_OK(status)) { + return status; + } + + return r->out.result; +} + +NTSTATUS dcerpc_spoolss_4a(struct dcerpc_pipe *p, TALLOC_CTX *mem_ctx, struct spoolss_4a *r) +{ + NTSTATUS status; + status = dcerpc_ndr_request(p, DCERPC_SPOOLSS_4A, mem_ctx, + (ndr_push_fn_t) ndr_push_spoolss_4a, + (ndr_pull_fn_t) ndr_pull_spoolss_4a, + r); + if (!NT_STATUS_IS_OK(status)) { + return status; + } + + return r->out.result; +} + +NTSTATUS dcerpc_spoolss_4b(struct dcerpc_pipe *p, TALLOC_CTX *mem_ctx, struct spoolss_4b *r) +{ + NTSTATUS status; + status = dcerpc_ndr_request(p, DCERPC_SPOOLSS_4B, mem_ctx, + (ndr_push_fn_t) ndr_push_spoolss_4b, + (ndr_pull_fn_t) ndr_pull_spoolss_4b, + r); + if (!NT_STATUS_IS_OK(status)) { + return status; + } + + return r->out.result; +} + +NTSTATUS dcerpc_spoolss_4c(struct dcerpc_pipe *p, TALLOC_CTX *mem_ctx, struct spoolss_4c *r) +{ + NTSTATUS status; + status = dcerpc_ndr_request(p, DCERPC_SPOOLSS_4C, mem_ctx, + (ndr_push_fn_t) ndr_push_spoolss_4c, + (ndr_pull_fn_t) ndr_pull_spoolss_4c, + r); + if (!NT_STATUS_IS_OK(status)) { + return status; + } + + return r->out.result; +} + +NTSTATUS dcerpc_spoolss_4d(struct dcerpc_pipe *p, TALLOC_CTX *mem_ctx, struct spoolss_4d *r) +{ + NTSTATUS status; + status = dcerpc_ndr_request(p, DCERPC_SPOOLSS_4D, mem_ctx, + (ndr_push_fn_t) ndr_push_spoolss_4d, + (ndr_pull_fn_t) ndr_pull_spoolss_4d, + r); + if (!NT_STATUS_IS_OK(status)) { + return status; + } + + return r->out.result; +} + +NTSTATUS dcerpc_spoolss_4e(struct dcerpc_pipe *p, TALLOC_CTX *mem_ctx, struct spoolss_4e *r) +{ + NTSTATUS status; + status = dcerpc_ndr_request(p, DCERPC_SPOOLSS_4E, mem_ctx, + (ndr_push_fn_t) ndr_push_spoolss_4e, + (ndr_pull_fn_t) ndr_pull_spoolss_4e, + r); + if (!NT_STATUS_IS_OK(status)) { + return status; + } + + return r->out.result; +} + +NTSTATUS dcerpc_spoolss_4f(struct dcerpc_pipe *p, TALLOC_CTX *mem_ctx, struct spoolss_4f *r) +{ + NTSTATUS status; + status = dcerpc_ndr_request(p, DCERPC_SPOOLSS_4F, mem_ctx, + (ndr_push_fn_t) ndr_push_spoolss_4f, + (ndr_pull_fn_t) ndr_pull_spoolss_4f, + r); + if (!NT_STATUS_IS_OK(status)) { + return status; + } + + return r->out.result; +} + +NTSTATUS dcerpc_spoolss_50(struct dcerpc_pipe *p, TALLOC_CTX *mem_ctx, struct spoolss_50 *r) +{ + NTSTATUS status; + status = dcerpc_ndr_request(p, DCERPC_SPOOLSS_50, mem_ctx, + (ndr_push_fn_t) ndr_push_spoolss_50, + (ndr_pull_fn_t) ndr_pull_spoolss_50, + r); + if (!NT_STATUS_IS_OK(status)) { + return status; + } + + return r->out.result; +} + +NTSTATUS dcerpc_spoolss_51(struct dcerpc_pipe *p, TALLOC_CTX *mem_ctx, struct spoolss_51 *r) +{ + NTSTATUS status; + status = dcerpc_ndr_request(p, DCERPC_SPOOLSS_51, mem_ctx, + (ndr_push_fn_t) ndr_push_spoolss_51, + (ndr_pull_fn_t) ndr_pull_spoolss_51, + r); + if (!NT_STATUS_IS_OK(status)) { + return status; + } + + return r->out.result; +} + +NTSTATUS dcerpc_spoolss_52(struct dcerpc_pipe *p, TALLOC_CTX *mem_ctx, struct spoolss_52 *r) +{ + NTSTATUS status; + status = dcerpc_ndr_request(p, DCERPC_SPOOLSS_52, mem_ctx, + (ndr_push_fn_t) ndr_push_spoolss_52, + (ndr_pull_fn_t) ndr_pull_spoolss_52, + r); + if (!NT_STATUS_IS_OK(status)) { + return status; + } + + return r->out.result; +} + +NTSTATUS dcerpc_spoolss_53(struct dcerpc_pipe *p, TALLOC_CTX *mem_ctx, struct spoolss_53 *r) +{ + NTSTATUS status; + status = dcerpc_ndr_request(p, DCERPC_SPOOLSS_53, mem_ctx, + (ndr_push_fn_t) ndr_push_spoolss_53, + (ndr_pull_fn_t) ndr_pull_spoolss_53, + r); + if (!NT_STATUS_IS_OK(status)) { + return status; + } + + return r->out.result; +} + +NTSTATUS dcerpc_spoolss_54(struct dcerpc_pipe *p, TALLOC_CTX *mem_ctx, struct spoolss_54 *r) +{ + NTSTATUS status; + status = dcerpc_ndr_request(p, DCERPC_SPOOLSS_54, mem_ctx, + (ndr_push_fn_t) ndr_push_spoolss_54, + (ndr_pull_fn_t) ndr_pull_spoolss_54, + r); + if (!NT_STATUS_IS_OK(status)) { + return status; + } + + return r->out.result; +} + +NTSTATUS dcerpc_spoolss_55(struct dcerpc_pipe *p, TALLOC_CTX *mem_ctx, struct spoolss_55 *r) +{ + NTSTATUS status; + status = dcerpc_ndr_request(p, DCERPC_SPOOLSS_55, mem_ctx, + (ndr_push_fn_t) ndr_push_spoolss_55, + (ndr_pull_fn_t) ndr_pull_spoolss_55, + r); + if (!NT_STATUS_IS_OK(status)) { + return status; + } + + return r->out.result; +} + +NTSTATUS dcerpc_spoolss_56(struct dcerpc_pipe *p, TALLOC_CTX *mem_ctx, struct spoolss_56 *r) +{ + NTSTATUS status; + status = dcerpc_ndr_request(p, DCERPC_SPOOLSS_56, mem_ctx, + (ndr_push_fn_t) ndr_push_spoolss_56, + (ndr_pull_fn_t) ndr_pull_spoolss_56, + r); + if (!NT_STATUS_IS_OK(status)) { + return status; + } + + return r->out.result; +} + +NTSTATUS dcerpc_spoolss_57(struct dcerpc_pipe *p, TALLOC_CTX *mem_ctx, struct spoolss_57 *r) +{ + NTSTATUS status; + status = dcerpc_ndr_request(p, DCERPC_SPOOLSS_57, mem_ctx, + (ndr_push_fn_t) ndr_push_spoolss_57, + (ndr_pull_fn_t) ndr_pull_spoolss_57, + r); + if (!NT_STATUS_IS_OK(status)) { + return status; + } + + return r->out.result; +} + +NTSTATUS dcerpc_spoolss_58(struct dcerpc_pipe *p, TALLOC_CTX *mem_ctx, struct spoolss_58 *r) +{ + NTSTATUS status; + status = dcerpc_ndr_request(p, DCERPC_SPOOLSS_58, mem_ctx, + (ndr_push_fn_t) ndr_push_spoolss_58, + (ndr_pull_fn_t) ndr_pull_spoolss_58, + r); + if (!NT_STATUS_IS_OK(status)) { + return status; + } + + return r->out.result; +} + +NTSTATUS dcerpc_spoolss_59(struct dcerpc_pipe *p, TALLOC_CTX *mem_ctx, struct spoolss_59 *r) +{ + NTSTATUS status; + status = dcerpc_ndr_request(p, DCERPC_SPOOLSS_59, mem_ctx, + (ndr_push_fn_t) ndr_push_spoolss_59, + (ndr_pull_fn_t) ndr_pull_spoolss_59, + r); + if (!NT_STATUS_IS_OK(status)) { + return status; + } + + return r->out.result; +} + +NTSTATUS dcerpc_spoolss_5a(struct dcerpc_pipe *p, TALLOC_CTX *mem_ctx, struct spoolss_5a *r) +{ + NTSTATUS status; + status = dcerpc_ndr_request(p, DCERPC_SPOOLSS_5A, mem_ctx, + (ndr_push_fn_t) ndr_push_spoolss_5a, + (ndr_pull_fn_t) ndr_pull_spoolss_5a, + r); + if (!NT_STATUS_IS_OK(status)) { + return status; + } + + return r->out.result; +} + +NTSTATUS dcerpc_spoolss_5b(struct dcerpc_pipe *p, TALLOC_CTX *mem_ctx, struct spoolss_5b *r) +{ + NTSTATUS status; + status = dcerpc_ndr_request(p, DCERPC_SPOOLSS_5B, mem_ctx, + (ndr_push_fn_t) ndr_push_spoolss_5b, + (ndr_pull_fn_t) ndr_pull_spoolss_5b, + r); + if (!NT_STATUS_IS_OK(status)) { + return status; + } + + return r->out.result; +} + +NTSTATUS dcerpc_spoolss_5c(struct dcerpc_pipe *p, TALLOC_CTX *mem_ctx, struct spoolss_5c *r) +{ + NTSTATUS status; + status = dcerpc_ndr_request(p, DCERPC_SPOOLSS_5C, mem_ctx, + (ndr_push_fn_t) ndr_push_spoolss_5c, + (ndr_pull_fn_t) ndr_pull_spoolss_5c, + r); + if (!NT_STATUS_IS_OK(status)) { + return status; + } + + return r->out.result; +} + +NTSTATUS dcerpc_spoolss_5d(struct dcerpc_pipe *p, TALLOC_CTX *mem_ctx, struct spoolss_5d *r) +{ + NTSTATUS status; + status = dcerpc_ndr_request(p, DCERPC_SPOOLSS_5D, mem_ctx, + (ndr_push_fn_t) ndr_push_spoolss_5d, + (ndr_pull_fn_t) ndr_pull_spoolss_5d, + r); + if (!NT_STATUS_IS_OK(status)) { + return status; + } + + return r->out.result; +} + +NTSTATUS dcerpc_spoolss_5e(struct dcerpc_pipe *p, TALLOC_CTX *mem_ctx, struct spoolss_5e *r) +{ + NTSTATUS status; + status = dcerpc_ndr_request(p, DCERPC_SPOOLSS_5E, mem_ctx, + (ndr_push_fn_t) ndr_push_spoolss_5e, + (ndr_pull_fn_t) ndr_pull_spoolss_5e, + r); + if (!NT_STATUS_IS_OK(status)) { + return status; + } + + return r->out.result; +} + +NTSTATUS dcerpc_spoolss_5f(struct dcerpc_pipe *p, TALLOC_CTX *mem_ctx, struct spoolss_5f *r) +{ + NTSTATUS status; + status = dcerpc_ndr_request(p, DCERPC_SPOOLSS_5F, mem_ctx, + (ndr_push_fn_t) ndr_push_spoolss_5f, + (ndr_pull_fn_t) ndr_pull_spoolss_5f, + r); + if (!NT_STATUS_IS_OK(status)) { + return status; + } + + return r->out.result; +} |