Line data Source code
1 : /*
2 : Unix SMB/CIFS implementation.
3 :
4 : endpoint server for the iremotewinspool pipe
5 :
6 : Copyright (C) YOUR NAME HERE YEAR
7 :
8 : This program is free software; you can redistribute it and/or modify
9 : it under the terms of the GNU General Public License as published by
10 : the Free Software Foundation; either version 3 of the License, or
11 : (at your option) any later version.
12 :
13 : This program is distributed in the hope that it will be useful,
14 : but WITHOUT ANY WARRANTY; without even the implied warranty of
15 : MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
16 : GNU General Public License for more details.
17 :
18 : You should have received a copy of the GNU General Public License
19 : along with this program. If not, see <http://www.gnu.org/licenses/>.
20 : */
21 :
22 : #include "includes.h"
23 : #include "ntdomain.h"
24 : #include "librpc/gen_ndr/ndr_winspool.h"
25 : #include "librpc/gen_ndr/ndr_winspool_scompat.h"
26 :
27 : /****************************************************************
28 : _winspool_AsyncOpenPrinter
29 : ****************************************************************/
30 :
31 0 : WERROR _winspool_AsyncOpenPrinter(struct pipes_struct *p,
32 : struct winspool_AsyncOpenPrinter *r)
33 : {
34 0 : p->fault_state = DCERPC_FAULT_OP_RNG_ERROR;
35 0 : return WERR_NOT_SUPPORTED;
36 : }
37 :
38 :
39 : /****************************************************************
40 : _winspool_AsyncAddPrinter
41 : ****************************************************************/
42 :
43 0 : WERROR _winspool_AsyncAddPrinter(struct pipes_struct *p,
44 : struct winspool_AsyncAddPrinter *r)
45 : {
46 0 : p->fault_state = DCERPC_FAULT_OP_RNG_ERROR;
47 0 : return WERR_NOT_SUPPORTED;
48 : }
49 :
50 :
51 : /****************************************************************
52 : _winspool_AsyncSetJob
53 : ****************************************************************/
54 :
55 0 : WERROR _winspool_AsyncSetJob(struct pipes_struct *p,
56 : struct winspool_AsyncSetJob *r)
57 : {
58 0 : p->fault_state = DCERPC_FAULT_OP_RNG_ERROR;
59 0 : return WERR_NOT_SUPPORTED;
60 : }
61 :
62 :
63 : /****************************************************************
64 : _winspool_AsyncGetJob
65 : ****************************************************************/
66 :
67 0 : WERROR _winspool_AsyncGetJob(struct pipes_struct *p,
68 : struct winspool_AsyncGetJob *r)
69 : {
70 0 : p->fault_state = DCERPC_FAULT_OP_RNG_ERROR;
71 0 : return WERR_NOT_SUPPORTED;
72 : }
73 :
74 :
75 : /****************************************************************
76 : _winspool_AsyncEnumJobs
77 : ****************************************************************/
78 :
79 0 : WERROR _winspool_AsyncEnumJobs(struct pipes_struct *p,
80 : struct winspool_AsyncEnumJobs *r)
81 : {
82 0 : p->fault_state = DCERPC_FAULT_OP_RNG_ERROR;
83 0 : return WERR_NOT_SUPPORTED;
84 : }
85 :
86 :
87 : /****************************************************************
88 : _winspool_AsyncAddJob
89 : ****************************************************************/
90 :
91 0 : WERROR _winspool_AsyncAddJob(struct pipes_struct *p,
92 : struct winspool_AsyncAddJob *r)
93 : {
94 0 : p->fault_state = DCERPC_FAULT_OP_RNG_ERROR;
95 0 : return WERR_NOT_SUPPORTED;
96 : }
97 :
98 :
99 : /****************************************************************
100 : _winspool_AsyncScheduleJob
101 : ****************************************************************/
102 :
103 0 : WERROR _winspool_AsyncScheduleJob(struct pipes_struct *p,
104 : struct winspool_AsyncScheduleJob *r)
105 : {
106 0 : p->fault_state = DCERPC_FAULT_OP_RNG_ERROR;
107 0 : return WERR_NOT_SUPPORTED;
108 : }
109 :
110 :
111 : /****************************************************************
112 : _winspool_AsyncDeletePrinter
113 : ****************************************************************/
114 :
115 0 : WERROR _winspool_AsyncDeletePrinter(struct pipes_struct *p,
116 : struct winspool_AsyncDeletePrinter *r)
117 : {
118 0 : p->fault_state = DCERPC_FAULT_OP_RNG_ERROR;
119 0 : return WERR_NOT_SUPPORTED;
120 : }
121 :
122 :
123 : /****************************************************************
124 : _winspool_AsyncSetPrinter
125 : ****************************************************************/
126 :
127 0 : WERROR _winspool_AsyncSetPrinter(struct pipes_struct *p,
128 : struct winspool_AsyncSetPrinter *r)
129 : {
130 0 : p->fault_state = DCERPC_FAULT_OP_RNG_ERROR;
131 0 : return WERR_NOT_SUPPORTED;
132 : }
133 :
134 :
135 : /****************************************************************
136 : _winspool_AsyncGetPrinter
137 : ****************************************************************/
138 :
139 0 : WERROR _winspool_AsyncGetPrinter(struct pipes_struct *p,
140 : struct winspool_AsyncGetPrinter *r)
141 : {
142 0 : p->fault_state = DCERPC_FAULT_OP_RNG_ERROR;
143 0 : return WERR_NOT_SUPPORTED;
144 : }
145 :
146 :
147 : /****************************************************************
148 : _winspool_AsyncStartDocPrinter
149 : ****************************************************************/
150 :
151 0 : WERROR _winspool_AsyncStartDocPrinter(struct pipes_struct *p,
152 : struct winspool_AsyncStartDocPrinter *r)
153 : {
154 0 : p->fault_state = DCERPC_FAULT_OP_RNG_ERROR;
155 0 : return WERR_NOT_SUPPORTED;
156 : }
157 :
158 :
159 : /****************************************************************
160 : _winspool_AsyncStartPagePrinter
161 : ****************************************************************/
162 :
163 0 : WERROR _winspool_AsyncStartPagePrinter(struct pipes_struct *p,
164 : struct winspool_AsyncStartPagePrinter *r)
165 : {
166 0 : p->fault_state = DCERPC_FAULT_OP_RNG_ERROR;
167 0 : return WERR_NOT_SUPPORTED;
168 : }
169 :
170 :
171 : /****************************************************************
172 : _winspool_AsyncWritePrinter
173 : ****************************************************************/
174 :
175 0 : WERROR _winspool_AsyncWritePrinter(struct pipes_struct *p,
176 : struct winspool_AsyncWritePrinter *r)
177 : {
178 0 : p->fault_state = DCERPC_FAULT_OP_RNG_ERROR;
179 0 : return WERR_NOT_SUPPORTED;
180 : }
181 :
182 :
183 : /****************************************************************
184 : _winspool_AsyncEndPagePrinter
185 : ****************************************************************/
186 :
187 0 : WERROR _winspool_AsyncEndPagePrinter(struct pipes_struct *p,
188 : struct winspool_AsyncEndPagePrinter *r)
189 : {
190 0 : p->fault_state = DCERPC_FAULT_OP_RNG_ERROR;
191 0 : return WERR_NOT_SUPPORTED;
192 : }
193 :
194 :
195 : /****************************************************************
196 : _winspool_AsyncEndDocPrinter
197 : ****************************************************************/
198 :
199 0 : WERROR _winspool_AsyncEndDocPrinter(struct pipes_struct *p,
200 : struct winspool_AsyncEndDocPrinter *r)
201 : {
202 0 : p->fault_state = DCERPC_FAULT_OP_RNG_ERROR;
203 0 : return WERR_NOT_SUPPORTED;
204 : }
205 :
206 :
207 : /****************************************************************
208 : _winspool_AsyncAbortPrinter
209 : ****************************************************************/
210 :
211 0 : WERROR _winspool_AsyncAbortPrinter(struct pipes_struct *p,
212 : struct winspool_AsyncAbortPrinter *r)
213 : {
214 0 : p->fault_state = DCERPC_FAULT_OP_RNG_ERROR;
215 0 : return WERR_NOT_SUPPORTED;
216 : }
217 :
218 :
219 : /****************************************************************
220 : _winspool_AsyncGetPrinterData
221 : ****************************************************************/
222 :
223 0 : WERROR _winspool_AsyncGetPrinterData(struct pipes_struct *p,
224 : struct winspool_AsyncGetPrinterData *r)
225 : {
226 0 : p->fault_state = DCERPC_FAULT_OP_RNG_ERROR;
227 0 : return WERR_NOT_SUPPORTED;
228 : }
229 :
230 :
231 : /****************************************************************
232 : _winspool_AsyncGetPrinterDataEx
233 : ****************************************************************/
234 :
235 0 : WERROR _winspool_AsyncGetPrinterDataEx(struct pipes_struct *p,
236 : struct winspool_AsyncGetPrinterDataEx *r)
237 : {
238 0 : p->fault_state = DCERPC_FAULT_OP_RNG_ERROR;
239 0 : return WERR_NOT_SUPPORTED;
240 : }
241 :
242 :
243 : /****************************************************************
244 : _winspool_AsyncSetPrinterData
245 : ****************************************************************/
246 :
247 0 : WERROR _winspool_AsyncSetPrinterData(struct pipes_struct *p,
248 : struct winspool_AsyncSetPrinterData *r)
249 : {
250 0 : p->fault_state = DCERPC_FAULT_OP_RNG_ERROR;
251 0 : return WERR_NOT_SUPPORTED;
252 : }
253 :
254 :
255 : /****************************************************************
256 : _winspool_AsyncSetPrinterDataEx
257 : ****************************************************************/
258 :
259 0 : WERROR _winspool_AsyncSetPrinterDataEx(struct pipes_struct *p,
260 : struct winspool_AsyncSetPrinterDataEx *r)
261 : {
262 0 : p->fault_state = DCERPC_FAULT_OP_RNG_ERROR;
263 0 : return WERR_NOT_SUPPORTED;
264 : }
265 :
266 :
267 : /****************************************************************
268 : _winspool_AsyncClosePrinter
269 : ****************************************************************/
270 :
271 0 : WERROR _winspool_AsyncClosePrinter(struct pipes_struct *p,
272 : struct winspool_AsyncClosePrinter *r)
273 : {
274 0 : p->fault_state = DCERPC_FAULT_OP_RNG_ERROR;
275 0 : return WERR_NOT_SUPPORTED;
276 : }
277 :
278 :
279 : /****************************************************************
280 : _winspool_AsyncAddForm
281 : ****************************************************************/
282 :
283 0 : WERROR _winspool_AsyncAddForm(struct pipes_struct *p,
284 : struct winspool_AsyncAddForm *r)
285 : {
286 0 : p->fault_state = DCERPC_FAULT_OP_RNG_ERROR;
287 0 : return WERR_NOT_SUPPORTED;
288 : }
289 :
290 :
291 : /****************************************************************
292 : _winspool_AsyncDeleteForm
293 : ****************************************************************/
294 :
295 0 : WERROR _winspool_AsyncDeleteForm(struct pipes_struct *p,
296 : struct winspool_AsyncDeleteForm *r)
297 : {
298 0 : p->fault_state = DCERPC_FAULT_OP_RNG_ERROR;
299 0 : return WERR_NOT_SUPPORTED;
300 : }
301 :
302 :
303 : /****************************************************************
304 : _winspool_AsyncGetForm
305 : ****************************************************************/
306 :
307 0 : WERROR _winspool_AsyncGetForm(struct pipes_struct *p,
308 : struct winspool_AsyncGetForm *r)
309 : {
310 0 : p->fault_state = DCERPC_FAULT_OP_RNG_ERROR;
311 0 : return WERR_NOT_SUPPORTED;
312 : }
313 :
314 :
315 : /****************************************************************
316 : _winspool_AsyncSetForm
317 : ****************************************************************/
318 :
319 0 : WERROR _winspool_AsyncSetForm(struct pipes_struct *p,
320 : struct winspool_AsyncSetForm *r)
321 : {
322 0 : p->fault_state = DCERPC_FAULT_OP_RNG_ERROR;
323 0 : return WERR_NOT_SUPPORTED;
324 : }
325 :
326 :
327 : /****************************************************************
328 : _winspool_AsyncEnumForms
329 : ****************************************************************/
330 :
331 0 : WERROR _winspool_AsyncEnumForms(struct pipes_struct *p,
332 : struct winspool_AsyncEnumForms *r)
333 : {
334 0 : p->fault_state = DCERPC_FAULT_OP_RNG_ERROR;
335 0 : return WERR_NOT_SUPPORTED;
336 : }
337 :
338 :
339 : /****************************************************************
340 : _winspool_AsyncGetPrinterDriver
341 : ****************************************************************/
342 :
343 0 : WERROR _winspool_AsyncGetPrinterDriver(struct pipes_struct *p,
344 : struct winspool_AsyncGetPrinterDriver *r)
345 : {
346 0 : p->fault_state = DCERPC_FAULT_OP_RNG_ERROR;
347 0 : return WERR_NOT_SUPPORTED;
348 : }
349 :
350 :
351 : /****************************************************************
352 : _winspool_AsyncEnumPrinterData
353 : ****************************************************************/
354 :
355 0 : WERROR _winspool_AsyncEnumPrinterData(struct pipes_struct *p,
356 : struct winspool_AsyncEnumPrinterData *r)
357 : {
358 0 : p->fault_state = DCERPC_FAULT_OP_RNG_ERROR;
359 0 : return WERR_NOT_SUPPORTED;
360 : }
361 :
362 :
363 : /****************************************************************
364 : _winspool_AsyncEnumPrinterDataEx
365 : ****************************************************************/
366 :
367 0 : WERROR _winspool_AsyncEnumPrinterDataEx(struct pipes_struct *p,
368 : struct winspool_AsyncEnumPrinterDataEx *r)
369 : {
370 0 : p->fault_state = DCERPC_FAULT_OP_RNG_ERROR;
371 0 : return WERR_NOT_SUPPORTED;
372 : }
373 :
374 :
375 : /****************************************************************
376 : _winspool_AsyncEnumPrinterKey
377 : ****************************************************************/
378 :
379 0 : WERROR _winspool_AsyncEnumPrinterKey(struct pipes_struct *p,
380 : struct winspool_AsyncEnumPrinterKey *r)
381 : {
382 0 : p->fault_state = DCERPC_FAULT_OP_RNG_ERROR;
383 0 : return WERR_NOT_SUPPORTED;
384 : }
385 :
386 :
387 : /****************************************************************
388 : _winspool_AsyncDeletePrinterData
389 : ****************************************************************/
390 :
391 0 : WERROR _winspool_AsyncDeletePrinterData(struct pipes_struct *p,
392 : struct winspool_AsyncDeletePrinterData *r)
393 : {
394 0 : p->fault_state = DCERPC_FAULT_OP_RNG_ERROR;
395 0 : return WERR_NOT_SUPPORTED;
396 : }
397 :
398 :
399 : /****************************************************************
400 : _winspool_AsyncDeletePrinterDataEx
401 : ****************************************************************/
402 :
403 0 : WERROR _winspool_AsyncDeletePrinterDataEx(struct pipes_struct *p,
404 : struct winspool_AsyncDeletePrinterDataEx *r)
405 : {
406 0 : p->fault_state = DCERPC_FAULT_OP_RNG_ERROR;
407 0 : return WERR_NOT_SUPPORTED;
408 : }
409 :
410 :
411 : /****************************************************************
412 : _winspool_AsyncDeletePrinterKey
413 : ****************************************************************/
414 :
415 0 : WERROR _winspool_AsyncDeletePrinterKey(struct pipes_struct *p,
416 : struct winspool_AsyncDeletePrinterKey *r)
417 : {
418 0 : p->fault_state = DCERPC_FAULT_OP_RNG_ERROR;
419 0 : return WERR_NOT_SUPPORTED;
420 : }
421 :
422 :
423 : /****************************************************************
424 : _winspool_AsyncXcvData
425 : ****************************************************************/
426 :
427 0 : WERROR _winspool_AsyncXcvData(struct pipes_struct *p,
428 : struct winspool_AsyncXcvData *r)
429 : {
430 0 : p->fault_state = DCERPC_FAULT_OP_RNG_ERROR;
431 0 : return WERR_NOT_SUPPORTED;
432 : }
433 :
434 :
435 : /****************************************************************
436 : _winspool_AsyncSendRecvBidiData
437 : ****************************************************************/
438 :
439 0 : WERROR _winspool_AsyncSendRecvBidiData(struct pipes_struct *p,
440 : struct winspool_AsyncSendRecvBidiData *r)
441 : {
442 0 : p->fault_state = DCERPC_FAULT_OP_RNG_ERROR;
443 0 : return WERR_NOT_SUPPORTED;
444 : }
445 :
446 :
447 : /****************************************************************
448 : _winspool_AsyncCreatePrinterIC
449 : ****************************************************************/
450 :
451 0 : WERROR _winspool_AsyncCreatePrinterIC(struct pipes_struct *p,
452 : struct winspool_AsyncCreatePrinterIC *r)
453 : {
454 0 : p->fault_state = DCERPC_FAULT_OP_RNG_ERROR;
455 0 : return WERR_NOT_SUPPORTED;
456 : }
457 :
458 :
459 : /****************************************************************
460 : _winspool_AsyncPlayGdiScriptOnPrinterIC
461 : ****************************************************************/
462 :
463 0 : WERROR _winspool_AsyncPlayGdiScriptOnPrinterIC(struct pipes_struct *p,
464 : struct winspool_AsyncPlayGdiScriptOnPrinterIC *r)
465 : {
466 0 : p->fault_state = DCERPC_FAULT_OP_RNG_ERROR;
467 0 : return WERR_NOT_SUPPORTED;
468 : }
469 :
470 :
471 : /****************************************************************
472 : _winspool_AsyncDeletePrinterIC
473 : ****************************************************************/
474 :
475 0 : WERROR _winspool_AsyncDeletePrinterIC(struct pipes_struct *p,
476 : struct winspool_AsyncDeletePrinterIC *r)
477 : {
478 0 : p->fault_state = DCERPC_FAULT_OP_RNG_ERROR;
479 0 : return WERR_NOT_SUPPORTED;
480 : }
481 :
482 :
483 : /****************************************************************
484 : _winspool_AsyncEnumPrinters
485 : ****************************************************************/
486 :
487 0 : WERROR _winspool_AsyncEnumPrinters(struct pipes_struct *p,
488 : struct winspool_AsyncEnumPrinters *r)
489 : {
490 0 : p->fault_state = DCERPC_FAULT_OP_RNG_ERROR;
491 0 : return WERR_NOT_SUPPORTED;
492 : }
493 :
494 :
495 : /****************************************************************
496 : _winspool_AsyncAddPrinterDriver
497 : ****************************************************************/
498 :
499 0 : WERROR _winspool_AsyncAddPrinterDriver(struct pipes_struct *p,
500 : struct winspool_AsyncAddPrinterDriver *r)
501 : {
502 0 : p->fault_state = DCERPC_FAULT_OP_RNG_ERROR;
503 0 : return WERR_NOT_SUPPORTED;
504 : }
505 :
506 :
507 : /****************************************************************
508 : _winspool_AsyncEnumPrinterDrivers
509 : ****************************************************************/
510 :
511 0 : WERROR _winspool_AsyncEnumPrinterDrivers(struct pipes_struct *p,
512 : struct winspool_AsyncEnumPrinterDrivers *r)
513 : {
514 0 : p->fault_state = DCERPC_FAULT_OP_RNG_ERROR;
515 0 : return WERR_NOT_SUPPORTED;
516 : }
517 :
518 :
519 : /****************************************************************
520 : _winspool_AsyncGetPrinterDriverDirectory
521 : ****************************************************************/
522 :
523 0 : WERROR _winspool_AsyncGetPrinterDriverDirectory(struct pipes_struct *p,
524 : struct winspool_AsyncGetPrinterDriverDirectory *r)
525 : {
526 0 : p->fault_state = DCERPC_FAULT_OP_RNG_ERROR;
527 0 : return WERR_NOT_SUPPORTED;
528 : }
529 :
530 :
531 : /****************************************************************
532 : _winspool_AsyncDeletePrinterDriver
533 : ****************************************************************/
534 :
535 0 : WERROR _winspool_AsyncDeletePrinterDriver(struct pipes_struct *p,
536 : struct winspool_AsyncDeletePrinterDriver *r)
537 : {
538 0 : p->fault_state = DCERPC_FAULT_OP_RNG_ERROR;
539 0 : return WERR_NOT_SUPPORTED;
540 : }
541 :
542 :
543 : /****************************************************************
544 : _winspool_AsyncDeletePrinterDriverEx
545 : ****************************************************************/
546 :
547 0 : WERROR _winspool_AsyncDeletePrinterDriverEx(struct pipes_struct *p,
548 : struct winspool_AsyncDeletePrinterDriverEx *r)
549 : {
550 0 : p->fault_state = DCERPC_FAULT_OP_RNG_ERROR;
551 0 : return WERR_NOT_SUPPORTED;
552 : }
553 :
554 :
555 : /****************************************************************
556 : _winspool_AsyncAddPrintProcessor
557 : ****************************************************************/
558 :
559 0 : WERROR _winspool_AsyncAddPrintProcessor(struct pipes_struct *p,
560 : struct winspool_AsyncAddPrintProcessor *r)
561 : {
562 0 : p->fault_state = DCERPC_FAULT_OP_RNG_ERROR;
563 0 : return WERR_NOT_SUPPORTED;
564 : }
565 :
566 :
567 : /****************************************************************
568 : _winspool_AsyncEnumPrintProcessors
569 : ****************************************************************/
570 :
571 0 : WERROR _winspool_AsyncEnumPrintProcessors(struct pipes_struct *p,
572 : struct winspool_AsyncEnumPrintProcessors *r)
573 : {
574 0 : p->fault_state = DCERPC_FAULT_OP_RNG_ERROR;
575 0 : return WERR_NOT_SUPPORTED;
576 : }
577 :
578 :
579 : /****************************************************************
580 : _winspool_AsyncGetPrintProcessorDirectory
581 : ****************************************************************/
582 :
583 0 : WERROR _winspool_AsyncGetPrintProcessorDirectory(struct pipes_struct *p,
584 : struct winspool_AsyncGetPrintProcessorDirectory *r)
585 : {
586 0 : p->fault_state = DCERPC_FAULT_OP_RNG_ERROR;
587 0 : return WERR_NOT_SUPPORTED;
588 : }
589 :
590 :
591 : /****************************************************************
592 : _winspool_AsyncEnumPorts
593 : ****************************************************************/
594 :
595 0 : WERROR _winspool_AsyncEnumPorts(struct pipes_struct *p,
596 : struct winspool_AsyncEnumPorts *r)
597 : {
598 0 : p->fault_state = DCERPC_FAULT_OP_RNG_ERROR;
599 0 : return WERR_NOT_SUPPORTED;
600 : }
601 :
602 :
603 : /****************************************************************
604 : _winspool_AsyncEnumMonitors
605 : ****************************************************************/
606 :
607 0 : WERROR _winspool_AsyncEnumMonitors(struct pipes_struct *p,
608 : struct winspool_AsyncEnumMonitors *r)
609 : {
610 0 : p->fault_state = DCERPC_FAULT_OP_RNG_ERROR;
611 0 : return WERR_NOT_SUPPORTED;
612 : }
613 :
614 :
615 : /****************************************************************
616 : _winspool_AsyncAddPort
617 : ****************************************************************/
618 :
619 0 : WERROR _winspool_AsyncAddPort(struct pipes_struct *p,
620 : struct winspool_AsyncAddPort *r)
621 : {
622 0 : p->fault_state = DCERPC_FAULT_OP_RNG_ERROR;
623 0 : return WERR_NOT_SUPPORTED;
624 : }
625 :
626 :
627 : /****************************************************************
628 : _winspool_AsyncSetPort
629 : ****************************************************************/
630 :
631 0 : WERROR _winspool_AsyncSetPort(struct pipes_struct *p,
632 : struct winspool_AsyncSetPort *r)
633 : {
634 0 : p->fault_state = DCERPC_FAULT_OP_RNG_ERROR;
635 0 : return WERR_NOT_SUPPORTED;
636 : }
637 :
638 :
639 : /****************************************************************
640 : _winspool_AsyncAddMonitor
641 : ****************************************************************/
642 :
643 0 : WERROR _winspool_AsyncAddMonitor(struct pipes_struct *p,
644 : struct winspool_AsyncAddMonitor *r)
645 : {
646 0 : p->fault_state = DCERPC_FAULT_OP_RNG_ERROR;
647 0 : return WERR_NOT_SUPPORTED;
648 : }
649 :
650 :
651 : /****************************************************************
652 : _winspool_AsyncDeleteMonitor
653 : ****************************************************************/
654 :
655 0 : WERROR _winspool_AsyncDeleteMonitor(struct pipes_struct *p,
656 : struct winspool_AsyncDeleteMonitor *r)
657 : {
658 0 : p->fault_state = DCERPC_FAULT_OP_RNG_ERROR;
659 0 : return WERR_NOT_SUPPORTED;
660 : }
661 :
662 :
663 : /****************************************************************
664 : _winspool_AsyncDeletePrintProcessor
665 : ****************************************************************/
666 :
667 0 : WERROR _winspool_AsyncDeletePrintProcessor(struct pipes_struct *p,
668 : struct winspool_AsyncDeletePrintProcessor *r)
669 : {
670 0 : p->fault_state = DCERPC_FAULT_OP_RNG_ERROR;
671 0 : return WERR_NOT_SUPPORTED;
672 : }
673 :
674 :
675 : /****************************************************************
676 : _winspool_AsyncEnumPrintProcessorDatatypes
677 : ****************************************************************/
678 :
679 0 : WERROR _winspool_AsyncEnumPrintProcessorDatatypes(struct pipes_struct *p,
680 : struct winspool_AsyncEnumPrintProcessorDatatypes *r)
681 : {
682 0 : p->fault_state = DCERPC_FAULT_OP_RNG_ERROR;
683 0 : return WERR_NOT_SUPPORTED;
684 : }
685 :
686 :
687 : /****************************************************************
688 : _winspool_AsyncAddPerMachineConnection
689 : ****************************************************************/
690 :
691 0 : WERROR _winspool_AsyncAddPerMachineConnection(struct pipes_struct *p,
692 : struct winspool_AsyncAddPerMachineConnection *r)
693 : {
694 0 : p->fault_state = DCERPC_FAULT_OP_RNG_ERROR;
695 0 : return WERR_NOT_SUPPORTED;
696 : }
697 :
698 :
699 : /****************************************************************
700 : _winspool_AsyncDeletePerMachineConnection
701 : ****************************************************************/
702 :
703 0 : WERROR _winspool_AsyncDeletePerMachineConnection(struct pipes_struct *p,
704 : struct winspool_AsyncDeletePerMachineConnection *r)
705 : {
706 0 : p->fault_state = DCERPC_FAULT_OP_RNG_ERROR;
707 0 : return WERR_NOT_SUPPORTED;
708 : }
709 :
710 :
711 : /****************************************************************
712 : _winspool_AsyncEnumPerMachineConnections
713 : ****************************************************************/
714 :
715 0 : WERROR _winspool_AsyncEnumPerMachineConnections(struct pipes_struct *p,
716 : struct winspool_AsyncEnumPerMachineConnections *r)
717 : {
718 0 : p->fault_state = DCERPC_FAULT_OP_RNG_ERROR;
719 0 : return WERR_NOT_SUPPORTED;
720 : }
721 :
722 :
723 : /****************************************************************
724 : _winspool_SyncRegisterForRemoteNotifications
725 : ****************************************************************/
726 :
727 0 : HRESULT _winspool_SyncRegisterForRemoteNotifications(struct pipes_struct *p,
728 : struct winspool_SyncRegisterForRemoteNotifications *r)
729 : {
730 0 : p->fault_state = DCERPC_FAULT_OP_RNG_ERROR;
731 0 : return HRES_ERROR_NOT_SUPPORTED;
732 : }
733 :
734 :
735 : /****************************************************************
736 : _winspool_SyncUnRegisterForRemoteNotifications
737 : ****************************************************************/
738 :
739 0 : HRESULT _winspool_SyncUnRegisterForRemoteNotifications(struct pipes_struct *p,
740 : struct winspool_SyncUnRegisterForRemoteNotifications *r)
741 : {
742 0 : p->fault_state = DCERPC_FAULT_OP_RNG_ERROR;
743 0 : return HRES_ERROR_NOT_SUPPORTED;
744 : }
745 :
746 :
747 : /****************************************************************
748 : _winspool_SyncRefreshRemoteNotifications
749 : ****************************************************************/
750 :
751 0 : HRESULT _winspool_SyncRefreshRemoteNotifications(struct pipes_struct *p,
752 : struct winspool_SyncRefreshRemoteNotifications *r)
753 : {
754 0 : p->fault_state = DCERPC_FAULT_OP_RNG_ERROR;
755 0 : return HRES_ERROR_NOT_SUPPORTED;
756 : }
757 :
758 :
759 : /****************************************************************
760 : _winspool_AsyncGetRemoteNotifications
761 : ****************************************************************/
762 :
763 0 : HRESULT _winspool_AsyncGetRemoteNotifications(struct pipes_struct *p,
764 : struct winspool_AsyncGetRemoteNotifications *r)
765 : {
766 0 : p->fault_state = DCERPC_FAULT_OP_RNG_ERROR;
767 0 : return HRES_ERROR_NOT_SUPPORTED;
768 : }
769 :
770 :
771 : /****************************************************************
772 : _winspool_AsyncInstallPrinterDriverFromPackage
773 : ****************************************************************/
774 :
775 0 : HRESULT _winspool_AsyncInstallPrinterDriverFromPackage(struct pipes_struct *p,
776 : struct winspool_AsyncInstallPrinterDriverFromPackage *r)
777 : {
778 0 : p->fault_state = DCERPC_FAULT_OP_RNG_ERROR;
779 0 : return HRES_ERROR_NOT_SUPPORTED;
780 : }
781 :
782 :
783 : /****************************************************************
784 : _winspool_AsyncUploadPrinterDriverPackage
785 : ****************************************************************/
786 :
787 0 : HRESULT _winspool_AsyncUploadPrinterDriverPackage(struct pipes_struct *p,
788 : struct winspool_AsyncUploadPrinterDriverPackage *r)
789 : {
790 0 : p->fault_state = DCERPC_FAULT_OP_RNG_ERROR;
791 0 : return HRES_ERROR_NOT_SUPPORTED;
792 : }
793 :
794 :
795 : /****************************************************************
796 : _winspool_AsyncGetCorePrinterDrivers
797 : ****************************************************************/
798 :
799 0 : HRESULT _winspool_AsyncGetCorePrinterDrivers(struct pipes_struct *p,
800 : struct winspool_AsyncGetCorePrinterDrivers *r)
801 : {
802 0 : p->fault_state = DCERPC_FAULT_OP_RNG_ERROR;
803 0 : return HRES_ERROR_NOT_SUPPORTED;
804 : }
805 :
806 :
807 : /****************************************************************
808 : _winspool_AsyncCorePrinterDriverInstalled
809 : ****************************************************************/
810 :
811 0 : HRESULT _winspool_AsyncCorePrinterDriverInstalled(struct pipes_struct *p,
812 : struct winspool_AsyncCorePrinterDriverInstalled *r)
813 : {
814 0 : p->fault_state = DCERPC_FAULT_OP_RNG_ERROR;
815 0 : return HRES_ERROR_NOT_SUPPORTED;
816 : }
817 :
818 :
819 : /****************************************************************
820 : _winspool_AsyncGetPrinterDriverPackagePath
821 : ****************************************************************/
822 :
823 0 : HRESULT _winspool_AsyncGetPrinterDriverPackagePath(struct pipes_struct *p,
824 : struct winspool_AsyncGetPrinterDriverPackagePath *r)
825 : {
826 0 : p->fault_state = DCERPC_FAULT_OP_RNG_ERROR;
827 0 : return HRES_ERROR_NOT_SUPPORTED;
828 : }
829 :
830 :
831 : /****************************************************************
832 : _winspool_AsyncDeletePrinterDriverPackage
833 : ****************************************************************/
834 :
835 0 : HRESULT _winspool_AsyncDeletePrinterDriverPackage(struct pipes_struct *p,
836 : struct winspool_AsyncDeletePrinterDriverPackage *r)
837 : {
838 0 : p->fault_state = DCERPC_FAULT_OP_RNG_ERROR;
839 0 : return HRES_ERROR_NOT_SUPPORTED;
840 : }
841 :
842 :
843 : /****************************************************************
844 : _winspool_AsyncReadPrinter
845 : ****************************************************************/
846 :
847 0 : WERROR _winspool_AsyncReadPrinter(struct pipes_struct *p,
848 : struct winspool_AsyncReadPrinter *r)
849 : {
850 0 : p->fault_state = DCERPC_FAULT_OP_RNG_ERROR;
851 0 : return WERR_NOT_SUPPORTED;
852 : }
853 :
854 :
855 : /****************************************************************
856 : _winspool_AsyncResetPrinter
857 : ****************************************************************/
858 :
859 0 : WERROR _winspool_AsyncResetPrinter(struct pipes_struct *p,
860 : struct winspool_AsyncResetPrinter *r)
861 : {
862 0 : p->fault_state = DCERPC_FAULT_OP_RNG_ERROR;
863 0 : return WERR_NOT_SUPPORTED;
864 : }
865 :
866 :
867 : /****************************************************************
868 : _winspool_AsyncGetJobNamedPropertyValue
869 : ****************************************************************/
870 :
871 0 : WERROR _winspool_AsyncGetJobNamedPropertyValue(struct pipes_struct *p,
872 : struct winspool_AsyncGetJobNamedPropertyValue *r)
873 : {
874 0 : p->fault_state = DCERPC_FAULT_OP_RNG_ERROR;
875 0 : return WERR_NOT_SUPPORTED;
876 : }
877 :
878 :
879 : /****************************************************************
880 : _winspool_AsyncSetJobNamedProperty
881 : ****************************************************************/
882 :
883 0 : WERROR _winspool_AsyncSetJobNamedProperty(struct pipes_struct *p,
884 : struct winspool_AsyncSetJobNamedProperty *r)
885 : {
886 0 : p->fault_state = DCERPC_FAULT_OP_RNG_ERROR;
887 0 : return WERR_NOT_SUPPORTED;
888 : }
889 :
890 :
891 : /****************************************************************
892 : _winspool_AsyncDeleteJobNamedProperty
893 : ****************************************************************/
894 :
895 0 : WERROR _winspool_AsyncDeleteJobNamedProperty(struct pipes_struct *p,
896 : struct winspool_AsyncDeleteJobNamedProperty *r)
897 : {
898 0 : p->fault_state = DCERPC_FAULT_OP_RNG_ERROR;
899 0 : return WERR_NOT_SUPPORTED;
900 : }
901 :
902 :
903 : /****************************************************************
904 : _winspool_AsyncEnumJobNamedProperties
905 : ****************************************************************/
906 :
907 0 : WERROR _winspool_AsyncEnumJobNamedProperties(struct pipes_struct *p,
908 : struct winspool_AsyncEnumJobNamedProperties *r)
909 : {
910 0 : p->fault_state = DCERPC_FAULT_OP_RNG_ERROR;
911 0 : return WERR_NOT_SUPPORTED;
912 : }
913 :
914 :
915 : /****************************************************************
916 : _winspool_AsyncLogJobInfoForBranchOffice
917 : ****************************************************************/
918 :
919 0 : WERROR _winspool_AsyncLogJobInfoForBranchOffice(struct pipes_struct *p,
920 : struct winspool_AsyncLogJobInfoForBranchOffice *r)
921 : {
922 0 : p->fault_state = DCERPC_FAULT_OP_RNG_ERROR;
923 0 : return WERR_NOT_SUPPORTED;
924 : }
|