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
8ce85059
Commit
8ce85059
authored
Mar 23, 2023
by
Piotr Caban
Committed by
Alexandre Julliard
Mar 23, 2023
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
wineps: Handle EMR_HEADER record in spool files.
parent
f925d3b0
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
10 additions
and
1 deletion
+10
-1
printproc.c
dlls/wineps.drv/printproc.c
+10
-1
No files found.
dlls/wineps.drv/printproc.c
View file @
8ce85059
...
...
@@ -133,7 +133,16 @@ static struct pp_data* get_handle_data(HANDLE pp)
static
int
WINAPI
hmf_proc
(
HDC
hdc
,
HANDLETABLE
*
htable
,
const
ENHMETARECORD
*
rec
,
int
n
,
LPARAM
arg
)
{
struct
pp_data
*
data
=
(
struct
pp_data
*
)
arg
;
switch
(
rec
->
iType
)
{
case
EMR_HEADER
:
return
PSDRV_StartPage
(
&
data
->
pdev
->
dev
);
default:
FIXME
(
"unsupported record: %ld
\n
"
,
rec
->
iType
);
}
return
1
;
}
...
...
@@ -174,7 +183,7 @@ static BOOL print_metafile(struct pp_data *data, HANDLE hdata)
if
(
!
hmf
)
return
FALSE
;
ret
=
EnumEnhMetaFile
(
NULL
,
hmf
,
hmf_proc
,
NULL
,
NULL
);
ret
=
EnumEnhMetaFile
(
NULL
,
hmf
,
hmf_proc
,
(
void
*
)
data
,
NULL
);
DeleteEnhMetaFile
(
hmf
);
return
ret
;
}
...
...
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