mirror of
git://source.winehq.org/git/wine.git
synced 2024-09-02 08:43:37 +00:00
wineps: Add print processor stub.
This commit is contained in:
parent
c8d28f2702
commit
4dca254324
|
@ -55,6 +55,7 @@ C_SRCS = \
|
||||||
init.c \
|
init.c \
|
||||||
pen.c \
|
pen.c \
|
||||||
ppd.c \
|
ppd.c \
|
||||||
|
printproc.c \
|
||||||
ps.c \
|
ps.c \
|
||||||
text.c \
|
text.c \
|
||||||
type1.c \
|
type1.c \
|
||||||
|
|
66
dlls/wineps.drv/printproc.c
Normal file
66
dlls/wineps.drv/printproc.c
Normal file
|
@ -0,0 +1,66 @@
|
||||||
|
/*
|
||||||
|
* Print processor implementation.
|
||||||
|
*
|
||||||
|
* Copyright 2022 Piotr Caban for CodeWeavers
|
||||||
|
*
|
||||||
|
* This library is free software; you can redistribute it and/or
|
||||||
|
* modify it under the terms of the GNU Lesser General Public
|
||||||
|
* License as published by the Free Software Foundation; either
|
||||||
|
* version 2.1 of the License, or (at your option) any later version.
|
||||||
|
*
|
||||||
|
* This library is distributed in the hope that it will be useful,
|
||||||
|
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||||
|
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
||||||
|
* Lesser General Public License for more details.
|
||||||
|
*
|
||||||
|
* You should have received a copy of the GNU Lesser General Public
|
||||||
|
* License along with this library; if not, write to the Free Software
|
||||||
|
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
|
||||||
|
*/
|
||||||
|
|
||||||
|
#include <stdio.h>
|
||||||
|
|
||||||
|
#include <windows.h>
|
||||||
|
#include <winspool.h>
|
||||||
|
#include <ddk/winsplp.h>
|
||||||
|
|
||||||
|
#include "wine/debug.h"
|
||||||
|
|
||||||
|
WINE_DEFAULT_DEBUG_CHANNEL(psdrv);
|
||||||
|
|
||||||
|
BOOL WINAPI EnumPrintProcessorDatatypesW(WCHAR *server, WCHAR *name, DWORD level,
|
||||||
|
BYTE *datatypes, DWORD size, DWORD *needed, DWORD *no)
|
||||||
|
{
|
||||||
|
FIXME("%s, %s, %ld, %p, %ld, %p, %p\n", debugstr_w(server), debugstr_w(name),
|
||||||
|
level, datatypes, size, needed, no);
|
||||||
|
SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
|
||||||
|
return FALSE;
|
||||||
|
}
|
||||||
|
|
||||||
|
HANDLE WINAPI OpenPrintProcessor(WCHAR *port, PRINTPROCESSOROPENDATA *open_data)
|
||||||
|
{
|
||||||
|
FIXME("%s, %p\n", debugstr_w(port), open_data);
|
||||||
|
SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
|
||||||
|
return NULL;
|
||||||
|
}
|
||||||
|
|
||||||
|
BOOL WINAPI PrintDocumentOnPrintProcessor(HANDLE pp, WCHAR *doc_name)
|
||||||
|
{
|
||||||
|
FIXME("%p, %s\n", pp, debugstr_w(doc_name));
|
||||||
|
SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
|
||||||
|
return FALSE;
|
||||||
|
}
|
||||||
|
|
||||||
|
BOOL WINAPI ControlPrintProcessor(HANDLE pp, DWORD cmd)
|
||||||
|
{
|
||||||
|
FIXME("%p, %ld\n", pp, cmd);
|
||||||
|
SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
|
||||||
|
return FALSE;
|
||||||
|
}
|
||||||
|
|
||||||
|
BOOL WINAPI ClosePrintProcessor(HANDLE pp)
|
||||||
|
{
|
||||||
|
FIXME("%p\n", pp);
|
||||||
|
SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
|
||||||
|
return FALSE;
|
||||||
|
}
|
|
@ -3,3 +3,10 @@
|
||||||
# Printer driver config exports
|
# Printer driver config exports
|
||||||
@ stdcall DrvDeviceCapabilities(ptr wstr long ptr ptr)
|
@ stdcall DrvDeviceCapabilities(ptr wstr long ptr ptr)
|
||||||
@ stdcall DrvDocumentPropertySheets(ptr long)
|
@ stdcall DrvDocumentPropertySheets(ptr long)
|
||||||
|
|
||||||
|
# Print processor exports
|
||||||
|
@ stdcall EnumPrintProcessorDatatypesW(ptr ptr long ptr long ptr ptr)
|
||||||
|
@ stdcall OpenPrintProcessor(ptr ptr)
|
||||||
|
@ stdcall PrintDocumentOnPrintProcessor(ptr ptr)
|
||||||
|
@ stdcall ControlPrintProcessor(ptr long)
|
||||||
|
@ stdcall ClosePrintProcessor(ptr)
|
||||||
|
|
Loading…
Reference in a new issue