wineps: Add print processor stub.
[wine.git] / dlls / wineps.drv / printproc.c
blob287dac9a0cf18e5837cb964e0621b8a6fbcd4be4
1 /*
2 * Print processor implementation.
4 * Copyright 2022 Piotr Caban for CodeWeavers
6 * This library is free software; you can redistribute it and/or
7 * modify it under the terms of the GNU Lesser General Public
8 * License as published by the Free Software Foundation; either
9 * version 2.1 of the License, or (at your option) any later version.
11 * This library is distributed in the hope that it will be useful,
12 * but WITHOUT ANY WARRANTY; without even the implied warranty of
13 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
14 * Lesser General Public License for more details.
16 * You should have received a copy of the GNU Lesser General Public
17 * License along with this library; if not, write to the Free Software
18 * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
21 #include <stdio.h>
23 #include <windows.h>
24 #include <winspool.h>
25 #include <ddk/winsplp.h>
27 #include "wine/debug.h"
29 WINE_DEFAULT_DEBUG_CHANNEL(psdrv);
31 BOOL WINAPI EnumPrintProcessorDatatypesW(WCHAR *server, WCHAR *name, DWORD level,
32 BYTE *datatypes, DWORD size, DWORD *needed, DWORD *no)
34 FIXME("%s, %s, %ld, %p, %ld, %p, %p\n", debugstr_w(server), debugstr_w(name),
35 level, datatypes, size, needed, no);
36 SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
37 return FALSE;
40 HANDLE WINAPI OpenPrintProcessor(WCHAR *port, PRINTPROCESSOROPENDATA *open_data)
42 FIXME("%s, %p\n", debugstr_w(port), open_data);
43 SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
44 return NULL;
47 BOOL WINAPI PrintDocumentOnPrintProcessor(HANDLE pp, WCHAR *doc_name)
49 FIXME("%p, %s\n", pp, debugstr_w(doc_name));
50 SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
51 return FALSE;
54 BOOL WINAPI ControlPrintProcessor(HANDLE pp, DWORD cmd)
56 FIXME("%p, %ld\n", pp, cmd);
57 SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
58 return FALSE;
61 BOOL WINAPI ClosePrintProcessor(HANDLE pp)
63 FIXME("%p\n", pp);
64 SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
65 return FALSE;