cfcb6adb60d3ddd7d6fc63cf92b3aa00b508a712
[reactos.git] / reactos / win32ss / printing / base / spoolsv / rpcstubs.c
1 /*
2 * PROJECT: ReactOS Print Spooler Service
3 * LICENSE: GNU GPLv2 or any later version as published by the Free Software Foundation
4 * PURPOSE: Unimplemented RPC calls
5 * COPYRIGHT: Copyright 2015 Colin Finck <colin@reactos.org>
6 */
7
8 #include "precomp.h"
9
10 DWORD
11 _RpcEnumPrinters(DWORD Flags, WINSPOOL_HANDLE Name, DWORD Level, BYTE* pPrinterEnum, DWORD cbBuf, DWORD* pcbNeeded, DWORD* pcReturned)
12 {
13 UNIMPLEMENTED;
14 return ERROR_INVALID_FUNCTION;
15 }
16
17 DWORD
18 _RpcOpenPrinter(WINSPOOL_HANDLE pPrinterName, WINSPOOL_PRINTER_HANDLE* phPrinter, WCHAR* pDatatype, WINSPOOL_DEVMODE_CONTAINER* pDevModeContainer, DWORD AccessRequired)
19 {
20 UNIMPLEMENTED;
21 return ERROR_INVALID_FUNCTION;
22 }
23
24 DWORD
25 _RpcSetJob(WINSPOOL_PRINTER_HANDLE hPrinter, DWORD JobId, WINSPOOL_JOB_CONTAINER *pJobContainer, DWORD Command)
26 {
27 UNIMPLEMENTED;
28 return ERROR_INVALID_FUNCTION;
29 }
30
31 DWORD
32 _RpcGetJob(WINSPOOL_PRINTER_HANDLE hPrinter, DWORD JobId, DWORD Level, BYTE *pJob, DWORD cbBuf, DWORD *pcbNeeded)
33 {
34 UNIMPLEMENTED;
35 return ERROR_INVALID_FUNCTION;
36 }
37
38 DWORD
39 _RpcEnumJobs(WINSPOOL_PRINTER_HANDLE hPrinter, DWORD FirstJob, DWORD NoJobs, DWORD Level, BYTE *pJob, DWORD cbBuf, DWORD *pcbNeeded, DWORD *pcReturned)
40 {
41 UNIMPLEMENTED;
42 return ERROR_INVALID_FUNCTION;
43 }
44
45 DWORD
46 _RpcAddPrinter(WINSPOOL_HANDLE pName, WINSPOOL_PRINTER_CONTAINER *pPrinterContainer, WINSPOOL_DEVMODE_CONTAINER *pDevModeContainer, WINSPOOL_SECURITY_CONTAINER *pSecurityContainer, WINSPOOL_PRINTER_HANDLE *pHandle)
47 {
48 UNIMPLEMENTED;
49 return ERROR_INVALID_FUNCTION;
50 }
51
52 DWORD
53 _RpcDeletePrinter(WINSPOOL_PRINTER_HANDLE hPrinter)
54 {
55 UNIMPLEMENTED;
56 return ERROR_INVALID_FUNCTION;
57 }
58
59 DWORD
60 _RpcSetPrinter(WINSPOOL_PRINTER_HANDLE hPrinter, WINSPOOL_PRINTER_CONTAINER *pPrinterContainer, WINSPOOL_DEVMODE_CONTAINER *pDevModeContainer, WINSPOOL_SECURITY_CONTAINER *pSecurityContainer, DWORD Command)
61 {
62 UNIMPLEMENTED;
63 return ERROR_INVALID_FUNCTION;
64 }
65
66 DWORD
67 _RpcGetPrinter(WINSPOOL_PRINTER_HANDLE hPrinter, DWORD Level, BYTE *pPrinter, DWORD cbBuf, DWORD *pcbNeeded)
68 {
69 UNIMPLEMENTED;
70 return ERROR_INVALID_FUNCTION;
71 }
72
73 DWORD
74 _RpcAddPrinterDriver(WINSPOOL_HANDLE pName, WINSPOOL_DRIVER_CONTAINER *pDriverContainer)
75 {
76 UNIMPLEMENTED;
77 return ERROR_INVALID_FUNCTION;
78 }
79
80 DWORD
81 _RpcEnumPrinterDrivers(WINSPOOL_HANDLE pName, WCHAR *pEnvironment, DWORD Level, BYTE *pDrivers, DWORD cbBuf, DWORD *pcbNeeded, DWORD *pcReturned)
82 {
83 UNIMPLEMENTED;
84 return ERROR_INVALID_FUNCTION;
85 }
86
87 DWORD
88 _RpcGetPrinterDriver(WINSPOOL_PRINTER_HANDLE hPrinter, WCHAR *pEnvironment, DWORD Level, BYTE *pDriver, DWORD cbBuf, DWORD *pcbNeeded)
89 {
90 UNIMPLEMENTED;
91 return ERROR_INVALID_FUNCTION;
92 }
93
94 DWORD
95 _RpcGetPrinterDriverDirectory(WINSPOOL_HANDLE pName, WCHAR *pEnvironment, DWORD Level, BYTE *pDriverDirectory, DWORD cbBuf, DWORD *pcbNeeded)
96 {
97 UNIMPLEMENTED;
98 return ERROR_INVALID_FUNCTION;
99 }
100
101 DWORD
102 _RpcDeletePrinterDriver(WINSPOOL_HANDLE pName, WCHAR *pEnvironment, WCHAR *pDriverName)
103 {
104 UNIMPLEMENTED;
105 return ERROR_INVALID_FUNCTION;
106 }
107
108 DWORD
109 _RpcAddPrintProcessor(WINSPOOL_HANDLE pName, WCHAR *pEnvironment, WCHAR *pPathName, WCHAR *pPrintProcessorName)
110 {
111 UNIMPLEMENTED;
112 return ERROR_INVALID_FUNCTION;
113 }
114
115 DWORD
116 _RpcEnumPrintProcessors(WINSPOOL_HANDLE pName, WCHAR *pEnvironment, DWORD Level, BYTE *pPrintProcessorInfo, DWORD cbBuf, DWORD *pcbNeeded, DWORD *pcReturned)
117 {
118 UNIMPLEMENTED;
119 return ERROR_INVALID_FUNCTION;
120 }
121
122 DWORD
123 _RpcGetPrintProcessorDirectory(WINSPOOL_HANDLE pName, WCHAR *pEnvironment, DWORD Level, BYTE *pPrintProcessorDirectory, DWORD cbBuf, DWORD *pcbNeeded)
124 {
125 UNIMPLEMENTED;
126 return ERROR_INVALID_FUNCTION;
127 }
128
129 DWORD
130 _RpcStartDocPrinter(WINSPOOL_PRINTER_HANDLE hPrinter, WINSPOOL_DOC_INFO_CONTAINER *pDocInfoContainer, DWORD *pJobId)
131 {
132 UNIMPLEMENTED;
133 return ERROR_INVALID_FUNCTION;
134 }
135
136 DWORD
137 _RpcStartPagePrinter(WINSPOOL_PRINTER_HANDLE hPrinter)
138 {
139 UNIMPLEMENTED;
140 return ERROR_INVALID_FUNCTION;
141 }
142
143 DWORD
144 _RpcWritePrinter(WINSPOOL_PRINTER_HANDLE hPrinter, BYTE *pBuf, DWORD cbBuf, DWORD *pcWritten)
145 {
146 UNIMPLEMENTED;
147 return ERROR_INVALID_FUNCTION;
148 }
149
150 DWORD
151 _RpcEndPagePrinter(WINSPOOL_PRINTER_HANDLE hPrinter)
152 {
153 UNIMPLEMENTED;
154 return ERROR_INVALID_FUNCTION;
155 }
156
157 DWORD
158 _RpcAbortPrinter(WINSPOOL_PRINTER_HANDLE hPrinter)
159 {
160 UNIMPLEMENTED;
161 return ERROR_INVALID_FUNCTION;
162 }
163
164 DWORD
165 _RpcReadPrinter(WINSPOOL_PRINTER_HANDLE hPrinter, BYTE *pBuf, DWORD cbBuf, DWORD *pcNoBytesRead)
166 {
167 UNIMPLEMENTED;
168 return ERROR_INVALID_FUNCTION;
169 }
170
171 DWORD
172 _RpcEndDocPrinter(WINSPOOL_PRINTER_HANDLE hPrinter)
173 {
174 UNIMPLEMENTED;
175 return ERROR_INVALID_FUNCTION;
176 }
177
178 DWORD
179 _RpcAddJob(WINSPOOL_PRINTER_HANDLE hPrinter, DWORD Level, BYTE *pAddJob, DWORD cbBuf, DWORD *pcbNeeded)
180 {
181 UNIMPLEMENTED;
182 return ERROR_INVALID_FUNCTION;
183 }
184
185 DWORD
186 _RpcScheduleJob(WINSPOOL_PRINTER_HANDLE hPrinter, DWORD JobId)
187 {
188 UNIMPLEMENTED;
189 return ERROR_INVALID_FUNCTION;
190 }
191
192 DWORD
193 _RpcGetPrinterData(WINSPOOL_PRINTER_HANDLE hPrinter, WCHAR *pValueName, DWORD *pType, BYTE *pData, DWORD nSize, DWORD *pcbNeeded)
194 {
195 UNIMPLEMENTED;
196 return ERROR_INVALID_FUNCTION;
197 }
198
199 DWORD
200 _RpcSetPrinterData(WINSPOOL_PRINTER_HANDLE hPrinter, WCHAR *pValueName, DWORD Type, BYTE *pData, DWORD cbData)
201 {
202 UNIMPLEMENTED;
203 return ERROR_INVALID_FUNCTION;
204 }
205
206 DWORD
207 _RpcWaitForPrinterChange(WINSPOOL_PRINTER_HANDLE hPrinter, DWORD Flags, DWORD *pFlags)
208 {
209 UNIMPLEMENTED;
210 return ERROR_INVALID_FUNCTION;
211 }
212
213 DWORD
214 _RpcClosePrinter(WINSPOOL_PRINTER_HANDLE *phPrinter)
215 {
216 UNIMPLEMENTED;
217 return ERROR_INVALID_FUNCTION;
218 }
219
220 DWORD
221 _RpcAddForm(WINSPOOL_PRINTER_HANDLE hPrinter, WINSPOOL_FORM_CONTAINER *pFormInfoContainer)
222 {
223 UNIMPLEMENTED;
224 return ERROR_INVALID_FUNCTION;
225 }
226
227 DWORD
228 _RpcDeleteForm(WINSPOOL_PRINTER_HANDLE hPrinter, WCHAR *pFormName)
229 {
230 UNIMPLEMENTED;
231 return ERROR_INVALID_FUNCTION;
232 }
233
234 DWORD
235 _RpcGetForm(WINSPOOL_PRINTER_HANDLE hPrinter, WCHAR *pFormName, DWORD Level, BYTE *pForm, DWORD cbBuf, DWORD *pcbNeeded)
236 {
237 UNIMPLEMENTED;
238 return ERROR_INVALID_FUNCTION;
239 }
240
241 DWORD
242 _RpcSetForm(WINSPOOL_PRINTER_HANDLE hPrinter, WCHAR *pFormName, WINSPOOL_FORM_CONTAINER *pFormInfoContainer)
243 {
244 UNIMPLEMENTED;
245 return ERROR_INVALID_FUNCTION;
246 }
247
248 DWORD
249 _RpcEnumForms(WINSPOOL_PRINTER_HANDLE hPrinter, DWORD Level, BYTE *pForm, DWORD cbBuf, DWORD *pcbNeeded, DWORD *pcReturned)
250 {
251 UNIMPLEMENTED;
252 return ERROR_INVALID_FUNCTION;
253 }
254
255 DWORD
256 _RpcEnumPorts(WINSPOOL_HANDLE pName, DWORD Level, BYTE *pPort, DWORD cbBuf, DWORD *pcbNeeded, DWORD *pcReturned)
257 {
258 UNIMPLEMENTED;
259 return ERROR_INVALID_FUNCTION;
260 }
261
262 DWORD
263 _RpcEnumMonitors(WINSPOOL_HANDLE pName, DWORD Level, BYTE *pMonitor, DWORD cbBuf, DWORD *pcbNeeded, DWORD *pcReturned)
264 {
265 UNIMPLEMENTED;
266 return ERROR_INVALID_FUNCTION;
267 }
268
269 DWORD
270 _RpcAddPort(WINSPOOL_HANDLE pName, ULONG_PTR hWnd, WCHAR *pMonitorName)
271 {
272 UNIMPLEMENTED;
273 return ERROR_INVALID_FUNCTION;
274 }
275
276 DWORD
277 _RpcConfigurePort(WINSPOOL_HANDLE pName, ULONG_PTR hWnd, WCHAR *pPortName)
278 {
279 UNIMPLEMENTED;
280 return ERROR_INVALID_FUNCTION;
281 }
282
283 DWORD
284 _RpcDeletePort(WINSPOOL_HANDLE pName, ULONG_PTR hWnd, WCHAR *pPortName)
285 {
286 UNIMPLEMENTED;
287 return ERROR_INVALID_FUNCTION;
288 }
289
290 DWORD
291 _RpcCreatePrinterIC(WINSPOOL_PRINTER_HANDLE hPrinter, WINSPOOL_GDI_HANDLE *pHandle, WINSPOOL_DEVMODE_CONTAINER *pDevModeContainer)
292 {
293 UNIMPLEMENTED;
294 return ERROR_INVALID_FUNCTION;
295 }
296
297 DWORD
298 _RpcPlayGdiScriptOnPrinterIC(WINSPOOL_GDI_HANDLE hPrinterIC, BYTE *pIn, DWORD cIn, BYTE *pOut, DWORD cOut, DWORD ul)
299 {
300 UNIMPLEMENTED;
301 return ERROR_INVALID_FUNCTION;
302 }
303
304 DWORD
305 _RpcDeletePrinterIC(WINSPOOL_GDI_HANDLE *phPrinterIC)
306 {
307 UNIMPLEMENTED;
308 return ERROR_INVALID_FUNCTION;
309 }
310
311 DWORD
312 _RpcAddPrinterConnection(WINSPOOL_HANDLE pName)
313 {
314 UNIMPLEMENTED;
315 return ERROR_INVALID_FUNCTION;
316 }
317
318 DWORD
319 _RpcDeletePrinterConnection(WINSPOOL_HANDLE pName)
320 {
321 UNIMPLEMENTED;
322 return ERROR_INVALID_FUNCTION;
323 }
324
325 DWORD
326 _RpcPrinterMessageBox(WINSPOOL_PRINTER_HANDLE hPrinter, DWORD Error, ULONG_PTR hWnd, WCHAR *pText, WCHAR *pCaption, DWORD dwType)
327 {
328 UNIMPLEMENTED;
329 return ERROR_INVALID_FUNCTION;
330 }
331
332 DWORD
333 _RpcAddMonitor(WINSPOOL_HANDLE pName, WINSPOOL_MONITOR_CONTAINER *pMonitorContainer)
334 {
335 UNIMPLEMENTED;
336 return ERROR_INVALID_FUNCTION;
337 }
338
339 DWORD
340 _RpcDeleteMonitor(WINSPOOL_HANDLE pName, WCHAR *pEnvironment, WCHAR *pMonitorName)
341 {
342 UNIMPLEMENTED;
343 return ERROR_INVALID_FUNCTION;
344 }
345
346 DWORD
347 _RpcDeletePrintProcessor(WINSPOOL_HANDLE pName, WCHAR *pEnvironment, WCHAR *pPrintProcessorName)
348 {
349 UNIMPLEMENTED;
350 return ERROR_INVALID_FUNCTION;
351 }
352
353 DWORD
354 _RpcAddPrintProvidor(WINSPOOL_HANDLE pName, WINSPOOL_PROVIDOR_CONTAINER *pProvidorContainer)
355 {
356 UNIMPLEMENTED;
357 return ERROR_INVALID_FUNCTION;
358 }
359
360 DWORD
361 _RpcDeletePrintProvidor(WINSPOOL_HANDLE pName, WCHAR *pEnvironment, WCHAR *pPrintProviderName)
362 {
363 UNIMPLEMENTED;
364 return ERROR_INVALID_FUNCTION;
365 }
366
367 DWORD
368 _RpcEnumPrintProcessorDatatypes(WINSPOOL_HANDLE pName, WCHAR *pPrintProcessorName, DWORD Level, BYTE *pDatatypes, DWORD cbBuf, DWORD *pcbNeeded, DWORD *pcReturned)
369 {
370 UNIMPLEMENTED;
371 return ERROR_INVALID_FUNCTION;
372 }
373
374 DWORD
375 _RpcResetPrinter(WINSPOOL_PRINTER_HANDLE hPrinter, WCHAR *pDatatype, WINSPOOL_DEVMODE_CONTAINER *pDevModeContainer)
376 {
377 UNIMPLEMENTED;
378 return ERROR_INVALID_FUNCTION;
379 }
380
381 DWORD
382 _RpcGetPrinterDriver2(WINSPOOL_PRINTER_HANDLE hPrinter, WCHAR *pEnvironment, DWORD Level, BYTE *pDriver, DWORD cbBuf, DWORD *pcbNeeded, DWORD dwClientMajorVersion, DWORD dwClientMinorVersion, DWORD *pdwServerMaxVersion, DWORD *pdwServerMinVersion)
383 {
384 UNIMPLEMENTED;
385 return ERROR_INVALID_FUNCTION;
386 }
387
388 DWORD
389 _RpcClientFindFirstPrinterChangeNotification()
390 {
391 UNIMPLEMENTED;
392 return ERROR_INVALID_FUNCTION;
393 }
394
395 DWORD
396 _RpcFindNextPrinterChangeNotification()
397 {
398 UNIMPLEMENTED;
399 return ERROR_INVALID_FUNCTION;
400 }
401
402 DWORD
403 _RpcFindClosePrinterChangeNotification()
404 {
405 UNIMPLEMENTED;
406 return ERROR_INVALID_FUNCTION;
407 }
408
409 DWORD
410 _RpcRouterFindFirstPrinterChangeNotificationOld()
411 {
412 UNIMPLEMENTED;
413 return ERROR_INVALID_FUNCTION;
414 }
415
416 DWORD
417 _RpcReplyOpenPrinter(WINSPOOL_HANDLE pMachine, WINSPOOL_PRINTER_HANDLE *phPrinterNotify, DWORD dwPrinterRemote, DWORD dwType, DWORD cbBuffer, BYTE *pBuffer)
418 {
419 UNIMPLEMENTED;
420 return ERROR_INVALID_FUNCTION;
421 }
422
423 DWORD
424 _RpcRouterReplyPrinter(WINSPOOL_PRINTER_HANDLE hNotify, DWORD fdwFlags, DWORD cbBuffer, BYTE *pBuffer)
425 {
426 UNIMPLEMENTED;
427 return ERROR_INVALID_FUNCTION;
428 }
429
430 DWORD
431 _RpcReplyClosePrinter(WINSPOOL_PRINTER_HANDLE *phNotify)
432 {
433 UNIMPLEMENTED;
434 return ERROR_INVALID_FUNCTION;
435 }
436
437 DWORD
438 _RpcAddPortEx(WINSPOOL_HANDLE pName, WINSPOOL_PORT_CONTAINER *pPortContainer, WINSPOOL_PORT_VAR_CONTAINER *pPortVarContainer, WCHAR *pMonitorName)
439 {
440 UNIMPLEMENTED;
441 return ERROR_INVALID_FUNCTION;
442 }
443
444 DWORD
445 _RpcRemoteFindFirstPrinterChangeNotification(WINSPOOL_PRINTER_HANDLE hPrinter, DWORD fdwFlags, DWORD fdwOptions, WCHAR *pszLocalMachine, DWORD dwPrinterLocal, DWORD cbBuffer, BYTE *pBuffer)
446 {
447 UNIMPLEMENTED;
448 return ERROR_INVALID_FUNCTION;
449 }
450
451 DWORD
452 _RpcSpoolerInit()
453 {
454 UNIMPLEMENTED;
455 return ERROR_INVALID_FUNCTION;
456 }
457
458 DWORD
459 _RpcResetPrinterEx()
460 {
461 UNIMPLEMENTED;
462 return ERROR_INVALID_FUNCTION;
463 }
464
465 DWORD
466 _RpcRemoteFindFirstPrinterChangeNotificationEx(WINSPOOL_PRINTER_HANDLE hPrinter, DWORD fdwFlags, DWORD fdwOptions, WCHAR *pszLocalMachine, DWORD dwPrinterLocal, WINSPOOL_V2_NOTIFY_OPTIONS *pOptions)
467 {
468 UNIMPLEMENTED;
469 return ERROR_INVALID_FUNCTION;
470 }
471
472 DWORD
473 _RpcRouterReplyPrinterEx(WINSPOOL_PRINTER_HANDLE hNotify, DWORD dwColor, DWORD fdwFlags, DWORD *pdwResult, DWORD dwReplyType, WINSPOOL_V2_UREPLY_PRINTER Reply)
474 {
475 UNIMPLEMENTED;
476 return ERROR_INVALID_FUNCTION;
477 }
478
479 DWORD
480 _RpcRouterRefreshPrinterChangeNotification(WINSPOOL_PRINTER_HANDLE hPrinter, DWORD dwColor, WINSPOOL_V2_NOTIFY_OPTIONS *pOptions, WINSPOOL_V2_NOTIFY_INFO **ppInfo)
481 {
482 UNIMPLEMENTED;
483 return ERROR_INVALID_FUNCTION;
484 }
485
486 DWORD
487 _RpcSetAllocFailCount()
488 {
489 UNIMPLEMENTED;
490 return ERROR_INVALID_FUNCTION;
491 }
492
493 DWORD
494 _RpcOpenPrinterEx(WINSPOOL_HANDLE pPrinterName, WINSPOOL_PRINTER_HANDLE *pHandle, WCHAR *pDatatype, WINSPOOL_DEVMODE_CONTAINER *pDevModeContainer, DWORD AccessRequired, WINSPOOL_SPLCLIENT_CONTAINER *pClientInfo)
495 {
496 UNIMPLEMENTED;
497 return ERROR_INVALID_FUNCTION;
498 }
499
500 DWORD
501 _RpcAddPrinterEx(WINSPOOL_HANDLE pName, WINSPOOL_PRINTER_CONTAINER *pPrinterContainer, WINSPOOL_DEVMODE_CONTAINER *pDevModeContainer, WINSPOOL_SECURITY_CONTAINER *pSecurityContainer, WINSPOOL_SPLCLIENT_CONTAINER *pClientInfo, WINSPOOL_PRINTER_HANDLE *pHandle)
502 {
503 UNIMPLEMENTED;
504 return ERROR_INVALID_FUNCTION;
505 }
506
507 DWORD
508 _RpcSetPort(WINSPOOL_HANDLE pName, WCHAR *pPortName, WINSPOOL_PORT_CONTAINER *pPortContainer)
509 {
510 UNIMPLEMENTED;
511 return ERROR_INVALID_FUNCTION;
512 }
513
514 DWORD
515 _RpcEnumPrinterData(WINSPOOL_PRINTER_HANDLE hPrinter, DWORD dwIndex, WCHAR *pValueName, DWORD cbValueName, DWORD *pcbValueName, DWORD *pType, BYTE *pData, DWORD cbData, DWORD *pcbData)
516 {
517 UNIMPLEMENTED;
518 return ERROR_INVALID_FUNCTION;
519 }
520
521 DWORD
522 _RpcDeletePrinterData(WINSPOOL_PRINTER_HANDLE hPrinter, WCHAR *pValueName)
523 {
524 UNIMPLEMENTED;
525 return ERROR_INVALID_FUNCTION;
526 }
527
528 DWORD
529 _RpcClusterSplOpen()
530 {
531 UNIMPLEMENTED;
532 return ERROR_INVALID_FUNCTION;
533 }
534
535 DWORD
536 _RpcClusterSplClose()
537 {
538 UNIMPLEMENTED;
539 return ERROR_INVALID_FUNCTION;
540 }
541
542 DWORD
543 _RpcClusterSplIsAlive()
544 {
545 UNIMPLEMENTED;
546 return ERROR_INVALID_FUNCTION;
547 }
548
549 DWORD
550 _RpcSetPrinterDataEx(WINSPOOL_PRINTER_HANDLE hPrinter, const WCHAR *pKeyName, const WCHAR *pValueName, DWORD Type, BYTE *pData, DWORD cbData)
551 {
552 UNIMPLEMENTED;
553 return ERROR_INVALID_FUNCTION;
554 }
555
556 DWORD
557 _RpcGetPrinterDataEx(WINSPOOL_PRINTER_HANDLE hPrinter, const WCHAR *pKeyName, const WCHAR *pValueName, DWORD *pType, BYTE *pData, DWORD nSize, DWORD *pcbNeeded)
558 {
559 UNIMPLEMENTED;
560 return ERROR_INVALID_FUNCTION;
561 }
562
563 DWORD
564 _RpcEnumPrinterDataEx(WINSPOOL_PRINTER_HANDLE hPrinter, const WCHAR *pKeyName, BYTE *pEnumValues, DWORD cbEnumValues, DWORD *pcbEnumValues, DWORD *pnEnumValues)
565 {
566 UNIMPLEMENTED;
567 return ERROR_INVALID_FUNCTION;
568 }
569
570 DWORD
571 _RpcEnumPrinterKey(WINSPOOL_PRINTER_HANDLE hPrinter, const WCHAR *pKeyName, WCHAR *pSubkey, DWORD cbSubkey, DWORD *pcbSubkey)
572 {
573 UNIMPLEMENTED;
574 return ERROR_INVALID_FUNCTION;
575 }
576
577 DWORD
578 _RpcDeletePrinterDataEx(WINSPOOL_PRINTER_HANDLE hPrinter, const WCHAR *pKeyName, const WCHAR *pValueName)
579 {
580 UNIMPLEMENTED;
581 return ERROR_INVALID_FUNCTION;
582 }
583
584 DWORD
585 _RpcDeletePrinterKey(WINSPOOL_PRINTER_HANDLE hPrinter, const WCHAR *pKeyName)
586 {
587 UNIMPLEMENTED;
588 return ERROR_INVALID_FUNCTION;
589 }
590
591 DWORD
592 _RpcSeekPrinter()
593 {
594 UNIMPLEMENTED;
595 return ERROR_INVALID_FUNCTION;
596 }
597
598 DWORD
599 _RpcDeletePrinterDriverEx(WINSPOOL_HANDLE pName, WCHAR *pEnvironment, WCHAR *pDriverName, DWORD dwDeleteFlag, DWORD dwVersionNum)
600 {
601 UNIMPLEMENTED;
602 return ERROR_INVALID_FUNCTION;
603 }
604
605 DWORD
606 _RpcAddPerMachineConnection(WINSPOOL_HANDLE pServer, const WCHAR *pPrinterName, const WCHAR *pPrintServer, const WCHAR *pProvider)
607 {
608 UNIMPLEMENTED;
609 return ERROR_INVALID_FUNCTION;
610 }
611
612 DWORD
613 _RpcDeletePerMachineConnection(WINSPOOL_HANDLE pServer, const WCHAR *pPrinterName)
614 {
615 UNIMPLEMENTED;
616 return ERROR_INVALID_FUNCTION;
617 }
618
619 DWORD
620 _RpcEnumPerMachineConnections(WINSPOOL_HANDLE pServer, BYTE *pPrinterEnum, DWORD cbBuf, DWORD *pcbNeeded, DWORD *pcReturned)
621 {
622 UNIMPLEMENTED;
623 return ERROR_INVALID_FUNCTION;
624 }
625
626 DWORD
627 _RpcXcvData(WINSPOOL_PRINTER_HANDLE hXcv, const WCHAR *pszDataName, BYTE *pInputData, DWORD cbInputData, BYTE *pOutputData, DWORD cbOutputData, DWORD *pcbOutputNeeded, DWORD *pdwStatus)
628 {
629 UNIMPLEMENTED;
630 return ERROR_INVALID_FUNCTION;
631 }
632
633 DWORD
634 _RpcAddPrinterDriverEx(WINSPOOL_HANDLE pName, WINSPOOL_DRIVER_CONTAINER *pDriverContainer, DWORD dwFileCopyFlags)
635 {
636 UNIMPLEMENTED;
637 return ERROR_INVALID_FUNCTION;
638 }
639
640 DWORD
641 _RpcSplOpenPrinter()
642 {
643 UNIMPLEMENTED;
644 return ERROR_INVALID_FUNCTION;
645 }
646
647 DWORD
648 _RpcGetSpoolFileInfo()
649 {
650 UNIMPLEMENTED;
651 return ERROR_INVALID_FUNCTION;
652 }
653
654 DWORD
655 _RpcCommitSpoolData()
656 {
657 UNIMPLEMENTED;
658 return ERROR_INVALID_FUNCTION;
659 }
660
661 DWORD
662 _RpcCloseSpoolFileHandle()
663 {
664 UNIMPLEMENTED;
665 return ERROR_INVALID_FUNCTION;
666 }
667
668 DWORD
669 _RpcFlushPrinter(WINSPOOL_PRINTER_HANDLE hPrinter, BYTE *pBuf, DWORD cbBuf, DWORD *pcWritten, DWORD cSleep)
670 {
671 UNIMPLEMENTED;
672 return ERROR_INVALID_FUNCTION;
673 }
674
675 DWORD
676 _RpcSendRecvBidiData(WINSPOOL_PRINTER_HANDLE hPrinter, const WCHAR *pAction, WINSPOOL_BIDI_REQUEST_CONTAINER *pReqData, WINSPOOL_BIDI_RESPONSE_CONTAINER **ppRespData)
677 {
678 UNIMPLEMENTED;
679 return ERROR_INVALID_FUNCTION;
680 }
681
682 DWORD
683 _RpcAddDriverCatalog()
684 {
685 UNIMPLEMENTED;
686 return ERROR_INVALID_FUNCTION;
687 }