1
0
mirror of https://github.com/samba-team/samba.git synced 2025-01-12 09:18:10 +03:00

spoolss: trivial fix for spoolss_FormInfo2 IDL.

Guenther
This commit is contained in:
Günther Deschner 2009-12-12 02:51:44 +01:00
parent 801fbd0569
commit 5ae61cfbc2
3 changed files with 10 additions and 5 deletions

View File

@ -15984,7 +15984,8 @@ _PUBLIC_ enum ndr_err_code ndr_push_spoolss_FormInfo2(struct ndr_push *ndr, int
NDR_CHECK(ndr_push_relative_ptr1(ndr, r->display_name));
ndr->flags = _flags_save_string;
}
NDR_CHECK(ndr_push_uint32(ndr, NDR_SCALARS, r->lang_id));
NDR_CHECK(ndr_push_uint16(ndr, NDR_SCALARS, r->lang_id));
NDR_CHECK(ndr_push_uint16(ndr, NDR_SCALARS, r->unused));
NDR_CHECK(ndr_push_trailer_align(ndr, 5));
}
if (ndr_flags & NDR_BUFFERS) {
@ -16093,7 +16094,8 @@ _PUBLIC_ enum ndr_err_code ndr_pull_spoolss_FormInfo2(struct ndr_pull *ndr, int
}
ndr->flags = _flags_save_string;
}
NDR_CHECK(ndr_pull_uint32(ndr, NDR_SCALARS, &r->lang_id));
NDR_CHECK(ndr_pull_uint16(ndr, NDR_SCALARS, &r->lang_id));
NDR_CHECK(ndr_pull_uint16(ndr, NDR_SCALARS, &r->unused));
NDR_CHECK(ndr_pull_trailer_align(ndr, 5));
}
if (ndr_flags & NDR_BUFFERS) {
@ -16206,7 +16208,8 @@ _PUBLIC_ void ndr_print_spoolss_FormInfo2(struct ndr_print *ndr, const char *nam
ndr_print_string(ndr, "display_name", r->display_name);
}
ndr->depth--;
ndr_print_uint32(ndr, "lang_id", r->lang_id);
ndr_print_uint16(ndr, "lang_id", r->lang_id);
ndr_print_uint16(ndr, "unused", r->unused);
ndr->depth--;
}

View File

@ -1620,7 +1620,8 @@ struct spoolss_FormInfo2 {
const char * mui_dll;/* [relative,flag(LIBNDR_FLAG_STR_NULLTERM)] */
uint32_t ressource_id;
const char * display_name;/* [relative,flag(LIBNDR_FLAG_STR_NULLTERM)] */
uint32_t lang_id;
uint16_t lang_id;
uint16_t unused;
}/* [gensize,public] */;
union spoolss_FormInfo {

View File

@ -1697,7 +1697,8 @@ import "misc.idl", "security.idl", "winreg.idl";
[relative] nstring *mui_dll;
uint32 ressource_id;
[relative] nstring *display_name;
uint32 lang_id;
uint16 lang_id;
uint16 unused;
} spoolss_FormInfo2;
typedef [nodiscriminant,relative_base,public,gensize] union {