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)
11 _RpcCreatePrinterIC(WINSPOOL_PRINTER_HANDLE hPrinter
, WINSPOOL_GDI_HANDLE
* pHandle
, WINSPOOL_DEVMODE_CONTAINER
* pDevModeContainer
)
14 return ERROR_INVALID_FUNCTION
;
18 _RpcPlayGdiScriptOnPrinterIC(WINSPOOL_GDI_HANDLE hPrinterIC
, BYTE
* pIn
, DWORD cIn
, BYTE
* pOut
, DWORD cOut
, DWORD ul
)
21 return ERROR_INVALID_FUNCTION
;
25 _RpcDeletePrinterIC(WINSPOOL_GDI_HANDLE
* phPrinterIC
)
28 return ERROR_INVALID_FUNCTION
;
32 _RpcAddPrinterConnection(WINSPOOL_HANDLE pName
)
35 return ERROR_INVALID_FUNCTION
;
39 _RpcDeletePrinterConnection(WINSPOOL_HANDLE pName
)
42 return ERROR_INVALID_FUNCTION
;
46 // Forward Dead API....
49 _RpcPrinterMessageBox(WINSPOOL_PRINTER_HANDLE hPrinter
, DWORD Error
, ULONG_PTR hWnd
, WCHAR
* pText
, WCHAR
* pCaption
, DWORD dwType
)
53 dwErrorCode
= RpcImpersonateClient(NULL
);
54 if (dwErrorCode
!= ERROR_SUCCESS
)
56 ERR("RpcImpersonateClient failed with error %lu!\n", dwErrorCode
);
60 PrinterMessageBoxW(hPrinter
, Error
, (HWND
)hWnd
, pText
, pCaption
, dwType
);
61 dwErrorCode
= GetLastError();
68 _RpcSetAllocFailCount(VOID
)
71 return ERROR_INVALID_FUNCTION
;
75 _RpcClusterSplOpen(VOID
)
78 return ERROR_INVALID_FUNCTION
;
82 _RpcClusterSplClose(VOID
)
85 return ERROR_INVALID_FUNCTION
;
89 _RpcClusterSplIsAlive(VOID
)
92 return ERROR_INVALID_FUNCTION
;
96 _RpcAddPerMachineConnection(WINSPOOL_HANDLE pServer
, const WCHAR
* pPrinterName
, const WCHAR
* pPrintServer
, const WCHAR
* pProvider
)
99 return ERROR_INVALID_FUNCTION
;
103 _RpcDeletePerMachineConnection(WINSPOOL_HANDLE pServer
, const WCHAR
* pPrinterName
)
106 return ERROR_INVALID_FUNCTION
;
110 _RpcEnumPerMachineConnections(WINSPOOL_HANDLE pServer
, BYTE
* pPrinterEnum
, DWORD cbBuf
, DWORD
* pcbNeeded
, DWORD
* pcReturned
)
113 return ERROR_INVALID_FUNCTION
;
117 _RpcSplOpenPrinter(VOID
)
120 return ERROR_INVALID_FUNCTION
;
124 _RpcSendRecvBidiData(WINSPOOL_PRINTER_HANDLE hPrinter
, const WCHAR
* pAction
, WINSPOOL_BIDI_REQUEST_CONTAINER
* pReqData
, WINSPOOL_BIDI_RESPONSE_CONTAINER
** ppRespData
)
127 return ERROR_INVALID_FUNCTION
;
131 _RpcAddDriverCatalog(VOID
)
134 return ERROR_INVALID_FUNCTION
;