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
06aac5a4
Commit
06aac5a4
authored
Nov 23, 2022
by
Piotr Caban
Committed by
Alexandre Julliard
Nov 28, 2022
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
localspl: Add EndDocPrinter implementation.
parent
35c393fd
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
25 additions
and
1 deletion
+25
-1
provider.c
dlls/localspl/provider.c
+25
-1
No files found.
dlls/localspl/provider.c
View file @
06aac5a4
...
...
@@ -3322,6 +3322,30 @@ static BOOL WINAPI fpScheduleJob(HANDLE hprinter, DWORD job_id)
return
ret
;
}
static
BOOL
WINAPI
fpEndDocPrinter
(
HANDLE
hprinter
)
{
printer_t
*
printer
=
(
printer_t
*
)
hprinter
;
BOOL
ret
;
TRACE
(
"%p
\n
"
,
hprinter
);
if
(
!
printer
||
!
printer
->
info
)
{
SetLastError
(
ERROR_INVALID_HANDLE
);
return
FALSE
;
}
if
(
!
printer
->
doc
)
{
SetLastError
(
ERROR_SPL_NO_STARTDOC
);
return
FALSE
;
}
ret
=
fpScheduleJob
(
hprinter
,
printer
->
doc
->
id
);
printer
->
doc
=
NULL
;
return
ret
;
}
static
const
PRINTPROVIDOR
backend
=
{
fpOpenPrinter
,
fpSetJob
,
...
...
@@ -3348,7 +3372,7 @@ static const PRINTPROVIDOR backend = {
NULL
,
/* fpEndPagePrinter */
NULL
,
/* fpAbortPrinter */
NULL
,
/* fpReadPrinter */
NULL
,
/* fpEndDocPrinter */
fpEndDocPrinter
,
fpAddJob
,
fpScheduleJob
,
NULL
,
/* fpGetPrinterData */
...
...
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