Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-winehq
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
wine
wine-winehq
Commits
4dca2543
Commit
4dca2543
authored
Oct 22, 2022
by
Piotr Caban
Committed by
Alexandre Julliard
Dec 05, 2022
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
wineps: Add print processor stub.
parent
c8d28f27
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
74 additions
and
0 deletions
+74
-0
Makefile.in
dlls/wineps.drv/Makefile.in
+1
-0
printproc.c
dlls/wineps.drv/printproc.c
+66
-0
wineps.drv.spec
dlls/wineps.drv/wineps.drv.spec
+7
-0
No files found.
dlls/wineps.drv/Makefile.in
View file @
4dca2543
...
...
@@ -55,6 +55,7 @@ C_SRCS = \
init.c
\
pen.c
\
ppd.c
\
printproc.c
\
ps.c
\
text.c
\
type1.c
\
...
...
dlls/wineps.drv/printproc.c
0 → 100644
View file @
4dca2543
/*
* 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
;
}
dlls/wineps.drv/wineps.drv.spec
View file @
4dca2543
...
...
@@ -3,3 +3,10 @@
# Printer driver config exports
@ stdcall DrvDeviceCapabilities(ptr wstr long ptr ptr)
@ 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)
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment