1 /* parser auto-generated by pidl */
4 #include "bin/default/librpc/gen_ndr/ndr_remact.h"
6 #include "librpc/gen_ndr/ndr_misc.h"
7 #include "librpc/gen_ndr/ndr_orpc.h"
8 static enum ndr_err_code ndr_push_RemoteActivation(struct ndr_push *ndr, int flags, const struct RemoteActivation *r)
10 uint32_t cntr_pIIDs_1;
11 uint32_t cntr_protseq_0;
12 uint32_t cntr_ifaces_0;
13 uint32_t cntr_results_0;
14 NDR_PUSH_CHECK_FN_FLAGS(ndr, flags);
16 NDR_CHECK(ndr_push_ORPCTHIS(ndr, NDR_SCALARS|NDR_BUFFERS, &r->in.this_object));
17 NDR_CHECK(ndr_push_GUID(ndr, NDR_SCALARS, &r->in.Clsid));
18 if (r->in.pwszObjectName == NULL) {
19 return ndr_push_error(ndr, NDR_ERR_INVALID_POINTER, "NULL [ref] pointer");
21 NDR_CHECK(ndr_push_uint3264(ndr, NDR_SCALARS, ndr_charset_length(r->in.pwszObjectName, CH_UTF16)));
22 NDR_CHECK(ndr_push_uint3264(ndr, NDR_SCALARS, 0));
23 NDR_CHECK(ndr_push_uint3264(ndr, NDR_SCALARS, ndr_charset_length(r->in.pwszObjectName, CH_UTF16)));
24 NDR_CHECK(ndr_push_charset(ndr, NDR_SCALARS, r->in.pwszObjectName, ndr_charset_length(r->in.pwszObjectName, CH_UTF16), sizeof(uint16_t), CH_UTF16));
25 if (r->in.pObjectStorage == NULL) {
26 return ndr_push_error(ndr, NDR_ERR_INVALID_POINTER, "NULL [ref] pointer");
28 NDR_CHECK(ndr_push_MInterfacePointer(ndr, NDR_SCALARS|NDR_BUFFERS, r->in.pObjectStorage));
29 NDR_CHECK(ndr_push_uint32(ndr, NDR_SCALARS, r->in.ClientImpLevel));
30 NDR_CHECK(ndr_push_uint32(ndr, NDR_SCALARS, r->in.Mode));
31 NDR_CHECK(ndr_push_uint32(ndr, NDR_SCALARS, r->in.Interfaces));
32 if (r->in.pIIDs == NULL) {
33 return ndr_push_error(ndr, NDR_ERR_INVALID_POINTER, "NULL [ref] pointer");
35 NDR_CHECK(ndr_push_uint3264(ndr, NDR_SCALARS, r->in.Interfaces));
36 for (cntr_pIIDs_1 = 0; cntr_pIIDs_1 < r->in.Interfaces; cntr_pIIDs_1++) {
37 NDR_CHECK(ndr_push_GUID(ndr, NDR_SCALARS, &r->in.pIIDs[cntr_pIIDs_1]));
39 NDR_CHECK(ndr_push_uint16(ndr, NDR_SCALARS, r->in.num_protseqs));
40 NDR_CHECK(ndr_push_uint3264(ndr, NDR_SCALARS, r->in.num_protseqs));
41 for (cntr_protseq_0 = 0; cntr_protseq_0 < r->in.num_protseqs; cntr_protseq_0++) {
42 NDR_CHECK(ndr_push_uint16(ndr, NDR_SCALARS, r->in.protseq[cntr_protseq_0]));
45 if (flags & NDR_OUT) {
46 if (r->out.that == NULL) {
47 return ndr_push_error(ndr, NDR_ERR_INVALID_POINTER, "NULL [ref] pointer");
49 NDR_CHECK(ndr_push_ORPCTHAT(ndr, NDR_SCALARS|NDR_BUFFERS, r->out.that));
50 if (r->out.pOxid == NULL) {
51 return ndr_push_error(ndr, NDR_ERR_INVALID_POINTER, "NULL [ref] pointer");
53 NDR_CHECK(ndr_push_hyper(ndr, NDR_SCALARS, *r->out.pOxid));
54 if (r->out.pdsaOxidBindings == NULL) {
55 return ndr_push_error(ndr, NDR_ERR_INVALID_POINTER, "NULL [ref] pointer");
57 NDR_CHECK(ndr_push_DUALSTRINGARRAY(ndr, NDR_SCALARS|NDR_BUFFERS, r->out.pdsaOxidBindings));
58 if (r->out.ipidRemUnknown == NULL) {
59 return ndr_push_error(ndr, NDR_ERR_INVALID_POINTER, "NULL [ref] pointer");
61 NDR_CHECK(ndr_push_GUID(ndr, NDR_SCALARS, r->out.ipidRemUnknown));
62 if (r->out.AuthnHint == NULL) {
63 return ndr_push_error(ndr, NDR_ERR_INVALID_POINTER, "NULL [ref] pointer");
65 NDR_CHECK(ndr_push_uint32(ndr, NDR_SCALARS, *r->out.AuthnHint));
66 if (r->out.ServerVersion == NULL) {
67 return ndr_push_error(ndr, NDR_ERR_INVALID_POINTER, "NULL [ref] pointer");
69 NDR_CHECK(ndr_push_COMVERSION(ndr, NDR_SCALARS, r->out.ServerVersion));
70 if (r->out.hr == NULL) {
71 return ndr_push_error(ndr, NDR_ERR_INVALID_POINTER, "NULL [ref] pointer");
73 NDR_CHECK(ndr_push_WERROR(ndr, NDR_SCALARS, *r->out.hr));
74 NDR_CHECK(ndr_push_uint3264(ndr, NDR_SCALARS, r->in.Interfaces));
75 for (cntr_ifaces_0 = 0; cntr_ifaces_0 < r->in.Interfaces; cntr_ifaces_0++) {
76 if (r->out.ifaces[cntr_ifaces_0] == NULL) {
77 return ndr_push_error(ndr, NDR_ERR_INVALID_POINTER, "NULL [ref] pointer");
80 for (cntr_ifaces_0 = 0; cntr_ifaces_0 < r->in.Interfaces; cntr_ifaces_0++) {
81 NDR_CHECK(ndr_push_MInterfacePointer(ndr, NDR_SCALARS|NDR_BUFFERS, r->out.ifaces[cntr_ifaces_0]));
83 NDR_CHECK(ndr_push_uint3264(ndr, NDR_SCALARS, r->in.Interfaces));
84 for (cntr_results_0 = 0; cntr_results_0 < r->in.Interfaces; cntr_results_0++) {
85 NDR_CHECK(ndr_push_WERROR(ndr, NDR_SCALARS, r->out.results[cntr_results_0]));
87 NDR_CHECK(ndr_push_WERROR(ndr, NDR_SCALARS, r->out.result));
89 return NDR_ERR_SUCCESS;
92 static enum ndr_err_code ndr_pull_RemoteActivation(struct ndr_pull *ndr, int flags, struct RemoteActivation *r)
94 uint32_t size_pwszObjectName_1 = 0;
95 uint32_t length_pwszObjectName_1 = 0;
96 uint32_t size_pIIDs_1 = 0;
97 uint32_t cntr_pIIDs_1;
98 uint32_t size_protseq_0 = 0;
99 uint32_t cntr_protseq_0;
100 uint32_t size_ifaces_0 = 0;
101 uint32_t cntr_ifaces_0;
102 uint32_t size_results_0 = 0;
103 uint32_t cntr_results_0;
104 TALLOC_CTX *_mem_save_that_0;
105 TALLOC_CTX *_mem_save_pObjectStorage_0;
106 TALLOC_CTX *_mem_save_pIIDs_1;
107 TALLOC_CTX *_mem_save_protseq_0;
108 TALLOC_CTX *_mem_save_pOxid_0;
109 TALLOC_CTX *_mem_save_pdsaOxidBindings_0;
110 TALLOC_CTX *_mem_save_ipidRemUnknown_0;
111 TALLOC_CTX *_mem_save_AuthnHint_0;
112 TALLOC_CTX *_mem_save_ServerVersion_0;
113 TALLOC_CTX *_mem_save_hr_0;
114 TALLOC_CTX *_mem_save_ifaces_0;
115 TALLOC_CTX *_mem_save_ifaces_1;
116 TALLOC_CTX *_mem_save_results_0;
117 NDR_PULL_CHECK_FN_FLAGS(ndr, flags);
118 if (flags & NDR_IN) {
121 NDR_CHECK(ndr_pull_ORPCTHIS(ndr, NDR_SCALARS|NDR_BUFFERS, &r->in.this_object));
122 NDR_CHECK(ndr_pull_GUID(ndr, NDR_SCALARS, &r->in.Clsid));
123 NDR_CHECK(ndr_pull_array_size(ndr, &r->in.pwszObjectName));
124 NDR_CHECK(ndr_pull_array_length(ndr, &r->in.pwszObjectName));
125 size_pwszObjectName_1 = ndr_get_array_size(ndr, &r->in.pwszObjectName);
126 length_pwszObjectName_1 = ndr_get_array_length(ndr, &r->in.pwszObjectName);
127 if (length_pwszObjectName_1 > size_pwszObjectName_1) {
128 return ndr_pull_error(ndr, NDR_ERR_ARRAY_SIZE, "Bad array size %u should exceed array length %u", size_pwszObjectName_1, length_pwszObjectName_1);
130 NDR_CHECK(ndr_check_string_terminator(ndr, length_pwszObjectName_1, sizeof(uint16_t)));
131 NDR_CHECK(ndr_pull_charset(ndr, NDR_SCALARS, &r->in.pwszObjectName, length_pwszObjectName_1, sizeof(uint16_t), CH_UTF16));
132 if (ndr->flags & LIBNDR_FLAG_REF_ALLOC) {
133 NDR_PULL_ALLOC(ndr, r->in.pObjectStorage);
135 _mem_save_pObjectStorage_0 = NDR_PULL_GET_MEM_CTX(ndr);
136 NDR_PULL_SET_MEM_CTX(ndr, r->in.pObjectStorage, LIBNDR_FLAG_REF_ALLOC);
137 NDR_CHECK(ndr_pull_MInterfacePointer(ndr, NDR_SCALARS|NDR_BUFFERS, r->in.pObjectStorage));
138 NDR_PULL_SET_MEM_CTX(ndr, _mem_save_pObjectStorage_0, LIBNDR_FLAG_REF_ALLOC);
139 NDR_CHECK(ndr_pull_uint32(ndr, NDR_SCALARS, &r->in.ClientImpLevel));
140 NDR_CHECK(ndr_pull_uint32(ndr, NDR_SCALARS, &r->in.Mode));
141 NDR_CHECK(ndr_pull_uint32(ndr, NDR_SCALARS, &r->in.Interfaces));
142 if (r->in.Interfaces < 1 || r->in.Interfaces > 32768) {
143 return ndr_pull_error(ndr, NDR_ERR_RANGE, "value out of range");
145 NDR_CHECK(ndr_pull_array_size(ndr, &r->in.pIIDs));
146 size_pIIDs_1 = ndr_get_array_size(ndr, &r->in.pIIDs);
147 if (ndr->flags & LIBNDR_FLAG_REF_ALLOC) {
148 NDR_PULL_ALLOC_N(ndr, r->in.pIIDs, size_pIIDs_1);
150 _mem_save_pIIDs_1 = NDR_PULL_GET_MEM_CTX(ndr);
151 NDR_PULL_SET_MEM_CTX(ndr, r->in.pIIDs, 0);
152 for (cntr_pIIDs_1 = 0; cntr_pIIDs_1 < size_pIIDs_1; cntr_pIIDs_1++) {
153 NDR_CHECK(ndr_pull_GUID(ndr, NDR_SCALARS, &r->in.pIIDs[cntr_pIIDs_1]));
155 NDR_PULL_SET_MEM_CTX(ndr, _mem_save_pIIDs_1, 0);
156 NDR_CHECK(ndr_pull_uint16(ndr, NDR_SCALARS, &r->in.num_protseqs));
157 NDR_CHECK(ndr_pull_array_size(ndr, &r->in.protseq));
158 size_protseq_0 = ndr_get_array_size(ndr, &r->in.protseq);
159 NDR_PULL_ALLOC_N(ndr, r->in.protseq, size_protseq_0);
160 _mem_save_protseq_0 = NDR_PULL_GET_MEM_CTX(ndr);
161 NDR_PULL_SET_MEM_CTX(ndr, r->in.protseq, 0);
162 for (cntr_protseq_0 = 0; cntr_protseq_0 < size_protseq_0; cntr_protseq_0++) {
163 NDR_CHECK(ndr_pull_uint16(ndr, NDR_SCALARS, &r->in.protseq[cntr_protseq_0]));
165 NDR_PULL_SET_MEM_CTX(ndr, _mem_save_protseq_0, 0);
166 NDR_PULL_ALLOC(ndr, r->out.that);
167 ZERO_STRUCTP(r->out.that);
168 NDR_PULL_ALLOC(ndr, r->out.pOxid);
169 ZERO_STRUCTP(r->out.pOxid);
170 NDR_PULL_ALLOC(ndr, r->out.pdsaOxidBindings);
171 ZERO_STRUCTP(r->out.pdsaOxidBindings);
172 NDR_PULL_ALLOC(ndr, r->out.ipidRemUnknown);
173 ZERO_STRUCTP(r->out.ipidRemUnknown);
174 NDR_PULL_ALLOC(ndr, r->out.AuthnHint);
175 ZERO_STRUCTP(r->out.AuthnHint);
176 NDR_PULL_ALLOC(ndr, r->out.ServerVersion);
177 ZERO_STRUCTP(r->out.ServerVersion);
178 NDR_PULL_ALLOC(ndr, r->out.hr);
179 ZERO_STRUCTP(r->out.hr);
181 NDR_CHECK(ndr_check_array_size(ndr, (void*)&r->in.pIIDs, r->in.Interfaces));
184 NDR_CHECK(ndr_check_array_size(ndr, (void*)&r->in.protseq, r->in.num_protseqs));
187 if (flags & NDR_OUT) {
188 if (ndr->flags & LIBNDR_FLAG_REF_ALLOC) {
189 NDR_PULL_ALLOC(ndr, r->out.that);
191 _mem_save_that_0 = NDR_PULL_GET_MEM_CTX(ndr);
192 NDR_PULL_SET_MEM_CTX(ndr, r->out.that, LIBNDR_FLAG_REF_ALLOC);
193 NDR_CHECK(ndr_pull_ORPCTHAT(ndr, NDR_SCALARS|NDR_BUFFERS, r->out.that));
194 NDR_PULL_SET_MEM_CTX(ndr, _mem_save_that_0, LIBNDR_FLAG_REF_ALLOC);
195 if (ndr->flags & LIBNDR_FLAG_REF_ALLOC) {
196 NDR_PULL_ALLOC(ndr, r->out.pOxid);
198 _mem_save_pOxid_0 = NDR_PULL_GET_MEM_CTX(ndr);
199 NDR_PULL_SET_MEM_CTX(ndr, r->out.pOxid, LIBNDR_FLAG_REF_ALLOC);
200 NDR_CHECK(ndr_pull_hyper(ndr, NDR_SCALARS, r->out.pOxid));
201 NDR_PULL_SET_MEM_CTX(ndr, _mem_save_pOxid_0, LIBNDR_FLAG_REF_ALLOC);
202 if (ndr->flags & LIBNDR_FLAG_REF_ALLOC) {
203 NDR_PULL_ALLOC(ndr, r->out.pdsaOxidBindings);
205 _mem_save_pdsaOxidBindings_0 = NDR_PULL_GET_MEM_CTX(ndr);
206 NDR_PULL_SET_MEM_CTX(ndr, r->out.pdsaOxidBindings, LIBNDR_FLAG_REF_ALLOC);
207 NDR_CHECK(ndr_pull_DUALSTRINGARRAY(ndr, NDR_SCALARS|NDR_BUFFERS, r->out.pdsaOxidBindings));
208 NDR_PULL_SET_MEM_CTX(ndr, _mem_save_pdsaOxidBindings_0, LIBNDR_FLAG_REF_ALLOC);
209 if (ndr->flags & LIBNDR_FLAG_REF_ALLOC) {
210 NDR_PULL_ALLOC(ndr, r->out.ipidRemUnknown);
212 _mem_save_ipidRemUnknown_0 = NDR_PULL_GET_MEM_CTX(ndr);
213 NDR_PULL_SET_MEM_CTX(ndr, r->out.ipidRemUnknown, LIBNDR_FLAG_REF_ALLOC);
214 NDR_CHECK(ndr_pull_GUID(ndr, NDR_SCALARS, r->out.ipidRemUnknown));
215 NDR_PULL_SET_MEM_CTX(ndr, _mem_save_ipidRemUnknown_0, LIBNDR_FLAG_REF_ALLOC);
216 if (ndr->flags & LIBNDR_FLAG_REF_ALLOC) {
217 NDR_PULL_ALLOC(ndr, r->out.AuthnHint);
219 _mem_save_AuthnHint_0 = NDR_PULL_GET_MEM_CTX(ndr);
220 NDR_PULL_SET_MEM_CTX(ndr, r->out.AuthnHint, LIBNDR_FLAG_REF_ALLOC);
221 NDR_CHECK(ndr_pull_uint32(ndr, NDR_SCALARS, r->out.AuthnHint));
222 NDR_PULL_SET_MEM_CTX(ndr, _mem_save_AuthnHint_0, LIBNDR_FLAG_REF_ALLOC);
223 if (ndr->flags & LIBNDR_FLAG_REF_ALLOC) {
224 NDR_PULL_ALLOC(ndr, r->out.ServerVersion);
226 _mem_save_ServerVersion_0 = NDR_PULL_GET_MEM_CTX(ndr);
227 NDR_PULL_SET_MEM_CTX(ndr, r->out.ServerVersion, LIBNDR_FLAG_REF_ALLOC);
228 NDR_CHECK(ndr_pull_COMVERSION(ndr, NDR_SCALARS, r->out.ServerVersion));
229 NDR_PULL_SET_MEM_CTX(ndr, _mem_save_ServerVersion_0, LIBNDR_FLAG_REF_ALLOC);
230 if (ndr->flags & LIBNDR_FLAG_REF_ALLOC) {
231 NDR_PULL_ALLOC(ndr, r->out.hr);
233 _mem_save_hr_0 = NDR_PULL_GET_MEM_CTX(ndr);
234 NDR_PULL_SET_MEM_CTX(ndr, r->out.hr, LIBNDR_FLAG_REF_ALLOC);
235 NDR_CHECK(ndr_pull_WERROR(ndr, NDR_SCALARS, r->out.hr));
236 NDR_PULL_SET_MEM_CTX(ndr, _mem_save_hr_0, LIBNDR_FLAG_REF_ALLOC);
237 NDR_CHECK(ndr_pull_array_size(ndr, &r->out.ifaces));
238 size_ifaces_0 = ndr_get_array_size(ndr, &r->out.ifaces);
239 NDR_PULL_ALLOC_N(ndr, r->out.ifaces, size_ifaces_0);
240 _mem_save_ifaces_0 = NDR_PULL_GET_MEM_CTX(ndr);
241 NDR_PULL_SET_MEM_CTX(ndr, r->out.ifaces, 0);
242 for (cntr_ifaces_0 = 0; cntr_ifaces_0 < size_ifaces_0; cntr_ifaces_0++) {
243 if (ndr->flags & LIBNDR_FLAG_REF_ALLOC) {
244 NDR_PULL_ALLOC(ndr, r->out.ifaces[cntr_ifaces_0]);
247 for (cntr_ifaces_0 = 0; cntr_ifaces_0 < size_ifaces_0; cntr_ifaces_0++) {
248 _mem_save_ifaces_1 = NDR_PULL_GET_MEM_CTX(ndr);
249 NDR_PULL_SET_MEM_CTX(ndr, r->out.ifaces[cntr_ifaces_0], LIBNDR_FLAG_REF_ALLOC);
250 NDR_CHECK(ndr_pull_MInterfacePointer(ndr, NDR_SCALARS|NDR_BUFFERS, r->out.ifaces[cntr_ifaces_0]));
251 NDR_PULL_SET_MEM_CTX(ndr, _mem_save_ifaces_1, LIBNDR_FLAG_REF_ALLOC);
253 NDR_PULL_SET_MEM_CTX(ndr, _mem_save_ifaces_0, 0);
254 NDR_CHECK(ndr_pull_array_size(ndr, &r->out.results));
255 size_results_0 = ndr_get_array_size(ndr, &r->out.results);
256 NDR_PULL_ALLOC_N(ndr, r->out.results, size_results_0);
257 _mem_save_results_0 = NDR_PULL_GET_MEM_CTX(ndr);
258 NDR_PULL_SET_MEM_CTX(ndr, r->out.results, 0);
259 for (cntr_results_0 = 0; cntr_results_0 < size_results_0; cntr_results_0++) {
260 NDR_CHECK(ndr_pull_WERROR(ndr, NDR_SCALARS, &r->out.results[cntr_results_0]));
262 NDR_PULL_SET_MEM_CTX(ndr, _mem_save_results_0, 0);
263 NDR_CHECK(ndr_pull_WERROR(ndr, NDR_SCALARS, &r->out.result));
265 NDR_CHECK(ndr_check_array_size(ndr, (void*)&r->out.ifaces, r->in.Interfaces));
267 if (r->out.results) {
268 NDR_CHECK(ndr_check_array_size(ndr, (void*)&r->out.results, r->in.Interfaces));
271 return NDR_ERR_SUCCESS;
274 _PUBLIC_ void ndr_print_RemoteActivation(struct ndr_print *ndr, const char *name, int flags, const struct RemoteActivation *r)
276 uint32_t cntr_pIIDs_1;
277 uint32_t cntr_protseq_0;
278 uint32_t cntr_ifaces_0;
279 uint32_t cntr_results_0;
280 ndr_print_struct(ndr, name, "RemoteActivation");
281 if (r == NULL) { ndr_print_null(ndr); return; }
283 if (flags & NDR_SET_VALUES) {
284 ndr->flags |= LIBNDR_PRINT_SET_VALUES;
286 if (flags & NDR_IN) {
287 ndr_print_struct(ndr, "in", "RemoteActivation");
289 ndr_print_ORPCTHIS(ndr, "this_object", &r->in.this_object);
290 ndr_print_GUID(ndr, "Clsid", &r->in.Clsid);
291 ndr_print_ptr(ndr, "pwszObjectName", r->in.pwszObjectName);
293 ndr_print_string(ndr, "pwszObjectName", r->in.pwszObjectName);
295 ndr_print_ptr(ndr, "pObjectStorage", r->in.pObjectStorage);
297 ndr_print_MInterfacePointer(ndr, "pObjectStorage", r->in.pObjectStorage);
299 ndr_print_uint32(ndr, "ClientImpLevel", r->in.ClientImpLevel);
300 ndr_print_uint32(ndr, "Mode", r->in.Mode);
301 ndr_print_uint32(ndr, "Interfaces", r->in.Interfaces);
302 ndr_print_ptr(ndr, "pIIDs", r->in.pIIDs);
304 ndr->print(ndr, "%s: ARRAY(%d)", "pIIDs", (int)r->in.Interfaces);
306 for (cntr_pIIDs_1=0;cntr_pIIDs_1<r->in.Interfaces;cntr_pIIDs_1++) {
307 ndr_print_GUID(ndr, "pIIDs", &r->in.pIIDs[cntr_pIIDs_1]);
311 ndr_print_uint16(ndr, "num_protseqs", r->in.num_protseqs);
312 ndr->print(ndr, "%s: ARRAY(%d)", "protseq", (int)r->in.num_protseqs);
314 for (cntr_protseq_0=0;cntr_protseq_0<r->in.num_protseqs;cntr_protseq_0++) {
315 ndr_print_uint16(ndr, "protseq", r->in.protseq[cntr_protseq_0]);
320 if (flags & NDR_OUT) {
321 ndr_print_struct(ndr, "out", "RemoteActivation");
323 ndr_print_ptr(ndr, "that", r->out.that);
325 ndr_print_ORPCTHAT(ndr, "that", r->out.that);
327 ndr_print_ptr(ndr, "pOxid", r->out.pOxid);
329 ndr_print_hyper(ndr, "pOxid", *r->out.pOxid);
331 ndr_print_ptr(ndr, "pdsaOxidBindings", r->out.pdsaOxidBindings);
333 ndr_print_DUALSTRINGARRAY(ndr, "pdsaOxidBindings", r->out.pdsaOxidBindings);
335 ndr_print_ptr(ndr, "ipidRemUnknown", r->out.ipidRemUnknown);
337 ndr_print_GUID(ndr, "ipidRemUnknown", r->out.ipidRemUnknown);
339 ndr_print_ptr(ndr, "AuthnHint", r->out.AuthnHint);
341 ndr_print_uint32(ndr, "AuthnHint", *r->out.AuthnHint);
343 ndr_print_ptr(ndr, "ServerVersion", r->out.ServerVersion);
345 ndr_print_COMVERSION(ndr, "ServerVersion", r->out.ServerVersion);
347 ndr_print_ptr(ndr, "hr", r->out.hr);
349 ndr_print_WERROR(ndr, "hr", *r->out.hr);
351 ndr->print(ndr, "%s: ARRAY(%d)", "ifaces", (int)r->in.Interfaces);
353 for (cntr_ifaces_0=0;cntr_ifaces_0<r->in.Interfaces;cntr_ifaces_0++) {
354 ndr_print_ptr(ndr, "ifaces", r->out.ifaces[cntr_ifaces_0]);
356 ndr_print_MInterfacePointer(ndr, "ifaces", r->out.ifaces[cntr_ifaces_0]);
360 ndr->print(ndr, "%s: ARRAY(%d)", "results", (int)r->in.Interfaces);
362 for (cntr_results_0=0;cntr_results_0<r->in.Interfaces;cntr_results_0++) {
363 ndr_print_WERROR(ndr, "results", r->out.results[cntr_results_0]);
366 ndr_print_WERROR(ndr, "result", r->out.result);
372 static const struct ndr_interface_call IRemoteActivation_calls[] = {
375 sizeof(struct RemoteActivation),
376 (ndr_push_flags_fn_t) ndr_push_RemoteActivation,
377 (ndr_pull_flags_fn_t) ndr_pull_RemoteActivation,
378 (ndr_print_function_t) ndr_print_RemoteActivation,
382 { NULL, 0, NULL, NULL, NULL }
385 static const char * const IRemoteActivation_endpoint_strings[] = {
387 "ncacn_ip_tcp:[135]",
388 "ncacn_np:[\\pipe\\epmapper]",
391 static const struct ndr_interface_string_array IRemoteActivation_endpoints = {
393 .names = IRemoteActivation_endpoint_strings
396 static const char * const IRemoteActivation_authservice_strings[] = {
400 static const struct ndr_interface_string_array IRemoteActivation_authservices = {
402 .names = IRemoteActivation_authservice_strings
406 const struct ndr_interface_table ndr_table_IRemoteActivation = {
407 .name = "IRemoteActivation",
409 {0x4d9f4ab8,0x7d1c,0x11cf,{0x86,0x1e},{0x00,0x20,0xaf,0x6e,0x7c,0x57}},
410 NDR_IREMOTEACTIVATION_VERSION
412 .helpstring = NDR_IREMOTEACTIVATION_HELPSTRING,
414 .calls = IRemoteActivation_calls,
415 .endpoints = &IRemoteActivation_endpoints,
416 .authservices = &IRemoteActivation_authservices