diff options
Diffstat (limited to 'source4/librpc/ndr')
-rw-r--r-- | source4/librpc/ndr/libndr.h | 1 | ||||
-rw-r--r-- | source4/librpc/ndr/ndr_spoolss.c | 1415 | ||||
-rw-r--r-- | source4/librpc/ndr/ndr_spoolss.h | 1088 |
3 files changed, 2504 insertions, 0 deletions
diff --git a/source4/librpc/ndr/libndr.h b/source4/librpc/ndr/libndr.h index a7c63f7e13..140001c06d 100644 --- a/source4/librpc/ndr/libndr.h +++ b/source4/librpc/ndr/libndr.h @@ -152,3 +152,4 @@ typedef void (*ndr_print_union_fn_t)(struct ndr_print *, const char *, uint16, v #include "librpc/ndr/ndr_echo.h" #include "librpc/ndr/ndr_lsa.h" #include "librpc/ndr/ndr_dfs.h" +#include "librpc/ndr/ndr_spoolss.h" diff --git a/source4/librpc/ndr/ndr_spoolss.c b/source4/librpc/ndr/ndr_spoolss.c new file mode 100644 index 0000000000..33e550d05d --- /dev/null +++ b/source4/librpc/ndr/ndr_spoolss.c @@ -0,0 +1,1415 @@ +/* parser auto-generated by pidl */ + +#include "includes.h" + +NTSTATUS ndr_push_spoolss_00(struct ndr_push *ndr, struct spoolss_00 *r) +{ + + return NT_STATUS_OK; +} + +NTSTATUS ndr_push_spoolss_01(struct ndr_push *ndr, struct spoolss_01 *r) +{ + + return NT_STATUS_OK; +} + +NTSTATUS ndr_push_spoolss_02(struct ndr_push *ndr, struct spoolss_02 *r) +{ + + return NT_STATUS_OK; +} + +NTSTATUS ndr_push_spoolss_03(struct ndr_push *ndr, struct spoolss_03 *r) +{ + + return NT_STATUS_OK; +} + +NTSTATUS ndr_push_spoolss_04(struct ndr_push *ndr, struct spoolss_04 *r) +{ + + return NT_STATUS_OK; +} + +NTSTATUS ndr_push_spoolss_05(struct ndr_push *ndr, struct spoolss_05 *r) +{ + + return NT_STATUS_OK; +} + +NTSTATUS ndr_push_spoolss_06(struct ndr_push *ndr, struct spoolss_06 *r) +{ + + return NT_STATUS_OK; +} + +NTSTATUS ndr_push_spoolss_07(struct ndr_push *ndr, struct spoolss_07 *r) +{ + + return NT_STATUS_OK; +} + +NTSTATUS ndr_push_spoolss_08(struct ndr_push *ndr, struct spoolss_08 *r) +{ + + return NT_STATUS_OK; +} + +NTSTATUS ndr_push_spoolss_09(struct ndr_push *ndr, struct spoolss_09 *r) +{ + + return NT_STATUS_OK; +} + +NTSTATUS ndr_push_spoolss_0a(struct ndr_push *ndr, struct spoolss_0a *r) +{ + + return NT_STATUS_OK; +} + +NTSTATUS ndr_push_spoolss_0b(struct ndr_push *ndr, struct spoolss_0b *r) +{ + + return NT_STATUS_OK; +} + +NTSTATUS ndr_push_spoolss_0c(struct ndr_push *ndr, struct spoolss_0c *r) +{ + + return NT_STATUS_OK; +} + +NTSTATUS ndr_push_spoolss_0d(struct ndr_push *ndr, struct spoolss_0d *r) +{ + + return NT_STATUS_OK; +} + +NTSTATUS ndr_push_spoolss_0e(struct ndr_push *ndr, struct spoolss_0e *r) +{ + + return NT_STATUS_OK; +} + +NTSTATUS ndr_push_spoolss_0f(struct ndr_push *ndr, struct spoolss_0f *r) +{ + + return NT_STATUS_OK; +} + +NTSTATUS ndr_push_spoolss_10(struct ndr_push *ndr, struct spoolss_10 *r) +{ + + return NT_STATUS_OK; +} + +NTSTATUS ndr_push_spoolss_11(struct ndr_push *ndr, struct spoolss_11 *r) +{ + + return NT_STATUS_OK; +} + +NTSTATUS ndr_push_spoolss_12(struct ndr_push *ndr, struct spoolss_12 *r) +{ + + return NT_STATUS_OK; +} + +NTSTATUS ndr_push_spoolss_13(struct ndr_push *ndr, struct spoolss_13 *r) +{ + + return NT_STATUS_OK; +} + +NTSTATUS ndr_push_spoolss_14(struct ndr_push *ndr, struct spoolss_14 *r) +{ + + return NT_STATUS_OK; +} + +NTSTATUS ndr_push_spoolss_15(struct ndr_push *ndr, struct spoolss_15 *r) +{ + + return NT_STATUS_OK; +} + +NTSTATUS ndr_push_spoolss_16(struct ndr_push *ndr, struct spoolss_16 *r) +{ + + return NT_STATUS_OK; +} + +NTSTATUS ndr_push_spoolss_17(struct ndr_push *ndr, struct spoolss_17 *r) +{ + + return NT_STATUS_OK; +} + +NTSTATUS ndr_push_spoolss_18(struct ndr_push *ndr, struct spoolss_18 *r) +{ + + return NT_STATUS_OK; +} + +NTSTATUS ndr_push_spoolss_19(struct ndr_push *ndr, struct spoolss_19 *r) +{ + + return NT_STATUS_OK; +} + +NTSTATUS ndr_push_spoolss_1a(struct ndr_push *ndr, struct spoolss_1a *r) +{ + + return NT_STATUS_OK; +} + +NTSTATUS ndr_push_spoolss_1b(struct ndr_push *ndr, struct spoolss_1b *r) +{ + + return NT_STATUS_OK; +} + +NTSTATUS ndr_push_spoolss_1c(struct ndr_push *ndr, struct spoolss_1c *r) +{ + + return NT_STATUS_OK; +} + +NTSTATUS ndr_push_spoolss_1d(struct ndr_push *ndr, struct spoolss_1d *r) +{ + + return NT_STATUS_OK; +} + +NTSTATUS ndr_push_spoolss_1e(struct ndr_push *ndr, struct spoolss_1e *r) +{ + + return NT_STATUS_OK; +} + +NTSTATUS ndr_push_spoolss_1f(struct ndr_push *ndr, struct spoolss_1f *r) +{ + + return NT_STATUS_OK; +} + +NTSTATUS ndr_push_spoolss_20(struct ndr_push *ndr, struct spoolss_20 *r) +{ + + return NT_STATUS_OK; +} + +NTSTATUS ndr_push_spoolss_21(struct ndr_push *ndr, struct spoolss_21 *r) +{ + + return NT_STATUS_OK; +} + +NTSTATUS ndr_push_spoolss_22(struct ndr_push *ndr, struct spoolss_22 *r) +{ + + return NT_STATUS_OK; +} + +NTSTATUS ndr_push_spoolss_23(struct ndr_push *ndr, struct spoolss_23 *r) +{ + + return NT_STATUS_OK; +} + +NTSTATUS ndr_push_spoolss_24(struct ndr_push *ndr, struct spoolss_24 *r) +{ + + return NT_STATUS_OK; +} + +NTSTATUS ndr_push_spoolss_25(struct ndr_push *ndr, struct spoolss_25 *r) +{ + + return NT_STATUS_OK; +} + +NTSTATUS ndr_push_spoolss_26(struct ndr_push *ndr, struct spoolss_26 *r) +{ + + return NT_STATUS_OK; +} + +NTSTATUS ndr_push_spoolss_27(struct ndr_push *ndr, struct spoolss_27 *r) +{ + + return NT_STATUS_OK; +} + +NTSTATUS ndr_push_spoolss_28(struct ndr_push *ndr, struct spoolss_28 *r) +{ + + return NT_STATUS_OK; +} + +NTSTATUS ndr_push_spoolss_29(struct ndr_push *ndr, struct spoolss_29 *r) +{ + + return NT_STATUS_OK; +} + +NTSTATUS ndr_push_spoolss_2a(struct ndr_push *ndr, struct spoolss_2a *r) +{ + + return NT_STATUS_OK; +} + +NTSTATUS ndr_push_spoolss_2b(struct ndr_push *ndr, struct spoolss_2b *r) +{ + + return NT_STATUS_OK; +} + +NTSTATUS ndr_push_spoolss_2c(struct ndr_push *ndr, struct spoolss_2c *r) +{ + + return NT_STATUS_OK; +} + +NTSTATUS ndr_push_spoolss_2d(struct ndr_push *ndr, struct spoolss_2d *r) +{ + + return NT_STATUS_OK; +} + +NTSTATUS ndr_push_spoolss_2e(struct ndr_push *ndr, struct spoolss_2e *r) +{ + + return NT_STATUS_OK; +} + +NTSTATUS ndr_push_spoolss_2f(struct ndr_push *ndr, struct spoolss_2f *r) +{ + + return NT_STATUS_OK; +} + +NTSTATUS ndr_push_spoolss_30(struct ndr_push *ndr, struct spoolss_30 *r) +{ + + return NT_STATUS_OK; +} + +NTSTATUS ndr_push_spoolss_31(struct ndr_push *ndr, struct spoolss_31 *r) +{ + + return NT_STATUS_OK; +} + +NTSTATUS ndr_push_spoolss_32(struct ndr_push *ndr, struct spoolss_32 *r) +{ + + return NT_STATUS_OK; +} + +NTSTATUS ndr_push_spoolss_33(struct ndr_push *ndr, struct spoolss_33 *r) +{ + + return NT_STATUS_OK; +} + +NTSTATUS ndr_push_spoolss_34(struct ndr_push *ndr, struct spoolss_34 *r) +{ + + return NT_STATUS_OK; +} + +NTSTATUS ndr_push_spoolss_35(struct ndr_push *ndr, struct spoolss_35 *r) +{ + + return NT_STATUS_OK; +} + +NTSTATUS ndr_push_spoolss_36(struct ndr_push *ndr, struct spoolss_36 *r) +{ + + return NT_STATUS_OK; +} + +NTSTATUS ndr_push_spoolss_37(struct ndr_push *ndr, struct spoolss_37 *r) +{ + + return NT_STATUS_OK; +} + +NTSTATUS ndr_push_spoolss_38(struct ndr_push *ndr, struct spoolss_38 *r) +{ + + return NT_STATUS_OK; +} + +NTSTATUS ndr_push_spoolss_39(struct ndr_push *ndr, struct spoolss_39 *r) +{ + + return NT_STATUS_OK; +} + +NTSTATUS ndr_push_spoolss_3a(struct ndr_push *ndr, struct spoolss_3a *r) +{ + + return NT_STATUS_OK; +} + +NTSTATUS ndr_push_spoolss_3b(struct ndr_push *ndr, struct spoolss_3b *r) +{ + + return NT_STATUS_OK; +} + +NTSTATUS ndr_push_spoolss_3c(struct ndr_push *ndr, struct spoolss_3c *r) +{ + + return NT_STATUS_OK; +} + +NTSTATUS ndr_push_spoolss_3d(struct ndr_push *ndr, struct spoolss_3d *r) +{ + + return NT_STATUS_OK; +} + +NTSTATUS ndr_push_spoolss_3e(struct ndr_push *ndr, struct spoolss_3e *r) +{ + + return NT_STATUS_OK; +} + +NTSTATUS ndr_push_spoolss_3f(struct ndr_push *ndr, struct spoolss_3f *r) +{ + + return NT_STATUS_OK; +} + +NTSTATUS ndr_push_spoolss_40(struct ndr_push *ndr, struct spoolss_40 *r) +{ + + return NT_STATUS_OK; +} + +NTSTATUS ndr_push_spoolss_41(struct ndr_push *ndr, struct spoolss_41 *r) +{ + + return NT_STATUS_OK; +} + +NTSTATUS ndr_push_spoolss_42(struct ndr_push *ndr, struct spoolss_42 *r) +{ + + return NT_STATUS_OK; +} + +NTSTATUS ndr_push_spoolss_43(struct ndr_push *ndr, struct spoolss_43 *r) +{ + + return NT_STATUS_OK; +} + +NTSTATUS ndr_push_spoolss_44(struct ndr_push *ndr, struct spoolss_44 *r) +{ + + return NT_STATUS_OK; +} + +static NTSTATUS ndr_push_spoolss_Devmode(struct ndr_push *ndr, int ndr_flags, struct spoolss_Devmode *r) +{ + NDR_CHECK(ndr_push_align(ndr, 4)); + if (!(ndr_flags & NDR_SCALARS)) goto buffers; + NDR_CHECK(ndr_push_uint32(ndr, r->foo)); +buffers: + if (!(ndr_flags & NDR_BUFFERS)) goto done; +done: + return NT_STATUS_OK; +} + +static NTSTATUS ndr_push_spoolss_DevmodeContainer(struct ndr_push *ndr, int ndr_flags, struct spoolss_DevmodeContainer *r) +{ + NDR_CHECK(ndr_push_align(ndr, 4)); + if (!(ndr_flags & NDR_SCALARS)) goto buffers; + NDR_CHECK(ndr_push_uint32(ndr, r->size)); + NDR_CHECK(ndr_push_ptr(ndr, r->devmode)); +buffers: + if (!(ndr_flags & NDR_BUFFERS)) goto done; + if (r->devmode) { + NDR_CHECK(ndr_push_spoolss_Devmode(ndr, NDR_SCALARS|NDR_BUFFERS, r->devmode)); + } +done: + return NT_STATUS_OK; +} + +static NTSTATUS ndr_push_spoolss_UserLevel1(struct ndr_push *ndr, int ndr_flags, struct spoolss_UserLevel1 *r) +{ + NDR_CHECK(ndr_push_align(ndr, 4)); + if (!(ndr_flags & NDR_SCALARS)) goto buffers; + NDR_CHECK(ndr_push_uint32(ndr, r->size)); + NDR_CHECK(ndr_push_ptr(ndr, r->client)); + NDR_CHECK(ndr_push_ptr(ndr, r->user)); + NDR_CHECK(ndr_push_uint32(ndr, r->build)); + NDR_CHECK(ndr_push_uint32(ndr, r->major)); + NDR_CHECK(ndr_push_uint32(ndr, r->minor)); + NDR_CHECK(ndr_push_uint32(ndr, r->processor)); +buffers: + if (!(ndr_flags & NDR_BUFFERS)) goto done; + if (r->client) { + NDR_CHECK(ndr_push_unistr(ndr, r->client)); + } + if (r->user) { + NDR_CHECK(ndr_push_unistr(ndr, r->user)); + } +done: + return NT_STATUS_OK; +} + +static NTSTATUS ndr_push_spoolss_UserLevel(struct ndr_push *ndr, int ndr_flags, uint16 level, union spoolss_UserLevel *r) +{ + if (!(ndr_flags & NDR_SCALARS)) goto buffers; + NDR_CHECK(ndr_push_uint16(ndr, level)); + switch (level) { + case 1: + NDR_CHECK(ndr_push_ptr(ndr, r->level1)); + break; + + default: + return ndr_push_error(ndr, NDR_ERR_BAD_SWITCH, "Bad switch value %u", level); + } +buffers: + if (!(ndr_flags & NDR_BUFFERS)) goto done; + switch (level) { + case 1: + if (r->level1) { + NDR_CHECK(ndr_push_spoolss_UserLevel1(ndr, NDR_SCALARS|NDR_BUFFERS, r->level1)); + } + break; + + default: + return ndr_push_error(ndr, NDR_ERR_BAD_SWITCH, "Bad switch value %u", level); + } +done: + return NT_STATUS_OK; +} + +NTSTATUS ndr_push_spoolss_OpenPrinterEx(struct ndr_push *ndr, struct spoolss_OpenPrinterEx *r) +{ + NDR_CHECK(ndr_push_ptr(ndr, r->in.printername)); + if (r->in.printername) { + NDR_CHECK(ndr_push_unistr(ndr, r->in.printername)); + } + NDR_CHECK(ndr_push_ptr(ndr, r->in.datatype)); + if (r->in.datatype) { + NDR_CHECK(ndr_push_unistr(ndr, r->in.datatype)); + } + NDR_CHECK(ndr_push_spoolss_DevmodeContainer(ndr, NDR_SCALARS|NDR_BUFFERS, &r->in.devmode_ctr)); + NDR_CHECK(ndr_push_uint32(ndr, r->in.access_required)); + NDR_CHECK(ndr_push_uint32(ndr, r->in.level)); + NDR_CHECK(ndr_push_spoolss_UserLevel(ndr, NDR_SCALARS|NDR_BUFFERS, r->in.level, &r->in.userlevel)); + + return NT_STATUS_OK; +} + +NTSTATUS ndr_push_spoolss_46(struct ndr_push *ndr, struct spoolss_46 *r) +{ + + return NT_STATUS_OK; +} + +NTSTATUS ndr_push_spoolss_47(struct ndr_push *ndr, struct spoolss_47 *r) +{ + + return NT_STATUS_OK; +} + +NTSTATUS ndr_push_spoolss_48(struct ndr_push *ndr, struct spoolss_48 *r) +{ + + return NT_STATUS_OK; +} + +NTSTATUS ndr_push_spoolss_49(struct ndr_push *ndr, struct spoolss_49 *r) +{ + + return NT_STATUS_OK; +} + +NTSTATUS ndr_push_spoolss_4a(struct ndr_push *ndr, struct spoolss_4a *r) +{ + + return NT_STATUS_OK; +} + +NTSTATUS ndr_push_spoolss_4b(struct ndr_push *ndr, struct spoolss_4b *r) +{ + + return NT_STATUS_OK; +} + +NTSTATUS ndr_push_spoolss_4c(struct ndr_push *ndr, struct spoolss_4c *r) +{ + + return NT_STATUS_OK; +} + +NTSTATUS ndr_push_spoolss_4d(struct ndr_push *ndr, struct spoolss_4d *r) +{ + + return NT_STATUS_OK; +} + +NTSTATUS ndr_push_spoolss_4e(struct ndr_push *ndr, struct spoolss_4e *r) +{ + + return NT_STATUS_OK; +} + +NTSTATUS ndr_push_spoolss_4f(struct ndr_push *ndr, struct spoolss_4f *r) +{ + + return NT_STATUS_OK; +} + +NTSTATUS ndr_push_spoolss_50(struct ndr_push *ndr, struct spoolss_50 *r) +{ + + return NT_STATUS_OK; +} + +NTSTATUS ndr_push_spoolss_51(struct ndr_push *ndr, struct spoolss_51 *r) +{ + + return NT_STATUS_OK; +} + +NTSTATUS ndr_push_spoolss_52(struct ndr_push *ndr, struct spoolss_52 *r) +{ + + return NT_STATUS_OK; +} + +NTSTATUS ndr_push_spoolss_53(struct ndr_push *ndr, struct spoolss_53 *r) +{ + + return NT_STATUS_OK; +} + +NTSTATUS ndr_push_spoolss_54(struct ndr_push *ndr, struct spoolss_54 *r) +{ + + return NT_STATUS_OK; +} + +NTSTATUS ndr_push_spoolss_55(struct ndr_push *ndr, struct spoolss_55 *r) +{ + + return NT_STATUS_OK; +} + +NTSTATUS ndr_push_spoolss_56(struct ndr_push *ndr, struct spoolss_56 *r) +{ + + return NT_STATUS_OK; +} + +NTSTATUS ndr_push_spoolss_57(struct ndr_push *ndr, struct spoolss_57 *r) +{ + + return NT_STATUS_OK; +} + +NTSTATUS ndr_push_spoolss_58(struct ndr_push *ndr, struct spoolss_58 *r) +{ + + return NT_STATUS_OK; +} + +NTSTATUS ndr_push_spoolss_59(struct ndr_push *ndr, struct spoolss_59 *r) +{ + + return NT_STATUS_OK; +} + +NTSTATUS ndr_push_spoolss_5a(struct ndr_push *ndr, struct spoolss_5a *r) +{ + + return NT_STATUS_OK; +} + +NTSTATUS ndr_push_spoolss_5b(struct ndr_push *ndr, struct spoolss_5b *r) +{ + + return NT_STATUS_OK; +} + +NTSTATUS ndr_push_spoolss_5c(struct ndr_push *ndr, struct spoolss_5c *r) +{ + + return NT_STATUS_OK; +} + +NTSTATUS ndr_push_spoolss_5d(struct ndr_push *ndr, struct spoolss_5d *r) +{ + + return NT_STATUS_OK; +} + +NTSTATUS ndr_push_spoolss_5e(struct ndr_push *ndr, struct spoolss_5e *r) +{ + + return NT_STATUS_OK; +} + +NTSTATUS ndr_push_spoolss_5f(struct ndr_push *ndr, struct spoolss_5f *r) +{ + + return NT_STATUS_OK; +} + +NTSTATUS ndr_pull_spoolss_00(struct ndr_pull *ndr, struct spoolss_00 *r) +{ + NDR_CHECK(ndr_pull_NTSTATUS(ndr, &r->out.result)); + + return NT_STATUS_OK; +} + +NTSTATUS ndr_pull_spoolss_01(struct ndr_pull *ndr, struct spoolss_01 *r) +{ + NDR_CHECK(ndr_pull_NTSTATUS(ndr, &r->out.result)); + + return NT_STATUS_OK; +} + +NTSTATUS ndr_pull_spoolss_02(struct ndr_pull *ndr, struct spoolss_02 *r) +{ + NDR_CHECK(ndr_pull_NTSTATUS(ndr, &r->out.result)); + + return NT_STATUS_OK; +} + +NTSTATUS ndr_pull_spoolss_03(struct ndr_pull *ndr, struct spoolss_03 *r) +{ + NDR_CHECK(ndr_pull_NTSTATUS(ndr, &r->out.result)); + + return NT_STATUS_OK; +} + +NTSTATUS ndr_pull_spoolss_04(struct ndr_pull *ndr, struct spoolss_04 *r) +{ + NDR_CHECK(ndr_pull_NTSTATUS(ndr, &r->out.result)); + + return NT_STATUS_OK; +} + +NTSTATUS ndr_pull_spoolss_05(struct ndr_pull *ndr, struct spoolss_05 *r) +{ + NDR_CHECK(ndr_pull_NTSTATUS(ndr, &r->out.result)); + + return NT_STATUS_OK; +} + +NTSTATUS ndr_pull_spoolss_06(struct ndr_pull *ndr, struct spoolss_06 *r) +{ + NDR_CHECK(ndr_pull_NTSTATUS(ndr, &r->out.result)); + + return NT_STATUS_OK; +} + +NTSTATUS ndr_pull_spoolss_07(struct ndr_pull *ndr, struct spoolss_07 *r) +{ + NDR_CHECK(ndr_pull_NTSTATUS(ndr, &r->out.result)); + + return NT_STATUS_OK; +} + +NTSTATUS ndr_pull_spoolss_08(struct ndr_pull *ndr, struct spoolss_08 *r) +{ + NDR_CHECK(ndr_pull_NTSTATUS(ndr, &r->out.result)); + + return NT_STATUS_OK; +} + +NTSTATUS ndr_pull_spoolss_09(struct ndr_pull *ndr, struct spoolss_09 *r) +{ + NDR_CHECK(ndr_pull_NTSTATUS(ndr, &r->out.result)); + + return NT_STATUS_OK; +} + +NTSTATUS ndr_pull_spoolss_0a(struct ndr_pull *ndr, struct spoolss_0a *r) +{ + NDR_CHECK(ndr_pull_NTSTATUS(ndr, &r->out.result)); + + return NT_STATUS_OK; +} + +NTSTATUS ndr_pull_spoolss_0b(struct ndr_pull *ndr, struct spoolss_0b *r) +{ + NDR_CHECK(ndr_pull_NTSTATUS(ndr, &r->out.result)); + + return NT_STATUS_OK; +} + +NTSTATUS ndr_pull_spoolss_0c(struct ndr_pull *ndr, struct spoolss_0c *r) +{ + NDR_CHECK(ndr_pull_NTSTATUS(ndr, &r->out.result)); + + return NT_STATUS_OK; +} + +NTSTATUS ndr_pull_spoolss_0d(struct ndr_pull *ndr, struct spoolss_0d *r) +{ + NDR_CHECK(ndr_pull_NTSTATUS(ndr, &r->out.result)); + + return NT_STATUS_OK; +} + +NTSTATUS ndr_pull_spoolss_0e(struct ndr_pull *ndr, struct spoolss_0e *r) +{ + NDR_CHECK(ndr_pull_NTSTATUS(ndr, &r->out.result)); + + return NT_STATUS_OK; +} + +NTSTATUS ndr_pull_spoolss_0f(struct ndr_pull *ndr, struct spoolss_0f *r) +{ + NDR_CHECK(ndr_pull_NTSTATUS(ndr, &r->out.result)); + + return NT_STATUS_OK; +} + +NTSTATUS ndr_pull_spoolss_10(struct ndr_pull *ndr, struct spoolss_10 *r) +{ + NDR_CHECK(ndr_pull_NTSTATUS(ndr, &r->out.result)); + + return NT_STATUS_OK; +} + +NTSTATUS ndr_pull_spoolss_11(struct ndr_pull *ndr, struct spoolss_11 *r) +{ + NDR_CHECK(ndr_pull_NTSTATUS(ndr, &r->out.result)); + + return NT_STATUS_OK; +} + +NTSTATUS ndr_pull_spoolss_12(struct ndr_pull *ndr, struct spoolss_12 *r) +{ + NDR_CHECK(ndr_pull_NTSTATUS(ndr, &r->out.result)); + + return NT_STATUS_OK; +} + +NTSTATUS ndr_pull_spoolss_13(struct ndr_pull *ndr, struct spoolss_13 *r) +{ + NDR_CHECK(ndr_pull_NTSTATUS(ndr, &r->out.result)); + + return NT_STATUS_OK; +} + +NTSTATUS ndr_pull_spoolss_14(struct ndr_pull *ndr, struct spoolss_14 *r) +{ + NDR_CHECK(ndr_pull_NTSTATUS(ndr, &r->out.result)); + + return NT_STATUS_OK; +} + +NTSTATUS ndr_pull_spoolss_15(struct ndr_pull *ndr, struct spoolss_15 *r) +{ + NDR_CHECK(ndr_pull_NTSTATUS(ndr, &r->out.result)); + + return NT_STATUS_OK; +} + +NTSTATUS ndr_pull_spoolss_16(struct ndr_pull *ndr, struct spoolss_16 *r) +{ + NDR_CHECK(ndr_pull_NTSTATUS(ndr, &r->out.result)); + + return NT_STATUS_OK; +} + +NTSTATUS ndr_pull_spoolss_17(struct ndr_pull *ndr, struct spoolss_17 *r) +{ + NDR_CHECK(ndr_pull_NTSTATUS(ndr, &r->out.result)); + + return NT_STATUS_OK; +} + +NTSTATUS ndr_pull_spoolss_18(struct ndr_pull *ndr, struct spoolss_18 *r) +{ + NDR_CHECK(ndr_pull_NTSTATUS(ndr, &r->out.result)); + + return NT_STATUS_OK; +} + +NTSTATUS ndr_pull_spoolss_19(struct ndr_pull *ndr, struct spoolss_19 *r) +{ + NDR_CHECK(ndr_pull_NTSTATUS(ndr, &r->out.result)); + + return NT_STATUS_OK; +} + +NTSTATUS ndr_pull_spoolss_1a(struct ndr_pull *ndr, struct spoolss_1a *r) +{ + NDR_CHECK(ndr_pull_NTSTATUS(ndr, &r->out.result)); + + return NT_STATUS_OK; +} + +NTSTATUS ndr_pull_spoolss_1b(struct ndr_pull *ndr, struct spoolss_1b *r) +{ + NDR_CHECK(ndr_pull_NTSTATUS(ndr, &r->out.result)); + + return NT_STATUS_OK; +} + +NTSTATUS ndr_pull_spoolss_1c(struct ndr_pull *ndr, struct spoolss_1c *r) +{ + NDR_CHECK(ndr_pull_NTSTATUS(ndr, &r->out.result)); + + return NT_STATUS_OK; +} + +NTSTATUS ndr_pull_spoolss_1d(struct ndr_pull *ndr, struct spoolss_1d *r) +{ + NDR_CHECK(ndr_pull_NTSTATUS(ndr, &r->out.result)); + + return NT_STATUS_OK; +} + +NTSTATUS ndr_pull_spoolss_1e(struct ndr_pull *ndr, struct spoolss_1e *r) +{ + NDR_CHECK(ndr_pull_NTSTATUS(ndr, &r->out.result)); + + return NT_STATUS_OK; +} + +NTSTATUS ndr_pull_spoolss_1f(struct ndr_pull *ndr, struct spoolss_1f *r) +{ + NDR_CHECK(ndr_pull_NTSTATUS(ndr, &r->out.result)); + + return NT_STATUS_OK; +} + +NTSTATUS ndr_pull_spoolss_20(struct ndr_pull *ndr, struct spoolss_20 *r) +{ + NDR_CHECK(ndr_pull_NTSTATUS(ndr, &r->out.result)); + + return NT_STATUS_OK; +} + +NTSTATUS ndr_pull_spoolss_21(struct ndr_pull *ndr, struct spoolss_21 *r) +{ + NDR_CHECK(ndr_pull_NTSTATUS(ndr, &r->out.result)); + + return NT_STATUS_OK; +} + +NTSTATUS ndr_pull_spoolss_22(struct ndr_pull *ndr, struct spoolss_22 *r) +{ + NDR_CHECK(ndr_pull_NTSTATUS(ndr, &r->out.result)); + + return NT_STATUS_OK; +} + +NTSTATUS ndr_pull_spoolss_23(struct ndr_pull *ndr, struct spoolss_23 *r) +{ + NDR_CHECK(ndr_pull_NTSTATUS(ndr, &r->out.result)); + + return NT_STATUS_OK; +} + +NTSTATUS ndr_pull_spoolss_24(struct ndr_pull *ndr, struct spoolss_24 *r) +{ + NDR_CHECK(ndr_pull_NTSTATUS(ndr, &r->out.result)); + + return NT_STATUS_OK; +} + +NTSTATUS ndr_pull_spoolss_25(struct ndr_pull *ndr, struct spoolss_25 *r) +{ + NDR_CHECK(ndr_pull_NTSTATUS(ndr, &r->out.result)); + + return NT_STATUS_OK; +} + +NTSTATUS ndr_pull_spoolss_26(struct ndr_pull *ndr, struct spoolss_26 *r) +{ + NDR_CHECK(ndr_pull_NTSTATUS(ndr, &r->out.result)); + + return NT_STATUS_OK; +} + +NTSTATUS ndr_pull_spoolss_27(struct ndr_pull *ndr, struct spoolss_27 *r) +{ + NDR_CHECK(ndr_pull_NTSTATUS(ndr, &r->out.result)); + + return NT_STATUS_OK; +} + +NTSTATUS ndr_pull_spoolss_28(struct ndr_pull *ndr, struct spoolss_28 *r) +{ + NDR_CHECK(ndr_pull_NTSTATUS(ndr, &r->out.result)); + + return NT_STATUS_OK; +} + +NTSTATUS ndr_pull_spoolss_29(struct ndr_pull *ndr, struct spoolss_29 *r) +{ + NDR_CHECK(ndr_pull_NTSTATUS(ndr, &r->out.result)); + + return NT_STATUS_OK; +} + +NTSTATUS ndr_pull_spoolss_2a(struct ndr_pull *ndr, struct spoolss_2a *r) +{ + NDR_CHECK(ndr_pull_NTSTATUS(ndr, &r->out.result)); + + return NT_STATUS_OK; +} + +NTSTATUS ndr_pull_spoolss_2b(struct ndr_pull *ndr, struct spoolss_2b *r) +{ + NDR_CHECK(ndr_pull_NTSTATUS(ndr, &r->out.result)); + + return NT_STATUS_OK; +} + +NTSTATUS ndr_pull_spoolss_2c(struct ndr_pull *ndr, struct spoolss_2c *r) +{ + NDR_CHECK(ndr_pull_NTSTATUS(ndr, &r->out.result)); + + return NT_STATUS_OK; +} + +NTSTATUS ndr_pull_spoolss_2d(struct ndr_pull *ndr, struct spoolss_2d *r) +{ + NDR_CHECK(ndr_pull_NTSTATUS(ndr, &r->out.result)); + + return NT_STATUS_OK; +} + +NTSTATUS ndr_pull_spoolss_2e(struct ndr_pull *ndr, struct spoolss_2e *r) +{ + NDR_CHECK(ndr_pull_NTSTATUS(ndr, &r->out.result)); + + return NT_STATUS_OK; +} + +NTSTATUS ndr_pull_spoolss_2f(struct ndr_pull *ndr, struct spoolss_2f *r) +{ + NDR_CHECK(ndr_pull_NTSTATUS(ndr, &r->out.result)); + + return NT_STATUS_OK; +} + +NTSTATUS ndr_pull_spoolss_30(struct ndr_pull *ndr, struct spoolss_30 *r) +{ + NDR_CHECK(ndr_pull_NTSTATUS(ndr, &r->out.result)); + + return NT_STATUS_OK; +} + +NTSTATUS ndr_pull_spoolss_31(struct ndr_pull *ndr, struct spoolss_31 *r) +{ + NDR_CHECK(ndr_pull_NTSTATUS(ndr, &r->out.result)); + + return NT_STATUS_OK; +} + +NTSTATUS ndr_pull_spoolss_32(struct ndr_pull *ndr, struct spoolss_32 *r) +{ + NDR_CHECK(ndr_pull_NTSTATUS(ndr, &r->out.result)); + + return NT_STATUS_OK; +} + +NTSTATUS ndr_pull_spoolss_33(struct ndr_pull *ndr, struct spoolss_33 *r) +{ + NDR_CHECK(ndr_pull_NTSTATUS(ndr, &r->out.result)); + + return NT_STATUS_OK; +} + +NTSTATUS ndr_pull_spoolss_34(struct ndr_pull *ndr, struct spoolss_34 *r) +{ + NDR_CHECK(ndr_pull_NTSTATUS(ndr, &r->out.result)); + + return NT_STATUS_OK; +} + +NTSTATUS ndr_pull_spoolss_35(struct ndr_pull *ndr, struct spoolss_35 *r) +{ + NDR_CHECK(ndr_pull_NTSTATUS(ndr, &r->out.result)); + + return NT_STATUS_OK; +} + +NTSTATUS ndr_pull_spoolss_36(struct ndr_pull *ndr, struct spoolss_36 *r) +{ + NDR_CHECK(ndr_pull_NTSTATUS(ndr, &r->out.result)); + + return NT_STATUS_OK; +} + +NTSTATUS ndr_pull_spoolss_37(struct ndr_pull *ndr, struct spoolss_37 *r) +{ + NDR_CHECK(ndr_pull_NTSTATUS(ndr, &r->out.result)); + + return NT_STATUS_OK; +} + +NTSTATUS ndr_pull_spoolss_38(struct ndr_pull *ndr, struct spoolss_38 *r) +{ + NDR_CHECK(ndr_pull_NTSTATUS(ndr, &r->out.result)); + + return NT_STATUS_OK; +} + +NTSTATUS ndr_pull_spoolss_39(struct ndr_pull *ndr, struct spoolss_39 *r) +{ + NDR_CHECK(ndr_pull_NTSTATUS(ndr, &r->out.result)); + + return NT_STATUS_OK; +} + +NTSTATUS ndr_pull_spoolss_3a(struct ndr_pull *ndr, struct spoolss_3a *r) +{ + NDR_CHECK(ndr_pull_NTSTATUS(ndr, &r->out.result)); + + return NT_STATUS_OK; +} + +NTSTATUS ndr_pull_spoolss_3b(struct ndr_pull *ndr, struct spoolss_3b *r) +{ + NDR_CHECK(ndr_pull_NTSTATUS(ndr, &r->out.result)); + + return NT_STATUS_OK; +} + +NTSTATUS ndr_pull_spoolss_3c(struct ndr_pull *ndr, struct spoolss_3c *r) +{ + NDR_CHECK(ndr_pull_NTSTATUS(ndr, &r->out.result)); + + return NT_STATUS_OK; +} + +NTSTATUS ndr_pull_spoolss_3d(struct ndr_pull *ndr, struct spoolss_3d *r) +{ + NDR_CHECK(ndr_pull_NTSTATUS(ndr, &r->out.result)); + + return NT_STATUS_OK; +} + +NTSTATUS ndr_pull_spoolss_3e(struct ndr_pull *ndr, struct spoolss_3e *r) +{ + NDR_CHECK(ndr_pull_NTSTATUS(ndr, &r->out.result)); + + return NT_STATUS_OK; +} + +NTSTATUS ndr_pull_spoolss_3f(struct ndr_pull *ndr, struct spoolss_3f *r) +{ + NDR_CHECK(ndr_pull_NTSTATUS(ndr, &r->out.result)); + + return NT_STATUS_OK; +} + +NTSTATUS ndr_pull_spoolss_40(struct ndr_pull *ndr, struct spoolss_40 *r) +{ + NDR_CHECK(ndr_pull_NTSTATUS(ndr, &r->out.result)); + + return NT_STATUS_OK; +} + +NTSTATUS ndr_pull_spoolss_41(struct ndr_pull *ndr, struct spoolss_41 *r) +{ + NDR_CHECK(ndr_pull_NTSTATUS(ndr, &r->out.result)); + + return NT_STATUS_OK; +} + +NTSTATUS ndr_pull_spoolss_42(struct ndr_pull *ndr, struct spoolss_42 *r) +{ + NDR_CHECK(ndr_pull_NTSTATUS(ndr, &r->out.result)); + + return NT_STATUS_OK; +} + +NTSTATUS ndr_pull_spoolss_43(struct ndr_pull *ndr, struct spoolss_43 *r) +{ + NDR_CHECK(ndr_pull_NTSTATUS(ndr, &r->out.result)); + + return NT_STATUS_OK; +} + +NTSTATUS ndr_pull_spoolss_44(struct ndr_pull *ndr, struct spoolss_44 *r) +{ + NDR_CHECK(ndr_pull_NTSTATUS(ndr, &r->out.result)); + + return NT_STATUS_OK; +} + +NTSTATUS ndr_pull_spoolss_OpenPrinterEx(struct ndr_pull *ndr, struct spoolss_OpenPrinterEx *r) +{ + uint32 _ptr_handle; + NDR_CHECK(ndr_pull_uint32(ndr, &_ptr_handle)); + if (_ptr_handle) { + NDR_ALLOC(ndr, r->out.handle); + } else { + r->out.handle = NULL; + } + if (r->out.handle) { + NDR_CHECK(ndr_pull_policy_handle(ndr, r->out.handle)); + } + NDR_CHECK(ndr_pull_NTSTATUS(ndr, &r->out.result)); + + return NT_STATUS_OK; +} + +NTSTATUS ndr_pull_spoolss_46(struct ndr_pull *ndr, struct spoolss_46 *r) +{ + NDR_CHECK(ndr_pull_NTSTATUS(ndr, &r->out.result)); + + return NT_STATUS_OK; +} + +NTSTATUS ndr_pull_spoolss_47(struct ndr_pull *ndr, struct spoolss_47 *r) +{ + NDR_CHECK(ndr_pull_NTSTATUS(ndr, &r->out.result)); + + return NT_STATUS_OK; +} + +NTSTATUS ndr_pull_spoolss_48(struct ndr_pull *ndr, struct spoolss_48 *r) +{ + NDR_CHECK(ndr_pull_NTSTATUS(ndr, &r->out.result)); + + return NT_STATUS_OK; +} + +NTSTATUS ndr_pull_spoolss_49(struct ndr_pull *ndr, struct spoolss_49 *r) +{ + NDR_CHECK(ndr_pull_NTSTATUS(ndr, &r->out.result)); + + return NT_STATUS_OK; +} + +NTSTATUS ndr_pull_spoolss_4a(struct ndr_pull *ndr, struct spoolss_4a *r) +{ + NDR_CHECK(ndr_pull_NTSTATUS(ndr, &r->out.result)); + + return NT_STATUS_OK; +} + +NTSTATUS ndr_pull_spoolss_4b(struct ndr_pull *ndr, struct spoolss_4b *r) +{ + NDR_CHECK(ndr_pull_NTSTATUS(ndr, &r->out.result)); + + return NT_STATUS_OK; +} + +NTSTATUS ndr_pull_spoolss_4c(struct ndr_pull *ndr, struct spoolss_4c *r) +{ + NDR_CHECK(ndr_pull_NTSTATUS(ndr, &r->out.result)); + + return NT_STATUS_OK; +} + +NTSTATUS ndr_pull_spoolss_4d(struct ndr_pull *ndr, struct spoolss_4d *r) +{ + NDR_CHECK(ndr_pull_NTSTATUS(ndr, &r->out.result)); + + return NT_STATUS_OK; +} + +NTSTATUS ndr_pull_spoolss_4e(struct ndr_pull *ndr, struct spoolss_4e *r) +{ + NDR_CHECK(ndr_pull_NTSTATUS(ndr, &r->out.result)); + + return NT_STATUS_OK; +} + +NTSTATUS ndr_pull_spoolss_4f(struct ndr_pull *ndr, struct spoolss_4f *r) +{ + NDR_CHECK(ndr_pull_NTSTATUS(ndr, &r->out.result)); + + return NT_STATUS_OK; +} + +NTSTATUS ndr_pull_spoolss_50(struct ndr_pull *ndr, struct spoolss_50 *r) +{ + NDR_CHECK(ndr_pull_NTSTATUS(ndr, &r->out.result)); + + return NT_STATUS_OK; +} + +NTSTATUS ndr_pull_spoolss_51(struct ndr_pull *ndr, struct spoolss_51 *r) +{ + NDR_CHECK(ndr_pull_NTSTATUS(ndr, &r->out.result)); + + return NT_STATUS_OK; +} + +NTSTATUS ndr_pull_spoolss_52(struct ndr_pull *ndr, struct spoolss_52 *r) +{ + NDR_CHECK(ndr_pull_NTSTATUS(ndr, &r->out.result)); + + return NT_STATUS_OK; +} + +NTSTATUS ndr_pull_spoolss_53(struct ndr_pull *ndr, struct spoolss_53 *r) +{ + NDR_CHECK(ndr_pull_NTSTATUS(ndr, &r->out.result)); + + return NT_STATUS_OK; +} + +NTSTATUS ndr_pull_spoolss_54(struct ndr_pull *ndr, struct spoolss_54 *r) +{ + NDR_CHECK(ndr_pull_NTSTATUS(ndr, &r->out.result)); + + return NT_STATUS_OK; +} + +NTSTATUS ndr_pull_spoolss_55(struct ndr_pull *ndr, struct spoolss_55 *r) +{ + NDR_CHECK(ndr_pull_NTSTATUS(ndr, &r->out.result)); + + return NT_STATUS_OK; +} + +NTSTATUS ndr_pull_spoolss_56(struct ndr_pull *ndr, struct spoolss_56 *r) +{ + NDR_CHECK(ndr_pull_NTSTATUS(ndr, &r->out.result)); + + return NT_STATUS_OK; +} + +NTSTATUS ndr_pull_spoolss_57(struct ndr_pull *ndr, struct spoolss_57 *r) +{ + NDR_CHECK(ndr_pull_NTSTATUS(ndr, &r->out.result)); + + return NT_STATUS_OK; +} + +NTSTATUS ndr_pull_spoolss_58(struct ndr_pull *ndr, struct spoolss_58 *r) +{ + NDR_CHECK(ndr_pull_NTSTATUS(ndr, &r->out.result)); + + return NT_STATUS_OK; +} + +NTSTATUS ndr_pull_spoolss_59(struct ndr_pull *ndr, struct spoolss_59 *r) +{ + NDR_CHECK(ndr_pull_NTSTATUS(ndr, &r->out.result)); + + return NT_STATUS_OK; +} + +NTSTATUS ndr_pull_spoolss_5a(struct ndr_pull *ndr, struct spoolss_5a *r) +{ + NDR_CHECK(ndr_pull_NTSTATUS(ndr, &r->out.result)); + + return NT_STATUS_OK; +} + +NTSTATUS ndr_pull_spoolss_5b(struct ndr_pull *ndr, struct spoolss_5b *r) +{ + NDR_CHECK(ndr_pull_NTSTATUS(ndr, &r->out.result)); + + return NT_STATUS_OK; +} + +NTSTATUS ndr_pull_spoolss_5c(struct ndr_pull *ndr, struct spoolss_5c *r) +{ + NDR_CHECK(ndr_pull_NTSTATUS(ndr, &r->out.result)); + + return NT_STATUS_OK; +} + +NTSTATUS ndr_pull_spoolss_5d(struct ndr_pull *ndr, struct spoolss_5d *r) +{ + NDR_CHECK(ndr_pull_NTSTATUS(ndr, &r->out.result)); + + return NT_STATUS_OK; +} + +NTSTATUS ndr_pull_spoolss_5e(struct ndr_pull *ndr, struct spoolss_5e *r) +{ + NDR_CHECK(ndr_pull_NTSTATUS(ndr, &r->out.result)); + + return NT_STATUS_OK; +} + +NTSTATUS ndr_pull_spoolss_5f(struct ndr_pull *ndr, struct spoolss_5f *r) +{ + NDR_CHECK(ndr_pull_NTSTATUS(ndr, &r->out.result)); + + return NT_STATUS_OK; +} + +void ndr_print_spoolss_Devmode(struct ndr_print *ndr, const char *name, struct spoolss_Devmode *r) +{ + ndr_print_struct(ndr, name, "spoolss_Devmode"); + ndr->depth++; + ndr_print_uint32(ndr, "foo", r->foo); + ndr->depth--; +} + +void ndr_print_spoolss_DevmodeContainer(struct ndr_print *ndr, const char *name, struct spoolss_DevmodeContainer *r) +{ + ndr_print_struct(ndr, name, "spoolss_DevmodeContainer"); + ndr->depth++; + ndr_print_uint32(ndr, "size", r->size); + ndr_print_ptr(ndr, "devmode", r->devmode); + ndr->depth++; + if (r->devmode) { + ndr_print_spoolss_Devmode(ndr, "devmode", r->devmode); + } + ndr->depth--; + ndr->depth--; +} + +void ndr_print_spoolss_UserLevel1(struct ndr_print *ndr, const char *name, struct spoolss_UserLevel1 *r) +{ + ndr_print_struct(ndr, name, "spoolss_UserLevel1"); + ndr->depth++; + ndr_print_uint32(ndr, "size", r->size); + ndr_print_ptr(ndr, "client", r->client); + ndr->depth++; + if (r->client) { + ndr_print_unistr(ndr, "client", r->client); + } + ndr->depth--; + ndr_print_ptr(ndr, "user", r->user); + ndr->depth++; + if (r->user) { + ndr_print_unistr(ndr, "user", r->user); + } + ndr->depth--; + ndr_print_uint32(ndr, "build", r->build); + ndr_print_uint32(ndr, "major", r->major); + ndr_print_uint32(ndr, "minor", r->minor); + ndr_print_uint32(ndr, "processor", r->processor); + ndr->depth--; +} + +void ndr_print_spoolss_UserLevel(struct ndr_print *ndr, const char *name, uint16 level, union spoolss_UserLevel *r) +{ + ndr_print_union(ndr, name, level, "spoolss_UserLevel"); + switch (level) { + case 1: + ndr_print_ptr(ndr, "level1", r->level1); + ndr->depth++; + if (r->level1) { + ndr_print_spoolss_UserLevel1(ndr, "level1", r->level1); + } + ndr->depth--; + break; + + default: + ndr_print_bad_level(ndr, name, level); + } +} + diff --git a/source4/librpc/ndr/ndr_spoolss.h b/source4/librpc/ndr/ndr_spoolss.h new file mode 100644 index 0000000000..a0fa0d6e14 --- /dev/null +++ b/source4/librpc/ndr/ndr_spoolss.h @@ -0,0 +1,1088 @@ +/* header auto-generated by pidl */ + +struct spoolss_00 { + struct { + } in; + + struct { + NTSTATUS result; + } out; + +}; + +struct spoolss_01 { + struct { + } in; + + struct { + NTSTATUS result; + } out; + +}; + +struct spoolss_02 { + struct { + } in; + + struct { + NTSTATUS result; + } out; + +}; + +struct spoolss_03 { + struct { + } in; + + struct { + NTSTATUS result; + } out; + +}; + +struct spoolss_04 { + struct { + } in; + + struct { + NTSTATUS result; + } out; + +}; + +struct spoolss_05 { + struct { + } in; + + struct { + NTSTATUS result; + } out; + +}; + +struct spoolss_06 { + struct { + } in; + + struct { + NTSTATUS result; + } out; + +}; + +struct spoolss_07 { + struct { + } in; + + struct { + NTSTATUS result; + } out; + +}; + +struct spoolss_08 { + struct { + } in; + + struct { + NTSTATUS result; + } out; + +}; + +struct spoolss_09 { + struct { + } in; + + struct { + NTSTATUS result; + } out; + +}; + +struct spoolss_0a { + struct { + } in; + + struct { + NTSTATUS result; + } out; + +}; + +struct spoolss_0b { + struct { + } in; + + struct { + NTSTATUS result; + } out; + +}; + +struct spoolss_0c { + struct { + } in; + + struct { + NTSTATUS result; + } out; + +}; + +struct spoolss_0d { + struct { + } in; + + struct { + NTSTATUS result; + } out; + +}; + +struct spoolss_0e { + struct { + } in; + + struct { + NTSTATUS result; + } out; + +}; + +struct spoolss_0f { + struct { + } in; + + struct { + NTSTATUS result; + } out; + +}; + +struct spoolss_10 { + struct { + } in; + + struct { + NTSTATUS result; + } out; + +}; + +struct spoolss_11 { + struct { + } in; + + struct { + NTSTATUS result; + } out; + +}; + +struct spoolss_12 { + struct { + } in; + + struct { + NTSTATUS result; + } out; + +}; + +struct spoolss_13 { + struct { + } in; + + struct { + NTSTATUS result; + } out; + +}; + +struct spoolss_14 { + struct { + } in; + + struct { + NTSTATUS result; + } out; + +}; + +struct spoolss_15 { + struct { + } in; + + struct { + NTSTATUS result; + } out; + +}; + +struct spoolss_16 { + struct { + } in; + + struct { + NTSTATUS result; + } out; + +}; + +struct spoolss_17 { + struct { + } in; + + struct { + NTSTATUS result; + } out; + +}; + +struct spoolss_18 { + struct { + } in; + + struct { + NTSTATUS result; + } out; + +}; + +struct spoolss_19 { + struct { + } in; + + struct { + NTSTATUS result; + } out; + +}; + +struct spoolss_1a { + struct { + } in; + + struct { + NTSTATUS result; + } out; + +}; + +struct spoolss_1b { + struct { + } in; + + struct { + NTSTATUS result; + } out; + +}; + +struct spoolss_1c { + struct { + } in; + + struct { + NTSTATUS result; + } out; + +}; + +struct spoolss_1d { + struct { + } in; + + struct { + NTSTATUS result; + } out; + +}; + +struct spoolss_1e { + struct { + } in; + + struct { + NTSTATUS result; + } out; + +}; + +struct spoolss_1f { + struct { + } in; + + struct { + NTSTATUS result; + } out; + +}; + +struct spoolss_20 { + struct { + } in; + + struct { + NTSTATUS result; + } out; + +}; + +struct spoolss_21 { + struct { + } in; + + struct { + NTSTATUS result; + } out; + +}; + +struct spoolss_22 { + struct { + } in; + + struct { + NTSTATUS result; + } out; + +}; + +struct spoolss_23 { + struct { + } in; + + struct { + NTSTATUS result; + } out; + +}; + +struct spoolss_24 { + struct { + } in; + + struct { + NTSTATUS result; + } out; + +}; + +struct spoolss_25 { + struct { + } in; + + struct { + NTSTATUS result; + } out; + +}; + +struct spoolss_26 { + struct { + } in; + + struct { + NTSTATUS result; + } out; + +}; + +struct spoolss_27 { + struct { + } in; + + struct { + NTSTATUS result; + } out; + +}; + +struct spoolss_28 { + struct { + } in; + + struct { + NTSTATUS result; + } out; + +}; + +struct spoolss_29 { + struct { + } in; + + struct { + NTSTATUS result; + } out; + +}; + +struct spoolss_2a { + struct { + } in; + + struct { + NTSTATUS result; + } out; + +}; + +struct spoolss_2b { + struct { + } in; + + struct { + NTSTATUS result; + } out; + +}; + +struct spoolss_2c { + struct { + } in; + + struct { + NTSTATUS result; + } out; + +}; + +struct spoolss_2d { + struct { + } in; + + struct { + NTSTATUS result; + } out; + +}; + +struct spoolss_2e { + struct { + } in; + + struct { + NTSTATUS result; + } out; + +}; + +struct spoolss_2f { + struct { + } in; + + struct { + NTSTATUS result; + } out; + +}; + +struct spoolss_30 { + struct { + } in; + + struct { + NTSTATUS result; + } out; + +}; + +struct spoolss_31 { + struct { + } in; + + struct { + NTSTATUS result; + } out; + +}; + +struct spoolss_32 { + struct { + } in; + + struct { + NTSTATUS result; + } out; + +}; + +struct spoolss_33 { + struct { + } in; + + struct { + NTSTATUS result; + } out; + +}; + +struct spoolss_34 { + struct { + } in; + + struct { + NTSTATUS result; + } out; + +}; + +struct spoolss_35 { + struct { + } in; + + struct { + NTSTATUS result; + } out; + +}; + +struct spoolss_36 { + struct { + } in; + + struct { + NTSTATUS result; + } out; + +}; + +struct spoolss_37 { + struct { + } in; + + struct { + NTSTATUS result; + } out; + +}; + +struct spoolss_38 { + struct { + } in; + + struct { + NTSTATUS result; + } out; + +}; + +struct spoolss_39 { + struct { + } in; + + struct { + NTSTATUS result; + } out; + +}; + +struct spoolss_3a { + struct { + } in; + + struct { + NTSTATUS result; + } out; + +}; + +struct spoolss_3b { + struct { + } in; + + struct { + NTSTATUS result; + } out; + +}; + +struct spoolss_3c { + struct { + } in; + + struct { + NTSTATUS result; + } out; + +}; + +struct spoolss_3d { + struct { + } in; + + struct { + NTSTATUS result; + } out; + +}; + +struct spoolss_3e { + struct { + } in; + + struct { + NTSTATUS result; + } out; + +}; + +struct spoolss_3f { + struct { + } in; + + struct { + NTSTATUS result; + } out; + +}; + +struct spoolss_40 { + struct { + } in; + + struct { + NTSTATUS result; + } out; + +}; + +struct spoolss_41 { + struct { + } in; + + struct { + NTSTATUS result; + } out; + +}; + +struct spoolss_42 { + struct { + } in; + + struct { + NTSTATUS result; + } out; + +}; + +struct spoolss_43 { + struct { + } in; + + struct { + NTSTATUS result; + } out; + +}; + +struct spoolss_44 { + struct { + } in; + + struct { + NTSTATUS result; + } out; + +}; + +struct spoolss_Devmode { + uint32 foo; +}; + +struct spoolss_DevmodeContainer { + uint32 size; + struct spoolss_Devmode *devmode; +}; + +struct spoolss_UserLevel1 { + uint32 size; + const char *client; + const char *user; + uint32 build; + uint32 major; + uint32 minor; + uint32 processor; +}; + +union spoolss_UserLevel { +/* [case(1)] */ struct spoolss_UserLevel1 *level1; +}; + +struct spoolss_OpenPrinterEx { + struct { + const char *printername; + const char *datatype; + struct spoolss_DevmodeContainer devmode_ctr; + uint32 access_required; + uint32 level; + union spoolss_UserLevel userlevel; + } in; + + struct { + struct policy_handle *handle; + NTSTATUS result; + } out; + +}; + +struct spoolss_46 { + struct { + } in; + + struct { + NTSTATUS result; + } out; + +}; + +struct spoolss_47 { + struct { + } in; + + struct { + NTSTATUS result; + } out; + +}; + +struct spoolss_48 { + struct { + } in; + + struct { + NTSTATUS result; + } out; + +}; + +struct spoolss_49 { + struct { + } in; + + struct { + NTSTATUS result; + } out; + +}; + +struct spoolss_4a { + struct { + } in; + + struct { + NTSTATUS result; + } out; + +}; + +struct spoolss_4b { + struct { + } in; + + struct { + NTSTATUS result; + } out; + +}; + +struct spoolss_4c { + struct { + } in; + + struct { + NTSTATUS result; + } out; + +}; + +struct spoolss_4d { + struct { + } in; + + struct { + NTSTATUS result; + } out; + +}; + +struct spoolss_4e { + struct { + } in; + + struct { + NTSTATUS result; + } out; + +}; + +struct spoolss_4f { + struct { + } in; + + struct { + NTSTATUS result; + } out; + +}; + +struct spoolss_50 { + struct { + } in; + + struct { + NTSTATUS result; + } out; + +}; + +struct spoolss_51 { + struct { + } in; + + struct { + NTSTATUS result; + } out; + +}; + +struct spoolss_52 { + struct { + } in; + + struct { + NTSTATUS result; + } out; + +}; + +struct spoolss_53 { + struct { + } in; + + struct { + NTSTATUS result; + } out; + +}; + +struct spoolss_54 { + struct { + } in; + + struct { + NTSTATUS result; + } out; + +}; + +struct spoolss_55 { + struct { + } in; + + struct { + NTSTATUS result; + } out; + +}; + +struct spoolss_56 { + struct { + } in; + + struct { + NTSTATUS result; + } out; + +}; + +struct spoolss_57 { + struct { + } in; + + struct { + NTSTATUS result; + } out; + +}; + +struct spoolss_58 { + struct { + } in; + + struct { + NTSTATUS result; + } out; + +}; + +struct spoolss_59 { + struct { + } in; + + struct { + NTSTATUS result; + } out; + +}; + +struct spoolss_5a { + struct { + } in; + + struct { + NTSTATUS result; + } out; + +}; + +struct spoolss_5b { + struct { + } in; + + struct { + NTSTATUS result; + } out; + +}; + +struct spoolss_5c { + struct { + } in; + + struct { + NTSTATUS result; + } out; + +}; + +struct spoolss_5d { + struct { + } in; + + struct { + NTSTATUS result; + } out; + +}; + +struct spoolss_5e { + struct { + } in; + + struct { + NTSTATUS result; + } out; + +}; + +struct spoolss_5f { + struct { + } in; + + struct { + NTSTATUS result; + } out; + +}; + +#define DCERPC_SPOOLSS_00 0 +#define DCERPC_SPOOLSS_01 1 +#define DCERPC_SPOOLSS_02 2 +#define DCERPC_SPOOLSS_03 3 +#define DCERPC_SPOOLSS_04 4 +#define DCERPC_SPOOLSS_05 5 +#define DCERPC_SPOOLSS_06 6 +#define DCERPC_SPOOLSS_07 7 +#define DCERPC_SPOOLSS_08 8 +#define DCERPC_SPOOLSS_09 9 +#define DCERPC_SPOOLSS_0A 10 +#define DCERPC_SPOOLSS_0B 11 +#define DCERPC_SPOOLSS_0C 12 +#define DCERPC_SPOOLSS_0D 13 +#define DCERPC_SPOOLSS_0E 14 +#define DCERPC_SPOOLSS_0F 15 +#define DCERPC_SPOOLSS_10 16 +#define DCERPC_SPOOLSS_11 17 +#define DCERPC_SPOOLSS_12 18 +#define DCERPC_SPOOLSS_13 19 +#define DCERPC_SPOOLSS_14 20 +#define DCERPC_SPOOLSS_15 21 +#define DCERPC_SPOOLSS_16 22 +#define DCERPC_SPOOLSS_17 23 +#define DCERPC_SPOOLSS_18 24 +#define DCERPC_SPOOLSS_19 25 +#define DCERPC_SPOOLSS_1A 26 +#define DCERPC_SPOOLSS_1B 27 +#define DCERPC_SPOOLSS_1C 28 +#define DCERPC_SPOOLSS_1D 29 +#define DCERPC_SPOOLSS_1E 30 +#define DCERPC_SPOOLSS_1F 31 +#define DCERPC_SPOOLSS_20 32 +#define DCERPC_SPOOLSS_21 33 +#define DCERPC_SPOOLSS_22 34 +#define DCERPC_SPOOLSS_23 35 +#define DCERPC_SPOOLSS_24 36 +#define DCERPC_SPOOLSS_25 37 +#define DCERPC_SPOOLSS_26 38 +#define DCERPC_SPOOLSS_27 39 +#define DCERPC_SPOOLSS_28 40 +#define DCERPC_SPOOLSS_29 41 +#define DCERPC_SPOOLSS_2A 42 +#define DCERPC_SPOOLSS_2B 43 +#define DCERPC_SPOOLSS_2C 44 +#define DCERPC_SPOOLSS_2D 45 +#define DCERPC_SPOOLSS_2E 46 +#define DCERPC_SPOOLSS_2F 47 +#define DCERPC_SPOOLSS_30 48 +#define DCERPC_SPOOLSS_31 49 +#define DCERPC_SPOOLSS_32 50 +#define DCERPC_SPOOLSS_33 51 +#define DCERPC_SPOOLSS_34 52 +#define DCERPC_SPOOLSS_35 53 +#define DCERPC_SPOOLSS_36 54 +#define DCERPC_SPOOLSS_37 55 +#define DCERPC_SPOOLSS_38 56 +#define DCERPC_SPOOLSS_39 57 +#define DCERPC_SPOOLSS_3A 58 +#define DCERPC_SPOOLSS_3B 59 +#define DCERPC_SPOOLSS_3C 60 +#define DCERPC_SPOOLSS_3D 61 +#define DCERPC_SPOOLSS_3E 62 +#define DCERPC_SPOOLSS_3F 63 +#define DCERPC_SPOOLSS_40 64 +#define DCERPC_SPOOLSS_41 65 +#define DCERPC_SPOOLSS_42 66 +#define DCERPC_SPOOLSS_43 67 +#define DCERPC_SPOOLSS_44 68 +#define DCERPC_SPOOLSS_OPENPRINTEREX 69 +#define DCERPC_SPOOLSS_46 70 +#define DCERPC_SPOOLSS_47 71 +#define DCERPC_SPOOLSS_48 72 +#define DCERPC_SPOOLSS_49 73 +#define DCERPC_SPOOLSS_4A 74 +#define DCERPC_SPOOLSS_4B 75 +#define DCERPC_SPOOLSS_4C 76 +#define DCERPC_SPOOLSS_4D 77 +#define DCERPC_SPOOLSS_4E 78 +#define DCERPC_SPOOLSS_4F 79 +#define DCERPC_SPOOLSS_50 80 +#define DCERPC_SPOOLSS_51 81 +#define DCERPC_SPOOLSS_52 82 +#define DCERPC_SPOOLSS_53 83 +#define DCERPC_SPOOLSS_54 84 +#define DCERPC_SPOOLSS_55 85 +#define DCERPC_SPOOLSS_56 86 +#define DCERPC_SPOOLSS_57 87 +#define DCERPC_SPOOLSS_58 88 +#define DCERPC_SPOOLSS_59 89 +#define DCERPC_SPOOLSS_5A 90 +#define DCERPC_SPOOLSS_5B 91 +#define DCERPC_SPOOLSS_5C 92 +#define DCERPC_SPOOLSS_5D 93 +#define DCERPC_SPOOLSS_5E 94 +#define DCERPC_SPOOLSS_5F 95 |