git add -f bin/default/librpc/gen_ndr/*.[ch] bin/default/source*/librpc/gen_ndr/...
[metze/samba/wip.git] / bin.gen_ndr / default / librpc / gen_ndr / ndr_audiosrv.c
1 /* parser auto-generated by pidl */
2
3 #include "includes.h"
4 #include "bin/default/librpc/gen_ndr/ndr_audiosrv.h"
5
6 static enum ndr_err_code ndr_push_audiosrv_CreatezoneFactoriesList(struct ndr_push *ndr, int flags, const struct audiosrv_CreatezoneFactoriesList *r)
7 {
8         NDR_PUSH_CHECK_FN_FLAGS(ndr, flags);
9         if (flags & NDR_IN) {
10         }
11         if (flags & NDR_OUT) {
12         }
13         return NDR_ERR_SUCCESS;
14 }
15
16 static enum ndr_err_code ndr_pull_audiosrv_CreatezoneFactoriesList(struct ndr_pull *ndr, int flags, struct audiosrv_CreatezoneFactoriesList *r)
17 {
18         NDR_PULL_CHECK_FN_FLAGS(ndr, flags);
19         if (flags & NDR_IN) {
20         }
21         if (flags & NDR_OUT) {
22         }
23         return NDR_ERR_SUCCESS;
24 }
25
26 _PUBLIC_ void ndr_print_audiosrv_CreatezoneFactoriesList(struct ndr_print *ndr, const char *name, int flags, const struct audiosrv_CreatezoneFactoriesList *r)
27 {
28         ndr_print_struct(ndr, name, "audiosrv_CreatezoneFactoriesList");
29         if (r == NULL) { ndr_print_null(ndr); return; }
30         ndr->depth++;
31         if (flags & NDR_SET_VALUES) {
32                 ndr->flags |= LIBNDR_PRINT_SET_VALUES;
33         }
34         if (flags & NDR_IN) {
35                 ndr_print_struct(ndr, "in", "audiosrv_CreatezoneFactoriesList");
36                 ndr->depth++;
37                 ndr->depth--;
38         }
39         if (flags & NDR_OUT) {
40                 ndr_print_struct(ndr, "out", "audiosrv_CreatezoneFactoriesList");
41                 ndr->depth++;
42                 ndr->depth--;
43         }
44         ndr->depth--;
45 }
46
47 static enum ndr_err_code ndr_push_audiosrv_CreateGfxFactoriesList(struct ndr_push *ndr, int flags, const struct audiosrv_CreateGfxFactoriesList *r)
48 {
49         NDR_PUSH_CHECK_FN_FLAGS(ndr, flags);
50         if (flags & NDR_IN) {
51         }
52         if (flags & NDR_OUT) {
53         }
54         return NDR_ERR_SUCCESS;
55 }
56
57 static enum ndr_err_code ndr_pull_audiosrv_CreateGfxFactoriesList(struct ndr_pull *ndr, int flags, struct audiosrv_CreateGfxFactoriesList *r)
58 {
59         NDR_PULL_CHECK_FN_FLAGS(ndr, flags);
60         if (flags & NDR_IN) {
61         }
62         if (flags & NDR_OUT) {
63         }
64         return NDR_ERR_SUCCESS;
65 }
66
67 _PUBLIC_ void ndr_print_audiosrv_CreateGfxFactoriesList(struct ndr_print *ndr, const char *name, int flags, const struct audiosrv_CreateGfxFactoriesList *r)
68 {
69         ndr_print_struct(ndr, name, "audiosrv_CreateGfxFactoriesList");
70         if (r == NULL) { ndr_print_null(ndr); return; }
71         ndr->depth++;
72         if (flags & NDR_SET_VALUES) {
73                 ndr->flags |= LIBNDR_PRINT_SET_VALUES;
74         }
75         if (flags & NDR_IN) {
76                 ndr_print_struct(ndr, "in", "audiosrv_CreateGfxFactoriesList");
77                 ndr->depth++;
78                 ndr->depth--;
79         }
80         if (flags & NDR_OUT) {
81                 ndr_print_struct(ndr, "out", "audiosrv_CreateGfxFactoriesList");
82                 ndr->depth++;
83                 ndr->depth--;
84         }
85         ndr->depth--;
86 }
87
88 static enum ndr_err_code ndr_push_audiosrv_CreateGfxList(struct ndr_push *ndr, int flags, const struct audiosrv_CreateGfxList *r)
89 {
90         NDR_PUSH_CHECK_FN_FLAGS(ndr, flags);
91         if (flags & NDR_IN) {
92         }
93         if (flags & NDR_OUT) {
94         }
95         return NDR_ERR_SUCCESS;
96 }
97
98 static enum ndr_err_code ndr_pull_audiosrv_CreateGfxList(struct ndr_pull *ndr, int flags, struct audiosrv_CreateGfxList *r)
99 {
100         NDR_PULL_CHECK_FN_FLAGS(ndr, flags);
101         if (flags & NDR_IN) {
102         }
103         if (flags & NDR_OUT) {
104         }
105         return NDR_ERR_SUCCESS;
106 }
107
108 _PUBLIC_ void ndr_print_audiosrv_CreateGfxList(struct ndr_print *ndr, const char *name, int flags, const struct audiosrv_CreateGfxList *r)
109 {
110         ndr_print_struct(ndr, name, "audiosrv_CreateGfxList");
111         if (r == NULL) { ndr_print_null(ndr); return; }
112         ndr->depth++;
113         if (flags & NDR_SET_VALUES) {
114                 ndr->flags |= LIBNDR_PRINT_SET_VALUES;
115         }
116         if (flags & NDR_IN) {
117                 ndr_print_struct(ndr, "in", "audiosrv_CreateGfxList");
118                 ndr->depth++;
119                 ndr->depth--;
120         }
121         if (flags & NDR_OUT) {
122                 ndr_print_struct(ndr, "out", "audiosrv_CreateGfxList");
123                 ndr->depth++;
124                 ndr->depth--;
125         }
126         ndr->depth--;
127 }
128
129 static enum ndr_err_code ndr_push_audiosrv_RemoveGfx(struct ndr_push *ndr, int flags, const struct audiosrv_RemoveGfx *r)
130 {
131         NDR_PUSH_CHECK_FN_FLAGS(ndr, flags);
132         if (flags & NDR_IN) {
133         }
134         if (flags & NDR_OUT) {
135         }
136         return NDR_ERR_SUCCESS;
137 }
138
139 static enum ndr_err_code ndr_pull_audiosrv_RemoveGfx(struct ndr_pull *ndr, int flags, struct audiosrv_RemoveGfx *r)
140 {
141         NDR_PULL_CHECK_FN_FLAGS(ndr, flags);
142         if (flags & NDR_IN) {
143         }
144         if (flags & NDR_OUT) {
145         }
146         return NDR_ERR_SUCCESS;
147 }
148
149 _PUBLIC_ void ndr_print_audiosrv_RemoveGfx(struct ndr_print *ndr, const char *name, int flags, const struct audiosrv_RemoveGfx *r)
150 {
151         ndr_print_struct(ndr, name, "audiosrv_RemoveGfx");
152         if (r == NULL) { ndr_print_null(ndr); return; }
153         ndr->depth++;
154         if (flags & NDR_SET_VALUES) {
155                 ndr->flags |= LIBNDR_PRINT_SET_VALUES;
156         }
157         if (flags & NDR_IN) {
158                 ndr_print_struct(ndr, "in", "audiosrv_RemoveGfx");
159                 ndr->depth++;
160                 ndr->depth--;
161         }
162         if (flags & NDR_OUT) {
163                 ndr_print_struct(ndr, "out", "audiosrv_RemoveGfx");
164                 ndr->depth++;
165                 ndr->depth--;
166         }
167         ndr->depth--;
168 }
169
170 static enum ndr_err_code ndr_push_audiosrv_AddGfx(struct ndr_push *ndr, int flags, const struct audiosrv_AddGfx *r)
171 {
172         NDR_PUSH_CHECK_FN_FLAGS(ndr, flags);
173         if (flags & NDR_IN) {
174         }
175         if (flags & NDR_OUT) {
176         }
177         return NDR_ERR_SUCCESS;
178 }
179
180 static enum ndr_err_code ndr_pull_audiosrv_AddGfx(struct ndr_pull *ndr, int flags, struct audiosrv_AddGfx *r)
181 {
182         NDR_PULL_CHECK_FN_FLAGS(ndr, flags);
183         if (flags & NDR_IN) {
184         }
185         if (flags & NDR_OUT) {
186         }
187         return NDR_ERR_SUCCESS;
188 }
189
190 _PUBLIC_ void ndr_print_audiosrv_AddGfx(struct ndr_print *ndr, const char *name, int flags, const struct audiosrv_AddGfx *r)
191 {
192         ndr_print_struct(ndr, name, "audiosrv_AddGfx");
193         if (r == NULL) { ndr_print_null(ndr); return; }
194         ndr->depth++;
195         if (flags & NDR_SET_VALUES) {
196                 ndr->flags |= LIBNDR_PRINT_SET_VALUES;
197         }
198         if (flags & NDR_IN) {
199                 ndr_print_struct(ndr, "in", "audiosrv_AddGfx");
200                 ndr->depth++;
201                 ndr->depth--;
202         }
203         if (flags & NDR_OUT) {
204                 ndr_print_struct(ndr, "out", "audiosrv_AddGfx");
205                 ndr->depth++;
206                 ndr->depth--;
207         }
208         ndr->depth--;
209 }
210
211 static enum ndr_err_code ndr_push_audiosrv_ModifyGfx(struct ndr_push *ndr, int flags, const struct audiosrv_ModifyGfx *r)
212 {
213         NDR_PUSH_CHECK_FN_FLAGS(ndr, flags);
214         if (flags & NDR_IN) {
215         }
216         if (flags & NDR_OUT) {
217         }
218         return NDR_ERR_SUCCESS;
219 }
220
221 static enum ndr_err_code ndr_pull_audiosrv_ModifyGfx(struct ndr_pull *ndr, int flags, struct audiosrv_ModifyGfx *r)
222 {
223         NDR_PULL_CHECK_FN_FLAGS(ndr, flags);
224         if (flags & NDR_IN) {
225         }
226         if (flags & NDR_OUT) {
227         }
228         return NDR_ERR_SUCCESS;
229 }
230
231 _PUBLIC_ void ndr_print_audiosrv_ModifyGfx(struct ndr_print *ndr, const char *name, int flags, const struct audiosrv_ModifyGfx *r)
232 {
233         ndr_print_struct(ndr, name, "audiosrv_ModifyGfx");
234         if (r == NULL) { ndr_print_null(ndr); return; }
235         ndr->depth++;
236         if (flags & NDR_SET_VALUES) {
237                 ndr->flags |= LIBNDR_PRINT_SET_VALUES;
238         }
239         if (flags & NDR_IN) {
240                 ndr_print_struct(ndr, "in", "audiosrv_ModifyGfx");
241                 ndr->depth++;
242                 ndr->depth--;
243         }
244         if (flags & NDR_OUT) {
245                 ndr_print_struct(ndr, "out", "audiosrv_ModifyGfx");
246                 ndr->depth++;
247                 ndr->depth--;
248         }
249         ndr->depth--;
250 }
251
252 static enum ndr_err_code ndr_push_audiosrv_OpenGfx(struct ndr_push *ndr, int flags, const struct audiosrv_OpenGfx *r)
253 {
254         NDR_PUSH_CHECK_FN_FLAGS(ndr, flags);
255         if (flags & NDR_IN) {
256         }
257         if (flags & NDR_OUT) {
258         }
259         return NDR_ERR_SUCCESS;
260 }
261
262 static enum ndr_err_code ndr_pull_audiosrv_OpenGfx(struct ndr_pull *ndr, int flags, struct audiosrv_OpenGfx *r)
263 {
264         NDR_PULL_CHECK_FN_FLAGS(ndr, flags);
265         if (flags & NDR_IN) {
266         }
267         if (flags & NDR_OUT) {
268         }
269         return NDR_ERR_SUCCESS;
270 }
271
272 _PUBLIC_ void ndr_print_audiosrv_OpenGfx(struct ndr_print *ndr, const char *name, int flags, const struct audiosrv_OpenGfx *r)
273 {
274         ndr_print_struct(ndr, name, "audiosrv_OpenGfx");
275         if (r == NULL) { ndr_print_null(ndr); return; }
276         ndr->depth++;
277         if (flags & NDR_SET_VALUES) {
278                 ndr->flags |= LIBNDR_PRINT_SET_VALUES;
279         }
280         if (flags & NDR_IN) {
281                 ndr_print_struct(ndr, "in", "audiosrv_OpenGfx");
282                 ndr->depth++;
283                 ndr->depth--;
284         }
285         if (flags & NDR_OUT) {
286                 ndr_print_struct(ndr, "out", "audiosrv_OpenGfx");
287                 ndr->depth++;
288                 ndr->depth--;
289         }
290         ndr->depth--;
291 }
292
293 static enum ndr_err_code ndr_push_audiosrv_Logon(struct ndr_push *ndr, int flags, const struct audiosrv_Logon *r)
294 {
295         NDR_PUSH_CHECK_FN_FLAGS(ndr, flags);
296         if (flags & NDR_IN) {
297         }
298         if (flags & NDR_OUT) {
299         }
300         return NDR_ERR_SUCCESS;
301 }
302
303 static enum ndr_err_code ndr_pull_audiosrv_Logon(struct ndr_pull *ndr, int flags, struct audiosrv_Logon *r)
304 {
305         NDR_PULL_CHECK_FN_FLAGS(ndr, flags);
306         if (flags & NDR_IN) {
307         }
308         if (flags & NDR_OUT) {
309         }
310         return NDR_ERR_SUCCESS;
311 }
312
313 _PUBLIC_ void ndr_print_audiosrv_Logon(struct ndr_print *ndr, const char *name, int flags, const struct audiosrv_Logon *r)
314 {
315         ndr_print_struct(ndr, name, "audiosrv_Logon");
316         if (r == NULL) { ndr_print_null(ndr); return; }
317         ndr->depth++;
318         if (flags & NDR_SET_VALUES) {
319                 ndr->flags |= LIBNDR_PRINT_SET_VALUES;
320         }
321         if (flags & NDR_IN) {
322                 ndr_print_struct(ndr, "in", "audiosrv_Logon");
323                 ndr->depth++;
324                 ndr->depth--;
325         }
326         if (flags & NDR_OUT) {
327                 ndr_print_struct(ndr, "out", "audiosrv_Logon");
328                 ndr->depth++;
329                 ndr->depth--;
330         }
331         ndr->depth--;
332 }
333
334 static enum ndr_err_code ndr_push_audiosrv_Logoff(struct ndr_push *ndr, int flags, const struct audiosrv_Logoff *r)
335 {
336         NDR_PUSH_CHECK_FN_FLAGS(ndr, flags);
337         if (flags & NDR_IN) {
338         }
339         if (flags & NDR_OUT) {
340         }
341         return NDR_ERR_SUCCESS;
342 }
343
344 static enum ndr_err_code ndr_pull_audiosrv_Logoff(struct ndr_pull *ndr, int flags, struct audiosrv_Logoff *r)
345 {
346         NDR_PULL_CHECK_FN_FLAGS(ndr, flags);
347         if (flags & NDR_IN) {
348         }
349         if (flags & NDR_OUT) {
350         }
351         return NDR_ERR_SUCCESS;
352 }
353
354 _PUBLIC_ void ndr_print_audiosrv_Logoff(struct ndr_print *ndr, const char *name, int flags, const struct audiosrv_Logoff *r)
355 {
356         ndr_print_struct(ndr, name, "audiosrv_Logoff");
357         if (r == NULL) { ndr_print_null(ndr); return; }
358         ndr->depth++;
359         if (flags & NDR_SET_VALUES) {
360                 ndr->flags |= LIBNDR_PRINT_SET_VALUES;
361         }
362         if (flags & NDR_IN) {
363                 ndr_print_struct(ndr, "in", "audiosrv_Logoff");
364                 ndr->depth++;
365                 ndr->depth--;
366         }
367         if (flags & NDR_OUT) {
368                 ndr_print_struct(ndr, "out", "audiosrv_Logoff");
369                 ndr->depth++;
370                 ndr->depth--;
371         }
372         ndr->depth--;
373 }
374
375 static enum ndr_err_code ndr_push_audiosrv_RegisterSessionNotificationEvent(struct ndr_push *ndr, int flags, const struct audiosrv_RegisterSessionNotificationEvent *r)
376 {
377         NDR_PUSH_CHECK_FN_FLAGS(ndr, flags);
378         if (flags & NDR_IN) {
379         }
380         if (flags & NDR_OUT) {
381         }
382         return NDR_ERR_SUCCESS;
383 }
384
385 static enum ndr_err_code ndr_pull_audiosrv_RegisterSessionNotificationEvent(struct ndr_pull *ndr, int flags, struct audiosrv_RegisterSessionNotificationEvent *r)
386 {
387         NDR_PULL_CHECK_FN_FLAGS(ndr, flags);
388         if (flags & NDR_IN) {
389         }
390         if (flags & NDR_OUT) {
391         }
392         return NDR_ERR_SUCCESS;
393 }
394
395 _PUBLIC_ void ndr_print_audiosrv_RegisterSessionNotificationEvent(struct ndr_print *ndr, const char *name, int flags, const struct audiosrv_RegisterSessionNotificationEvent *r)
396 {
397         ndr_print_struct(ndr, name, "audiosrv_RegisterSessionNotificationEvent");
398         if (r == NULL) { ndr_print_null(ndr); return; }
399         ndr->depth++;
400         if (flags & NDR_SET_VALUES) {
401                 ndr->flags |= LIBNDR_PRINT_SET_VALUES;
402         }
403         if (flags & NDR_IN) {
404                 ndr_print_struct(ndr, "in", "audiosrv_RegisterSessionNotificationEvent");
405                 ndr->depth++;
406                 ndr->depth--;
407         }
408         if (flags & NDR_OUT) {
409                 ndr_print_struct(ndr, "out", "audiosrv_RegisterSessionNotificationEvent");
410                 ndr->depth++;
411                 ndr->depth--;
412         }
413         ndr->depth--;
414 }
415
416 static enum ndr_err_code ndr_push_audiosrv_UnregisterSessionNotificationEvent(struct ndr_push *ndr, int flags, const struct audiosrv_UnregisterSessionNotificationEvent *r)
417 {
418         NDR_PUSH_CHECK_FN_FLAGS(ndr, flags);
419         if (flags & NDR_IN) {
420         }
421         if (flags & NDR_OUT) {
422         }
423         return NDR_ERR_SUCCESS;
424 }
425
426 static enum ndr_err_code ndr_pull_audiosrv_UnregisterSessionNotificationEvent(struct ndr_pull *ndr, int flags, struct audiosrv_UnregisterSessionNotificationEvent *r)
427 {
428         NDR_PULL_CHECK_FN_FLAGS(ndr, flags);
429         if (flags & NDR_IN) {
430         }
431         if (flags & NDR_OUT) {
432         }
433         return NDR_ERR_SUCCESS;
434 }
435
436 _PUBLIC_ void ndr_print_audiosrv_UnregisterSessionNotificationEvent(struct ndr_print *ndr, const char *name, int flags, const struct audiosrv_UnregisterSessionNotificationEvent *r)
437 {
438         ndr_print_struct(ndr, name, "audiosrv_UnregisterSessionNotificationEvent");
439         if (r == NULL) { ndr_print_null(ndr); return; }
440         ndr->depth++;
441         if (flags & NDR_SET_VALUES) {
442                 ndr->flags |= LIBNDR_PRINT_SET_VALUES;
443         }
444         if (flags & NDR_IN) {
445                 ndr_print_struct(ndr, "in", "audiosrv_UnregisterSessionNotificationEvent");
446                 ndr->depth++;
447                 ndr->depth--;
448         }
449         if (flags & NDR_OUT) {
450                 ndr_print_struct(ndr, "out", "audiosrv_UnregisterSessionNotificationEvent");
451                 ndr->depth++;
452                 ndr->depth--;
453         }
454         ndr->depth--;
455 }
456
457 static enum ndr_err_code ndr_push_audiosrv_SessionConnectState(struct ndr_push *ndr, int flags, const struct audiosrv_SessionConnectState *r)
458 {
459         NDR_PUSH_CHECK_FN_FLAGS(ndr, flags);
460         if (flags & NDR_IN) {
461         }
462         if (flags & NDR_OUT) {
463         }
464         return NDR_ERR_SUCCESS;
465 }
466
467 static enum ndr_err_code ndr_pull_audiosrv_SessionConnectState(struct ndr_pull *ndr, int flags, struct audiosrv_SessionConnectState *r)
468 {
469         NDR_PULL_CHECK_FN_FLAGS(ndr, flags);
470         if (flags & NDR_IN) {
471         }
472         if (flags & NDR_OUT) {
473         }
474         return NDR_ERR_SUCCESS;
475 }
476
477 _PUBLIC_ void ndr_print_audiosrv_SessionConnectState(struct ndr_print *ndr, const char *name, int flags, const struct audiosrv_SessionConnectState *r)
478 {
479         ndr_print_struct(ndr, name, "audiosrv_SessionConnectState");
480         if (r == NULL) { ndr_print_null(ndr); return; }
481         ndr->depth++;
482         if (flags & NDR_SET_VALUES) {
483                 ndr->flags |= LIBNDR_PRINT_SET_VALUES;
484         }
485         if (flags & NDR_IN) {
486                 ndr_print_struct(ndr, "in", "audiosrv_SessionConnectState");
487                 ndr->depth++;
488                 ndr->depth--;
489         }
490         if (flags & NDR_OUT) {
491                 ndr_print_struct(ndr, "out", "audiosrv_SessionConnectState");
492                 ndr->depth++;
493                 ndr->depth--;
494         }
495         ndr->depth--;
496 }
497
498 static enum ndr_err_code ndr_push_audiosrv_DriverOpenDrvRegKey(struct ndr_push *ndr, int flags, const struct audiosrv_DriverOpenDrvRegKey *r)
499 {
500         NDR_PUSH_CHECK_FN_FLAGS(ndr, flags);
501         if (flags & NDR_IN) {
502         }
503         if (flags & NDR_OUT) {
504         }
505         return NDR_ERR_SUCCESS;
506 }
507
508 static enum ndr_err_code ndr_pull_audiosrv_DriverOpenDrvRegKey(struct ndr_pull *ndr, int flags, struct audiosrv_DriverOpenDrvRegKey *r)
509 {
510         NDR_PULL_CHECK_FN_FLAGS(ndr, flags);
511         if (flags & NDR_IN) {
512         }
513         if (flags & NDR_OUT) {
514         }
515         return NDR_ERR_SUCCESS;
516 }
517
518 _PUBLIC_ void ndr_print_audiosrv_DriverOpenDrvRegKey(struct ndr_print *ndr, const char *name, int flags, const struct audiosrv_DriverOpenDrvRegKey *r)
519 {
520         ndr_print_struct(ndr, name, "audiosrv_DriverOpenDrvRegKey");
521         if (r == NULL) { ndr_print_null(ndr); return; }
522         ndr->depth++;
523         if (flags & NDR_SET_VALUES) {
524                 ndr->flags |= LIBNDR_PRINT_SET_VALUES;
525         }
526         if (flags & NDR_IN) {
527                 ndr_print_struct(ndr, "in", "audiosrv_DriverOpenDrvRegKey");
528                 ndr->depth++;
529                 ndr->depth--;
530         }
531         if (flags & NDR_OUT) {
532                 ndr_print_struct(ndr, "out", "audiosrv_DriverOpenDrvRegKey");
533                 ndr->depth++;
534                 ndr->depth--;
535         }
536         ndr->depth--;
537 }
538
539 static enum ndr_err_code ndr_push_audiosrv_AdvisePreferredDeviceChange(struct ndr_push *ndr, int flags, const struct audiosrv_AdvisePreferredDeviceChange *r)
540 {
541         NDR_PUSH_CHECK_FN_FLAGS(ndr, flags);
542         if (flags & NDR_IN) {
543         }
544         if (flags & NDR_OUT) {
545         }
546         return NDR_ERR_SUCCESS;
547 }
548
549 static enum ndr_err_code ndr_pull_audiosrv_AdvisePreferredDeviceChange(struct ndr_pull *ndr, int flags, struct audiosrv_AdvisePreferredDeviceChange *r)
550 {
551         NDR_PULL_CHECK_FN_FLAGS(ndr, flags);
552         if (flags & NDR_IN) {
553         }
554         if (flags & NDR_OUT) {
555         }
556         return NDR_ERR_SUCCESS;
557 }
558
559 _PUBLIC_ void ndr_print_audiosrv_AdvisePreferredDeviceChange(struct ndr_print *ndr, const char *name, int flags, const struct audiosrv_AdvisePreferredDeviceChange *r)
560 {
561         ndr_print_struct(ndr, name, "audiosrv_AdvisePreferredDeviceChange");
562         if (r == NULL) { ndr_print_null(ndr); return; }
563         ndr->depth++;
564         if (flags & NDR_SET_VALUES) {
565                 ndr->flags |= LIBNDR_PRINT_SET_VALUES;
566         }
567         if (flags & NDR_IN) {
568                 ndr_print_struct(ndr, "in", "audiosrv_AdvisePreferredDeviceChange");
569                 ndr->depth++;
570                 ndr->depth--;
571         }
572         if (flags & NDR_OUT) {
573                 ndr_print_struct(ndr, "out", "audiosrv_AdvisePreferredDeviceChange");
574                 ndr->depth++;
575                 ndr->depth--;
576         }
577         ndr->depth--;
578 }
579
580 static enum ndr_err_code ndr_push_audiosrv_GetPnpInfo(struct ndr_push *ndr, int flags, const struct audiosrv_GetPnpInfo *r)
581 {
582         NDR_PUSH_CHECK_FN_FLAGS(ndr, flags);
583         if (flags & NDR_IN) {
584         }
585         if (flags & NDR_OUT) {
586         }
587         return NDR_ERR_SUCCESS;
588 }
589
590 static enum ndr_err_code ndr_pull_audiosrv_GetPnpInfo(struct ndr_pull *ndr, int flags, struct audiosrv_GetPnpInfo *r)
591 {
592         NDR_PULL_CHECK_FN_FLAGS(ndr, flags);
593         if (flags & NDR_IN) {
594         }
595         if (flags & NDR_OUT) {
596         }
597         return NDR_ERR_SUCCESS;
598 }
599
600 _PUBLIC_ void ndr_print_audiosrv_GetPnpInfo(struct ndr_print *ndr, const char *name, int flags, const struct audiosrv_GetPnpInfo *r)
601 {
602         ndr_print_struct(ndr, name, "audiosrv_GetPnpInfo");
603         if (r == NULL) { ndr_print_null(ndr); return; }
604         ndr->depth++;
605         if (flags & NDR_SET_VALUES) {
606                 ndr->flags |= LIBNDR_PRINT_SET_VALUES;
607         }
608         if (flags & NDR_IN) {
609                 ndr_print_struct(ndr, "in", "audiosrv_GetPnpInfo");
610                 ndr->depth++;
611                 ndr->depth--;
612         }
613         if (flags & NDR_OUT) {
614                 ndr_print_struct(ndr, "out", "audiosrv_GetPnpInfo");
615                 ndr->depth++;
616                 ndr->depth--;
617         }
618         ndr->depth--;
619 }
620
621 static const struct ndr_interface_call audiosrv_calls[] = {
622         {
623                 "audiosrv_CreatezoneFactoriesList",
624                 sizeof(struct audiosrv_CreatezoneFactoriesList),
625                 (ndr_push_flags_fn_t) ndr_push_audiosrv_CreatezoneFactoriesList,
626                 (ndr_pull_flags_fn_t) ndr_pull_audiosrv_CreatezoneFactoriesList,
627                 (ndr_print_function_t) ndr_print_audiosrv_CreatezoneFactoriesList,
628                 { 0, NULL },
629                 { 0, NULL },
630         },
631         {
632                 "audiosrv_CreateGfxFactoriesList",
633                 sizeof(struct audiosrv_CreateGfxFactoriesList),
634                 (ndr_push_flags_fn_t) ndr_push_audiosrv_CreateGfxFactoriesList,
635                 (ndr_pull_flags_fn_t) ndr_pull_audiosrv_CreateGfxFactoriesList,
636                 (ndr_print_function_t) ndr_print_audiosrv_CreateGfxFactoriesList,
637                 { 0, NULL },
638                 { 0, NULL },
639         },
640         {
641                 "audiosrv_CreateGfxList",
642                 sizeof(struct audiosrv_CreateGfxList),
643                 (ndr_push_flags_fn_t) ndr_push_audiosrv_CreateGfxList,
644                 (ndr_pull_flags_fn_t) ndr_pull_audiosrv_CreateGfxList,
645                 (ndr_print_function_t) ndr_print_audiosrv_CreateGfxList,
646                 { 0, NULL },
647                 { 0, NULL },
648         },
649         {
650                 "audiosrv_RemoveGfx",
651                 sizeof(struct audiosrv_RemoveGfx),
652                 (ndr_push_flags_fn_t) ndr_push_audiosrv_RemoveGfx,
653                 (ndr_pull_flags_fn_t) ndr_pull_audiosrv_RemoveGfx,
654                 (ndr_print_function_t) ndr_print_audiosrv_RemoveGfx,
655                 { 0, NULL },
656                 { 0, NULL },
657         },
658         {
659                 "audiosrv_AddGfx",
660                 sizeof(struct audiosrv_AddGfx),
661                 (ndr_push_flags_fn_t) ndr_push_audiosrv_AddGfx,
662                 (ndr_pull_flags_fn_t) ndr_pull_audiosrv_AddGfx,
663                 (ndr_print_function_t) ndr_print_audiosrv_AddGfx,
664                 { 0, NULL },
665                 { 0, NULL },
666         },
667         {
668                 "audiosrv_ModifyGfx",
669                 sizeof(struct audiosrv_ModifyGfx),
670                 (ndr_push_flags_fn_t) ndr_push_audiosrv_ModifyGfx,
671                 (ndr_pull_flags_fn_t) ndr_pull_audiosrv_ModifyGfx,
672                 (ndr_print_function_t) ndr_print_audiosrv_ModifyGfx,
673                 { 0, NULL },
674                 { 0, NULL },
675         },
676         {
677                 "audiosrv_OpenGfx",
678                 sizeof(struct audiosrv_OpenGfx),
679                 (ndr_push_flags_fn_t) ndr_push_audiosrv_OpenGfx,
680                 (ndr_pull_flags_fn_t) ndr_pull_audiosrv_OpenGfx,
681                 (ndr_print_function_t) ndr_print_audiosrv_OpenGfx,
682                 { 0, NULL },
683                 { 0, NULL },
684         },
685         {
686                 "audiosrv_Logon",
687                 sizeof(struct audiosrv_Logon),
688                 (ndr_push_flags_fn_t) ndr_push_audiosrv_Logon,
689                 (ndr_pull_flags_fn_t) ndr_pull_audiosrv_Logon,
690                 (ndr_print_function_t) ndr_print_audiosrv_Logon,
691                 { 0, NULL },
692                 { 0, NULL },
693         },
694         {
695                 "audiosrv_Logoff",
696                 sizeof(struct audiosrv_Logoff),
697                 (ndr_push_flags_fn_t) ndr_push_audiosrv_Logoff,
698                 (ndr_pull_flags_fn_t) ndr_pull_audiosrv_Logoff,
699                 (ndr_print_function_t) ndr_print_audiosrv_Logoff,
700                 { 0, NULL },
701                 { 0, NULL },
702         },
703         {
704                 "audiosrv_RegisterSessionNotificationEvent",
705                 sizeof(struct audiosrv_RegisterSessionNotificationEvent),
706                 (ndr_push_flags_fn_t) ndr_push_audiosrv_RegisterSessionNotificationEvent,
707                 (ndr_pull_flags_fn_t) ndr_pull_audiosrv_RegisterSessionNotificationEvent,
708                 (ndr_print_function_t) ndr_print_audiosrv_RegisterSessionNotificationEvent,
709                 { 0, NULL },
710                 { 0, NULL },
711         },
712         {
713                 "audiosrv_UnregisterSessionNotificationEvent",
714                 sizeof(struct audiosrv_UnregisterSessionNotificationEvent),
715                 (ndr_push_flags_fn_t) ndr_push_audiosrv_UnregisterSessionNotificationEvent,
716                 (ndr_pull_flags_fn_t) ndr_pull_audiosrv_UnregisterSessionNotificationEvent,
717                 (ndr_print_function_t) ndr_print_audiosrv_UnregisterSessionNotificationEvent,
718                 { 0, NULL },
719                 { 0, NULL },
720         },
721         {
722                 "audiosrv_SessionConnectState",
723                 sizeof(struct audiosrv_SessionConnectState),
724                 (ndr_push_flags_fn_t) ndr_push_audiosrv_SessionConnectState,
725                 (ndr_pull_flags_fn_t) ndr_pull_audiosrv_SessionConnectState,
726                 (ndr_print_function_t) ndr_print_audiosrv_SessionConnectState,
727                 { 0, NULL },
728                 { 0, NULL },
729         },
730         {
731                 "audiosrv_DriverOpenDrvRegKey",
732                 sizeof(struct audiosrv_DriverOpenDrvRegKey),
733                 (ndr_push_flags_fn_t) ndr_push_audiosrv_DriverOpenDrvRegKey,
734                 (ndr_pull_flags_fn_t) ndr_pull_audiosrv_DriverOpenDrvRegKey,
735                 (ndr_print_function_t) ndr_print_audiosrv_DriverOpenDrvRegKey,
736                 { 0, NULL },
737                 { 0, NULL },
738         },
739         {
740                 "audiosrv_AdvisePreferredDeviceChange",
741                 sizeof(struct audiosrv_AdvisePreferredDeviceChange),
742                 (ndr_push_flags_fn_t) ndr_push_audiosrv_AdvisePreferredDeviceChange,
743                 (ndr_pull_flags_fn_t) ndr_pull_audiosrv_AdvisePreferredDeviceChange,
744                 (ndr_print_function_t) ndr_print_audiosrv_AdvisePreferredDeviceChange,
745                 { 0, NULL },
746                 { 0, NULL },
747         },
748         {
749                 "audiosrv_GetPnpInfo",
750                 sizeof(struct audiosrv_GetPnpInfo),
751                 (ndr_push_flags_fn_t) ndr_push_audiosrv_GetPnpInfo,
752                 (ndr_pull_flags_fn_t) ndr_pull_audiosrv_GetPnpInfo,
753                 (ndr_print_function_t) ndr_print_audiosrv_GetPnpInfo,
754                 { 0, NULL },
755                 { 0, NULL },
756         },
757         { NULL, 0, NULL, NULL, NULL }
758 };
759
760 static const char * const audiosrv_endpoint_strings[] = {
761         "ncacn_np:[\\pipe\\audiosrv]", 
762 };
763
764 static const struct ndr_interface_string_array audiosrv_endpoints = {
765         .count  = 1,
766         .names  = audiosrv_endpoint_strings
767 };
768
769 static const char * const audiosrv_authservice_strings[] = {
770         "host", 
771 };
772
773 static const struct ndr_interface_string_array audiosrv_authservices = {
774         .count  = 1,
775         .names  = audiosrv_authservice_strings
776 };
777
778
779 const struct ndr_interface_table ndr_table_audiosrv = {
780         .name           = "audiosrv",
781         .syntax_id      = {
782                 {0x0a74ef1c,0x41a4,0x4e06,{0x83,0xae},{0xdc,0x74,0xfb,0x1c,0xdd,0x53}},
783                 NDR_AUDIOSRV_VERSION
784         },
785         .helpstring     = NDR_AUDIOSRV_HELPSTRING,
786         .num_calls      = 15,
787         .calls          = audiosrv_calls,
788         .endpoints      = &audiosrv_endpoints,
789         .authservices   = &audiosrv_authservices
790 };
791