33
33
_PUBLIC_ enum ndr_err_code ndr_pull_TRUSTED_DOM_PASS(struct ndr_pull *ndr, int ndr_flags, struct TRUSTED_DOM_PASS *r)
36
37
uint32_t _flags_save_STRUCT = ndr->flags;
37
38
ndr_set_flags(&ndr->flags, LIBNDR_FLAG_NOALIGN);
38
39
if (ndr_flags & NDR_SCALARS) {
39
40
NDR_CHECK(ndr_pull_align(ndr, 4));
40
41
NDR_CHECK(ndr_pull_uint32(ndr, NDR_SCALARS, &r->uni_name_len));
41
NDR_CHECK(ndr_pull_charset(ndr, NDR_SCALARS, &r->uni_name, 32, sizeof(uint16_t), CH_UTF16));
43
NDR_CHECK(ndr_pull_charset(ndr, NDR_SCALARS, &r->uni_name, size_uni_name_0, sizeof(uint16_t), CH_UTF16));
42
44
NDR_CHECK(ndr_pull_uint32(ndr, NDR_SCALARS, &r->pass_len));
44
46
uint32_t _flags_save_string = ndr->flags;