2 Unix SMB/CIFS implementation.
4 endpoint server for the iremotewinspool pipe
6 Copyright (C) YOUR NAME HERE YEAR
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.
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.
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/>.
24 #include "../librpc/gen_ndr/srv_winspool.h"
26 /****************************************************************
27 _winspool_AsyncOpenPrinter
28 ****************************************************************/
30 WERROR
_winspool_AsyncOpenPrinter(struct pipes_struct
*p
,
31 struct winspool_AsyncOpenPrinter
*r
)
33 p
->fault_state
= DCERPC_FAULT_OP_RNG_ERROR
;
34 return WERR_NOT_SUPPORTED
;
38 /****************************************************************
39 _winspool_AsyncAddPrinter
40 ****************************************************************/
42 WERROR
_winspool_AsyncAddPrinter(struct pipes_struct
*p
,
43 struct winspool_AsyncAddPrinter
*r
)
45 p
->fault_state
= DCERPC_FAULT_OP_RNG_ERROR
;
46 return WERR_NOT_SUPPORTED
;
50 /****************************************************************
52 ****************************************************************/
54 WERROR
_winspool_AsyncSetJob(struct pipes_struct
*p
,
55 struct winspool_AsyncSetJob
*r
)
57 p
->fault_state
= DCERPC_FAULT_OP_RNG_ERROR
;
58 return WERR_NOT_SUPPORTED
;
62 /****************************************************************
64 ****************************************************************/
66 WERROR
_winspool_AsyncGetJob(struct pipes_struct
*p
,
67 struct winspool_AsyncGetJob
*r
)
69 p
->fault_state
= DCERPC_FAULT_OP_RNG_ERROR
;
70 return WERR_NOT_SUPPORTED
;
74 /****************************************************************
75 _winspool_AsyncEnumJobs
76 ****************************************************************/
78 WERROR
_winspool_AsyncEnumJobs(struct pipes_struct
*p
,
79 struct winspool_AsyncEnumJobs
*r
)
81 p
->fault_state
= DCERPC_FAULT_OP_RNG_ERROR
;
82 return WERR_NOT_SUPPORTED
;
86 /****************************************************************
88 ****************************************************************/
90 WERROR
_winspool_AsyncAddJob(struct pipes_struct
*p
,
91 struct winspool_AsyncAddJob
*r
)
93 p
->fault_state
= DCERPC_FAULT_OP_RNG_ERROR
;
94 return WERR_NOT_SUPPORTED
;
98 /****************************************************************
99 _winspool_AsyncScheduleJob
100 ****************************************************************/
102 WERROR
_winspool_AsyncScheduleJob(struct pipes_struct
*p
,
103 struct winspool_AsyncScheduleJob
*r
)
105 p
->fault_state
= DCERPC_FAULT_OP_RNG_ERROR
;
106 return WERR_NOT_SUPPORTED
;
110 /****************************************************************
111 _winspool_AsyncDeletePrinter
112 ****************************************************************/
114 WERROR
_winspool_AsyncDeletePrinter(struct pipes_struct
*p
,
115 struct winspool_AsyncDeletePrinter
*r
)
117 p
->fault_state
= DCERPC_FAULT_OP_RNG_ERROR
;
118 return WERR_NOT_SUPPORTED
;
122 /****************************************************************
123 _winspool_AsyncSetPrinter
124 ****************************************************************/
126 WERROR
_winspool_AsyncSetPrinter(struct pipes_struct
*p
,
127 struct winspool_AsyncSetPrinter
*r
)
129 p
->fault_state
= DCERPC_FAULT_OP_RNG_ERROR
;
130 return WERR_NOT_SUPPORTED
;
134 /****************************************************************
135 _winspool_AsyncGetPrinter
136 ****************************************************************/
138 WERROR
_winspool_AsyncGetPrinter(struct pipes_struct
*p
,
139 struct winspool_AsyncGetPrinter
*r
)
141 p
->fault_state
= DCERPC_FAULT_OP_RNG_ERROR
;
142 return WERR_NOT_SUPPORTED
;
146 /****************************************************************
147 _winspool_AsyncStartDocPrinter
148 ****************************************************************/
150 WERROR
_winspool_AsyncStartDocPrinter(struct pipes_struct
*p
,
151 struct winspool_AsyncStartDocPrinter
*r
)
153 p
->fault_state
= DCERPC_FAULT_OP_RNG_ERROR
;
154 return WERR_NOT_SUPPORTED
;
158 /****************************************************************
159 _winspool_AsyncStartPagePrinter
160 ****************************************************************/
162 WERROR
_winspool_AsyncStartPagePrinter(struct pipes_struct
*p
,
163 struct winspool_AsyncStartPagePrinter
*r
)
165 p
->fault_state
= DCERPC_FAULT_OP_RNG_ERROR
;
166 return WERR_NOT_SUPPORTED
;
170 /****************************************************************
171 _winspool_AsyncWritePrinter
172 ****************************************************************/
174 WERROR
_winspool_AsyncWritePrinter(struct pipes_struct
*p
,
175 struct winspool_AsyncWritePrinter
*r
)
177 p
->fault_state
= DCERPC_FAULT_OP_RNG_ERROR
;
178 return WERR_NOT_SUPPORTED
;
182 /****************************************************************
183 _winspool_AsyncEndPagePrinter
184 ****************************************************************/
186 WERROR
_winspool_AsyncEndPagePrinter(struct pipes_struct
*p
,
187 struct winspool_AsyncEndPagePrinter
*r
)
189 p
->fault_state
= DCERPC_FAULT_OP_RNG_ERROR
;
190 return WERR_NOT_SUPPORTED
;
194 /****************************************************************
195 _winspool_AsyncEndDocPrinter
196 ****************************************************************/
198 WERROR
_winspool_AsyncEndDocPrinter(struct pipes_struct
*p
,
199 struct winspool_AsyncEndDocPrinter
*r
)
201 p
->fault_state
= DCERPC_FAULT_OP_RNG_ERROR
;
202 return WERR_NOT_SUPPORTED
;
206 /****************************************************************
207 _winspool_AsyncAbortPrinter
208 ****************************************************************/
210 WERROR
_winspool_AsyncAbortPrinter(struct pipes_struct
*p
,
211 struct winspool_AsyncAbortPrinter
*r
)
213 p
->fault_state
= DCERPC_FAULT_OP_RNG_ERROR
;
214 return WERR_NOT_SUPPORTED
;
218 /****************************************************************
219 _winspool_AsyncGetPrinterData
220 ****************************************************************/
222 WERROR
_winspool_AsyncGetPrinterData(struct pipes_struct
*p
,
223 struct winspool_AsyncGetPrinterData
*r
)
225 p
->fault_state
= DCERPC_FAULT_OP_RNG_ERROR
;
226 return WERR_NOT_SUPPORTED
;
230 /****************************************************************
231 _winspool_AsyncGetPrinterDataEx
232 ****************************************************************/
234 WERROR
_winspool_AsyncGetPrinterDataEx(struct pipes_struct
*p
,
235 struct winspool_AsyncGetPrinterDataEx
*r
)
237 p
->fault_state
= DCERPC_FAULT_OP_RNG_ERROR
;
238 return WERR_NOT_SUPPORTED
;
242 /****************************************************************
243 _winspool_AsyncSetPrinterData
244 ****************************************************************/
246 WERROR
_winspool_AsyncSetPrinterData(struct pipes_struct
*p
,
247 struct winspool_AsyncSetPrinterData
*r
)
249 p
->fault_state
= DCERPC_FAULT_OP_RNG_ERROR
;
250 return WERR_NOT_SUPPORTED
;
254 /****************************************************************
255 _winspool_AsyncSetPrinterDataEx
256 ****************************************************************/
258 WERROR
_winspool_AsyncSetPrinterDataEx(struct pipes_struct
*p
,
259 struct winspool_AsyncSetPrinterDataEx
*r
)
261 p
->fault_state
= DCERPC_FAULT_OP_RNG_ERROR
;
262 return WERR_NOT_SUPPORTED
;
266 /****************************************************************
267 _winspool_AsyncClosePrinter
268 ****************************************************************/
270 WERROR
_winspool_AsyncClosePrinter(struct pipes_struct
*p
,
271 struct winspool_AsyncClosePrinter
*r
)
273 p
->fault_state
= DCERPC_FAULT_OP_RNG_ERROR
;
274 return WERR_NOT_SUPPORTED
;
278 /****************************************************************
279 _winspool_AsyncAddForm
280 ****************************************************************/
282 WERROR
_winspool_AsyncAddForm(struct pipes_struct
*p
,
283 struct winspool_AsyncAddForm
*r
)
285 p
->fault_state
= DCERPC_FAULT_OP_RNG_ERROR
;
286 return WERR_NOT_SUPPORTED
;
290 /****************************************************************
291 _winspool_AsyncDeleteForm
292 ****************************************************************/
294 WERROR
_winspool_AsyncDeleteForm(struct pipes_struct
*p
,
295 struct winspool_AsyncDeleteForm
*r
)
297 p
->fault_state
= DCERPC_FAULT_OP_RNG_ERROR
;
298 return WERR_NOT_SUPPORTED
;
302 /****************************************************************
303 _winspool_AsyncGetForm
304 ****************************************************************/
306 WERROR
_winspool_AsyncGetForm(struct pipes_struct
*p
,
307 struct winspool_AsyncGetForm
*r
)
309 p
->fault_state
= DCERPC_FAULT_OP_RNG_ERROR
;
310 return WERR_NOT_SUPPORTED
;
314 /****************************************************************
315 _winspool_AsyncSetForm
316 ****************************************************************/
318 WERROR
_winspool_AsyncSetForm(struct pipes_struct
*p
,
319 struct winspool_AsyncSetForm
*r
)
321 p
->fault_state
= DCERPC_FAULT_OP_RNG_ERROR
;
322 return WERR_NOT_SUPPORTED
;
326 /****************************************************************
327 _winspool_AsyncEnumForms
328 ****************************************************************/
330 WERROR
_winspool_AsyncEnumForms(struct pipes_struct
*p
,
331 struct winspool_AsyncEnumForms
*r
)
333 p
->fault_state
= DCERPC_FAULT_OP_RNG_ERROR
;
334 return WERR_NOT_SUPPORTED
;
338 /****************************************************************
339 _winspool_AsyncGetPrinterDriver
340 ****************************************************************/
342 WERROR
_winspool_AsyncGetPrinterDriver(struct pipes_struct
*p
,
343 struct winspool_AsyncGetPrinterDriver
*r
)
345 p
->fault_state
= DCERPC_FAULT_OP_RNG_ERROR
;
346 return WERR_NOT_SUPPORTED
;
350 /****************************************************************
351 _winspool_AsyncEnumPrinterData
352 ****************************************************************/
354 WERROR
_winspool_AsyncEnumPrinterData(struct pipes_struct
*p
,
355 struct winspool_AsyncEnumPrinterData
*r
)
357 p
->fault_state
= DCERPC_FAULT_OP_RNG_ERROR
;
358 return WERR_NOT_SUPPORTED
;
362 /****************************************************************
363 _winspool_AsyncEnumPrinterDataEx
364 ****************************************************************/
366 WERROR
_winspool_AsyncEnumPrinterDataEx(struct pipes_struct
*p
,
367 struct winspool_AsyncEnumPrinterDataEx
*r
)
369 p
->fault_state
= DCERPC_FAULT_OP_RNG_ERROR
;
370 return WERR_NOT_SUPPORTED
;
374 /****************************************************************
375 _winspool_AsyncEnumPrinterKey
376 ****************************************************************/
378 WERROR
_winspool_AsyncEnumPrinterKey(struct pipes_struct
*p
,
379 struct winspool_AsyncEnumPrinterKey
*r
)
381 p
->fault_state
= DCERPC_FAULT_OP_RNG_ERROR
;
382 return WERR_NOT_SUPPORTED
;
386 /****************************************************************
387 _winspool_AsyncDeletePrinterData
388 ****************************************************************/
390 WERROR
_winspool_AsyncDeletePrinterData(struct pipes_struct
*p
,
391 struct winspool_AsyncDeletePrinterData
*r
)
393 p
->fault_state
= DCERPC_FAULT_OP_RNG_ERROR
;
394 return WERR_NOT_SUPPORTED
;
398 /****************************************************************
399 _winspool_AsyncDeletePrinterDataEx
400 ****************************************************************/
402 WERROR
_winspool_AsyncDeletePrinterDataEx(struct pipes_struct
*p
,
403 struct winspool_AsyncDeletePrinterDataEx
*r
)
405 p
->fault_state
= DCERPC_FAULT_OP_RNG_ERROR
;
406 return WERR_NOT_SUPPORTED
;
410 /****************************************************************
411 _winspool_AsyncDeletePrinterKey
412 ****************************************************************/
414 WERROR
_winspool_AsyncDeletePrinterKey(struct pipes_struct
*p
,
415 struct winspool_AsyncDeletePrinterKey
*r
)
417 p
->fault_state
= DCERPC_FAULT_OP_RNG_ERROR
;
418 return WERR_NOT_SUPPORTED
;
422 /****************************************************************
423 _winspool_AsyncXcvData
424 ****************************************************************/
426 WERROR
_winspool_AsyncXcvData(struct pipes_struct
*p
,
427 struct winspool_AsyncXcvData
*r
)
429 p
->fault_state
= DCERPC_FAULT_OP_RNG_ERROR
;
430 return WERR_NOT_SUPPORTED
;
434 /****************************************************************
435 _winspool_AsyncSendRecvBidiData
436 ****************************************************************/
438 WERROR
_winspool_AsyncSendRecvBidiData(struct pipes_struct
*p
,
439 struct winspool_AsyncSendRecvBidiData
*r
)
441 p
->fault_state
= DCERPC_FAULT_OP_RNG_ERROR
;
442 return WERR_NOT_SUPPORTED
;
446 /****************************************************************
447 _winspool_AsyncCreatePrinterIC
448 ****************************************************************/
450 WERROR
_winspool_AsyncCreatePrinterIC(struct pipes_struct
*p
,
451 struct winspool_AsyncCreatePrinterIC
*r
)
453 p
->fault_state
= DCERPC_FAULT_OP_RNG_ERROR
;
454 return WERR_NOT_SUPPORTED
;
458 /****************************************************************
459 _winspool_AsyncPlayGdiScriptOnPrinterIC
460 ****************************************************************/
462 WERROR
_winspool_AsyncPlayGdiScriptOnPrinterIC(struct pipes_struct
*p
,
463 struct winspool_AsyncPlayGdiScriptOnPrinterIC
*r
)
465 p
->fault_state
= DCERPC_FAULT_OP_RNG_ERROR
;
466 return WERR_NOT_SUPPORTED
;
470 /****************************************************************
471 _winspool_AsyncDeletePrinterIC
472 ****************************************************************/
474 WERROR
_winspool_AsyncDeletePrinterIC(struct pipes_struct
*p
,
475 struct winspool_AsyncDeletePrinterIC
*r
)
477 p
->fault_state
= DCERPC_FAULT_OP_RNG_ERROR
;
478 return WERR_NOT_SUPPORTED
;
482 /****************************************************************
483 _winspool_AsyncEnumPrinters
484 ****************************************************************/
486 WERROR
_winspool_AsyncEnumPrinters(struct pipes_struct
*p
,
487 struct winspool_AsyncEnumPrinters
*r
)
489 p
->fault_state
= DCERPC_FAULT_OP_RNG_ERROR
;
490 return WERR_NOT_SUPPORTED
;
494 /****************************************************************
495 _winspool_AsyncAddPrinterDriver
496 ****************************************************************/
498 WERROR
_winspool_AsyncAddPrinterDriver(struct pipes_struct
*p
,
499 struct winspool_AsyncAddPrinterDriver
*r
)
501 p
->fault_state
= DCERPC_FAULT_OP_RNG_ERROR
;
502 return WERR_NOT_SUPPORTED
;
506 /****************************************************************
507 _winspool_AsyncEnumPrinterDrivers
508 ****************************************************************/
510 WERROR
_winspool_AsyncEnumPrinterDrivers(struct pipes_struct
*p
,
511 struct winspool_AsyncEnumPrinterDrivers
*r
)
513 p
->fault_state
= DCERPC_FAULT_OP_RNG_ERROR
;
514 return WERR_NOT_SUPPORTED
;
518 /****************************************************************
519 _winspool_AsyncGetPrinterDriverDirectory
520 ****************************************************************/
522 WERROR
_winspool_AsyncGetPrinterDriverDirectory(struct pipes_struct
*p
,
523 struct winspool_AsyncGetPrinterDriverDirectory
*r
)
525 p
->fault_state
= DCERPC_FAULT_OP_RNG_ERROR
;
526 return WERR_NOT_SUPPORTED
;
530 /****************************************************************
531 _winspool_AsyncDeletePrinterDriver
532 ****************************************************************/
534 WERROR
_winspool_AsyncDeletePrinterDriver(struct pipes_struct
*p
,
535 struct winspool_AsyncDeletePrinterDriver
*r
)
537 p
->fault_state
= DCERPC_FAULT_OP_RNG_ERROR
;
538 return WERR_NOT_SUPPORTED
;
542 /****************************************************************
543 _winspool_AsyncDeletePrinterDriverEx
544 ****************************************************************/
546 WERROR
_winspool_AsyncDeletePrinterDriverEx(struct pipes_struct
*p
,
547 struct winspool_AsyncDeletePrinterDriverEx
*r
)
549 p
->fault_state
= DCERPC_FAULT_OP_RNG_ERROR
;
550 return WERR_NOT_SUPPORTED
;
554 /****************************************************************
555 _winspool_AsyncAddPrintProcessor
556 ****************************************************************/
558 WERROR
_winspool_AsyncAddPrintProcessor(struct pipes_struct
*p
,
559 struct winspool_AsyncAddPrintProcessor
*r
)
561 p
->fault_state
= DCERPC_FAULT_OP_RNG_ERROR
;
562 return WERR_NOT_SUPPORTED
;
566 /****************************************************************
567 _winspool_AsyncEnumPrintProcessors
568 ****************************************************************/
570 WERROR
_winspool_AsyncEnumPrintProcessors(struct pipes_struct
*p
,
571 struct winspool_AsyncEnumPrintProcessors
*r
)
573 p
->fault_state
= DCERPC_FAULT_OP_RNG_ERROR
;
574 return WERR_NOT_SUPPORTED
;
578 /****************************************************************
579 _winspool_AsyncGetPrintProcessorDirectory
580 ****************************************************************/
582 WERROR
_winspool_AsyncGetPrintProcessorDirectory(struct pipes_struct
*p
,
583 struct winspool_AsyncGetPrintProcessorDirectory
*r
)
585 p
->fault_state
= DCERPC_FAULT_OP_RNG_ERROR
;
586 return WERR_NOT_SUPPORTED
;
590 /****************************************************************
591 _winspool_AsyncEnumPorts
592 ****************************************************************/
594 WERROR
_winspool_AsyncEnumPorts(struct pipes_struct
*p
,
595 struct winspool_AsyncEnumPorts
*r
)
597 p
->fault_state
= DCERPC_FAULT_OP_RNG_ERROR
;
598 return WERR_NOT_SUPPORTED
;
602 /****************************************************************
603 _winspool_AsyncEnumMonitors
604 ****************************************************************/
606 WERROR
_winspool_AsyncEnumMonitors(struct pipes_struct
*p
,
607 struct winspool_AsyncEnumMonitors
*r
)
609 p
->fault_state
= DCERPC_FAULT_OP_RNG_ERROR
;
610 return WERR_NOT_SUPPORTED
;
614 /****************************************************************
615 _winspool_AsyncAddPort
616 ****************************************************************/
618 WERROR
_winspool_AsyncAddPort(struct pipes_struct
*p
,
619 struct winspool_AsyncAddPort
*r
)
621 p
->fault_state
= DCERPC_FAULT_OP_RNG_ERROR
;
622 return WERR_NOT_SUPPORTED
;
626 /****************************************************************
627 _winspool_AsyncSetPort
628 ****************************************************************/
630 WERROR
_winspool_AsyncSetPort(struct pipes_struct
*p
,
631 struct winspool_AsyncSetPort
*r
)
633 p
->fault_state
= DCERPC_FAULT_OP_RNG_ERROR
;
634 return WERR_NOT_SUPPORTED
;
638 /****************************************************************
639 _winspool_AsyncAddMonitor
640 ****************************************************************/
642 WERROR
_winspool_AsyncAddMonitor(struct pipes_struct
*p
,
643 struct winspool_AsyncAddMonitor
*r
)
645 p
->fault_state
= DCERPC_FAULT_OP_RNG_ERROR
;
646 return WERR_NOT_SUPPORTED
;
650 /****************************************************************
651 _winspool_AsyncDeleteMonitor
652 ****************************************************************/
654 WERROR
_winspool_AsyncDeleteMonitor(struct pipes_struct
*p
,
655 struct winspool_AsyncDeleteMonitor
*r
)
657 p
->fault_state
= DCERPC_FAULT_OP_RNG_ERROR
;
658 return WERR_NOT_SUPPORTED
;
662 /****************************************************************
663 _winspool_AsyncDeletePrintProcessor
664 ****************************************************************/
666 WERROR
_winspool_AsyncDeletePrintProcessor(struct pipes_struct
*p
,
667 struct winspool_AsyncDeletePrintProcessor
*r
)
669 p
->fault_state
= DCERPC_FAULT_OP_RNG_ERROR
;
670 return WERR_NOT_SUPPORTED
;
674 /****************************************************************
675 _winspool_AsyncEnumPrintProcessorDatatypes
676 ****************************************************************/
678 WERROR
_winspool_AsyncEnumPrintProcessorDatatypes(struct pipes_struct
*p
,
679 struct winspool_AsyncEnumPrintProcessorDatatypes
*r
)
681 p
->fault_state
= DCERPC_FAULT_OP_RNG_ERROR
;
682 return WERR_NOT_SUPPORTED
;
686 /****************************************************************
687 _winspool_AsyncAddPerMachineConnection
688 ****************************************************************/
690 WERROR
_winspool_AsyncAddPerMachineConnection(struct pipes_struct
*p
,
691 struct winspool_AsyncAddPerMachineConnection
*r
)
693 p
->fault_state
= DCERPC_FAULT_OP_RNG_ERROR
;
694 return WERR_NOT_SUPPORTED
;
698 /****************************************************************
699 _winspool_AsyncDeletePerMachineConnection
700 ****************************************************************/
702 WERROR
_winspool_AsyncDeletePerMachineConnection(struct pipes_struct
*p
,
703 struct winspool_AsyncDeletePerMachineConnection
*r
)
705 p
->fault_state
= DCERPC_FAULT_OP_RNG_ERROR
;
706 return WERR_NOT_SUPPORTED
;
710 /****************************************************************
711 _winspool_AsyncEnumPerMachineConnections
712 ****************************************************************/
714 WERROR
_winspool_AsyncEnumPerMachineConnections(struct pipes_struct
*p
,
715 struct winspool_AsyncEnumPerMachineConnections
*r
)
717 p
->fault_state
= DCERPC_FAULT_OP_RNG_ERROR
;
718 return WERR_NOT_SUPPORTED
;
722 /****************************************************************
723 _winspool_SyncRegisterForRemoteNotifications
724 ****************************************************************/
726 HRESULT
_winspool_SyncRegisterForRemoteNotifications(struct pipes_struct
*p
,
727 struct winspool_SyncRegisterForRemoteNotifications
*r
)
729 p
->fault_state
= DCERPC_FAULT_OP_RNG_ERROR
;
730 return HRES_ERROR_NOT_SUPPORTED
;
734 /****************************************************************
735 _winspool_SyncUnRegisterForRemoteNotifications
736 ****************************************************************/
738 HRESULT
_winspool_SyncUnRegisterForRemoteNotifications(struct pipes_struct
*p
,
739 struct winspool_SyncUnRegisterForRemoteNotifications
*r
)
741 p
->fault_state
= DCERPC_FAULT_OP_RNG_ERROR
;
742 return HRES_ERROR_NOT_SUPPORTED
;
746 /****************************************************************
747 _winspool_SyncRefreshRemoteNotifications
748 ****************************************************************/
750 HRESULT
_winspool_SyncRefreshRemoteNotifications(struct pipes_struct
*p
,
751 struct winspool_SyncRefreshRemoteNotifications
*r
)
753 p
->fault_state
= DCERPC_FAULT_OP_RNG_ERROR
;
754 return HRES_ERROR_NOT_SUPPORTED
;
758 /****************************************************************
759 _winspool_AsyncGetRemoteNotifications
760 ****************************************************************/
762 HRESULT
_winspool_AsyncGetRemoteNotifications(struct pipes_struct
*p
,
763 struct winspool_AsyncGetRemoteNotifications
*r
)
765 p
->fault_state
= DCERPC_FAULT_OP_RNG_ERROR
;
766 return HRES_ERROR_NOT_SUPPORTED
;
770 /****************************************************************
771 _winspool_AsyncInstallPrinterDriverFromPackage
772 ****************************************************************/
774 HRESULT
_winspool_AsyncInstallPrinterDriverFromPackage(struct pipes_struct
*p
,
775 struct winspool_AsyncInstallPrinterDriverFromPackage
*r
)
777 p
->fault_state
= DCERPC_FAULT_OP_RNG_ERROR
;
778 return HRES_ERROR_NOT_SUPPORTED
;
782 /****************************************************************
783 _winspool_AsyncUploadPrinterDriverPackage
784 ****************************************************************/
786 HRESULT
_winspool_AsyncUploadPrinterDriverPackage(struct pipes_struct
*p
,
787 struct winspool_AsyncUploadPrinterDriverPackage
*r
)
789 p
->fault_state
= DCERPC_FAULT_OP_RNG_ERROR
;
790 return HRES_ERROR_NOT_SUPPORTED
;
794 /****************************************************************
795 _winspool_AsyncGetCorePrinterDrivers
796 ****************************************************************/
798 HRESULT
_winspool_AsyncGetCorePrinterDrivers(struct pipes_struct
*p
,
799 struct winspool_AsyncGetCorePrinterDrivers
*r
)
801 p
->fault_state
= DCERPC_FAULT_OP_RNG_ERROR
;
802 return HRES_ERROR_NOT_SUPPORTED
;
806 /****************************************************************
807 _winspool_AsyncCorePrinterDriverInstalled
808 ****************************************************************/
810 HRESULT
_winspool_AsyncCorePrinterDriverInstalled(struct pipes_struct
*p
,
811 struct winspool_AsyncCorePrinterDriverInstalled
*r
)
813 p
->fault_state
= DCERPC_FAULT_OP_RNG_ERROR
;
814 return HRES_ERROR_NOT_SUPPORTED
;
818 /****************************************************************
819 _winspool_AsyncGetPrinterDriverPackagePath
820 ****************************************************************/
822 HRESULT
_winspool_AsyncGetPrinterDriverPackagePath(struct pipes_struct
*p
,
823 struct winspool_AsyncGetPrinterDriverPackagePath
*r
)
825 p
->fault_state
= DCERPC_FAULT_OP_RNG_ERROR
;
826 return HRES_ERROR_NOT_SUPPORTED
;
830 /****************************************************************
831 _winspool_AsyncDeletePrinterDriverPackage
832 ****************************************************************/
834 HRESULT
_winspool_AsyncDeletePrinterDriverPackage(struct pipes_struct
*p
,
835 struct winspool_AsyncDeletePrinterDriverPackage
*r
)
837 p
->fault_state
= DCERPC_FAULT_OP_RNG_ERROR
;
838 return HRES_ERROR_NOT_SUPPORTED
;
842 /****************************************************************
843 _winspool_AsyncReadPrinter
844 ****************************************************************/
846 WERROR
_winspool_AsyncReadPrinter(struct pipes_struct
*p
,
847 struct winspool_AsyncReadPrinter
*r
)
849 p
->fault_state
= DCERPC_FAULT_OP_RNG_ERROR
;
850 return WERR_NOT_SUPPORTED
;
854 /****************************************************************
855 _winspool_AsyncResetPrinter
856 ****************************************************************/
858 WERROR
_winspool_AsyncResetPrinter(struct pipes_struct
*p
,
859 struct winspool_AsyncResetPrinter
*r
)
861 p
->fault_state
= DCERPC_FAULT_OP_RNG_ERROR
;
862 return WERR_NOT_SUPPORTED
;
866 /****************************************************************
867 _winspool_AsyncGetJobNamedPropertyValue
868 ****************************************************************/
870 WERROR
_winspool_AsyncGetJobNamedPropertyValue(struct pipes_struct
*p
,
871 struct winspool_AsyncGetJobNamedPropertyValue
*r
)
873 p
->fault_state
= DCERPC_FAULT_OP_RNG_ERROR
;
874 return WERR_NOT_SUPPORTED
;
878 /****************************************************************
879 _winspool_AsyncSetJobNamedProperty
880 ****************************************************************/
882 WERROR
_winspool_AsyncSetJobNamedProperty(struct pipes_struct
*p
,
883 struct winspool_AsyncSetJobNamedProperty
*r
)
885 p
->fault_state
= DCERPC_FAULT_OP_RNG_ERROR
;
886 return WERR_NOT_SUPPORTED
;
890 /****************************************************************
891 _winspool_AsyncDeleteJobNamedProperty
892 ****************************************************************/
894 WERROR
_winspool_AsyncDeleteJobNamedProperty(struct pipes_struct
*p
,
895 struct winspool_AsyncDeleteJobNamedProperty
*r
)
897 p
->fault_state
= DCERPC_FAULT_OP_RNG_ERROR
;
898 return WERR_NOT_SUPPORTED
;
902 /****************************************************************
903 _winspool_AsyncEnumJobNamedProperties
904 ****************************************************************/
906 WERROR
_winspool_AsyncEnumJobNamedProperties(struct pipes_struct
*p
,
907 struct winspool_AsyncEnumJobNamedProperties
*r
)
909 p
->fault_state
= DCERPC_FAULT_OP_RNG_ERROR
;
910 return WERR_NOT_SUPPORTED
;
914 /****************************************************************
915 _winspool_AsyncLogJobInfoForBranchOffice
916 ****************************************************************/
918 WERROR
_winspool_AsyncLogJobInfoForBranchOffice(struct pipes_struct
*p
,
919 struct winspool_AsyncLogJobInfoForBranchOffice
*r
)
921 p
->fault_state
= DCERPC_FAULT_OP_RNG_ERROR
;
922 return WERR_NOT_SUPPORTED
;