1 /*
2  * PROJECT:     ReactOS Print Spooler Service
3  * LICENSE:     GPL-2.0+ (https://spdx.org/licenses/GPL-2.0+)
4  * PURPOSE:     Unimplemented RPC calls
5  * COPYRIGHT:   Copyright 2015 Colin Finck (colin@reactos.org)
6  */
7 
8 #include "precomp.h"
9 
10 DWORD
11 _RpcCreatePrinterIC(WINSPOOL_PRINTER_HANDLE hPrinter, WINSPOOL_GDI_HANDLE* pHandle, WINSPOOL_DEVMODE_CONTAINER* pDevModeContainer)
12 {
13     UNIMPLEMENTED;
14     return ERROR_INVALID_FUNCTION;
15 }
16 
17 DWORD
18 _RpcPlayGdiScriptOnPrinterIC(WINSPOOL_GDI_HANDLE hPrinterIC, BYTE* pIn, DWORD cIn, BYTE* pOut, DWORD cOut, DWORD ul)
19 {
20     UNIMPLEMENTED;
21     return ERROR_INVALID_FUNCTION;
22 }
23 
24 DWORD
25 _RpcDeletePrinterIC(WINSPOOL_GDI_HANDLE* phPrinterIC)
26 {
27     UNIMPLEMENTED;
28     return ERROR_INVALID_FUNCTION;
29 }
30 
31 DWORD
32 _RpcAddPrinterConnection(WINSPOOL_HANDLE pName)
33 {
34     UNIMPLEMENTED;
35     return ERROR_INVALID_FUNCTION;
36 }
37 
38 DWORD
39 _RpcDeletePrinterConnection(WINSPOOL_HANDLE pName)
40 {
41     UNIMPLEMENTED;
42     return ERROR_INVALID_FUNCTION;
43 }
44 
45 DWORD
46 _RpcPrinterMessageBox(WINSPOOL_PRINTER_HANDLE hPrinter, DWORD Error, ULONG_PTR hWnd, WCHAR* pText, WCHAR* pCaption, DWORD dwType)
47 {
48     UNIMPLEMENTED;
49     return ERROR_INVALID_FUNCTION;
50 }
51 
52 DWORD
53 _RpcSetAllocFailCount(VOID)
54 {
55     UNIMPLEMENTED;
56     return ERROR_INVALID_FUNCTION;
57 }
58 
59 DWORD
60 _RpcClusterSplOpen(VOID)
61 {
62     UNIMPLEMENTED;
63     return ERROR_INVALID_FUNCTION;
64 }
65 
66 DWORD
67 _RpcClusterSplClose(VOID)
68 {
69     UNIMPLEMENTED;
70     return ERROR_INVALID_FUNCTION;
71 }
72 
73 DWORD
74 _RpcClusterSplIsAlive(VOID)
75 {
76     UNIMPLEMENTED;
77     return ERROR_INVALID_FUNCTION;
78 }
79 
80 DWORD
81 _RpcAddPerMachineConnection(WINSPOOL_HANDLE pServer, const WCHAR* pPrinterName, const WCHAR* pPrintServer, const WCHAR* pProvider)
82 {
83     UNIMPLEMENTED;
84     return ERROR_INVALID_FUNCTION;
85 }
86 
87 DWORD
88 _RpcDeletePerMachineConnection(WINSPOOL_HANDLE pServer, const WCHAR* pPrinterName)
89 {
90     UNIMPLEMENTED;
91     return ERROR_INVALID_FUNCTION;
92 }
93 
94 DWORD
95 _RpcEnumPerMachineConnections(WINSPOOL_HANDLE pServer, BYTE* pPrinterEnum, DWORD cbBuf, DWORD* pcbNeeded, DWORD* pcReturned)
96 {
97     UNIMPLEMENTED;
98     return ERROR_INVALID_FUNCTION;
99 }
100 
101 DWORD
102 _RpcSplOpenPrinter(VOID)
103 {
104     UNIMPLEMENTED;
105     return ERROR_INVALID_FUNCTION;
106 }
107 
108 DWORD
109 _RpcGetSpoolFileInfo(VOID)
110 {
111     UNIMPLEMENTED;
112     return ERROR_INVALID_FUNCTION;
113 }
114 
115 DWORD
116 _RpcCommitSpoolData(VOID)
117 {
118     UNIMPLEMENTED;
119     return ERROR_INVALID_FUNCTION;
120 }
121 
122 DWORD
123 _RpcCloseSpoolFileHandle(VOID)
124 {
125     UNIMPLEMENTED;
126     return ERROR_INVALID_FUNCTION;
127 }
128 
129 DWORD
130 _RpcSendRecvBidiData(WINSPOOL_PRINTER_HANDLE hPrinter, const WCHAR* pAction, WINSPOOL_BIDI_REQUEST_CONTAINER* pReqData, WINSPOOL_BIDI_RESPONSE_CONTAINER** ppRespData)
131 {
132     UNIMPLEMENTED;
133     return ERROR_INVALID_FUNCTION;
134 }
135 
136 DWORD
137 _RpcAddDriverCatalog(VOID)
138 {
139     UNIMPLEMENTED;
140     return ERROR_INVALID_FUNCTION;
141 }
142