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
99f69b4e
Commit
99f69b4e
authored
Mar 24, 2021
by
Zhiyi Zhang
Committed by
Alexandre Julliard
Mar 24, 2021
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
winedump: Dump EMR_HEADER record.
Signed-off-by:
Zhiyi Zhang
<
zzhang@codeweavers.com
>
Signed-off-by:
Alexandre Julliard
<
julliard@winehq.org
>
parent
75dd9b92
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
16 additions
and
1 deletion
+16
-1
emf.c
tools/winedump/emf.c
+16
-1
No files found.
tools/winedump/emf.c
View file @
99f69b4e
...
...
@@ -93,7 +93,22 @@ static int dump_emfrecord(void)
switch
(
type
)
{
EMRCASE
(
EMR_HEADER
);
case
EMR_HEADER
:
{
const
ENHMETAHEADER
*
header
=
PRD
(
offset
,
sizeof
(
*
header
));
printf
(
"%-20s %08x
\n
"
,
"EMR_HEADER"
,
length
);
printf
(
"bounds (%d,%d - %d,%d) frame (%d,%d - %d,%d) signature %#x version %#x bytes %#x records %#x
\n
"
"handles %#x reserved %#x palette entries %#x px %dx%d mm %dx%d μm %dx%d opengl %d description %s
\n
"
,
header
->
rclBounds
.
left
,
header
->
rclBounds
.
top
,
header
->
rclBounds
.
right
,
header
->
rclBounds
.
bottom
,
header
->
rclFrame
.
left
,
header
->
rclFrame
.
top
,
header
->
rclFrame
.
right
,
header
->
rclFrame
.
bottom
,
header
->
dSignature
,
header
->
nVersion
,
header
->
nBytes
,
header
->
nRecords
,
header
->
nHandles
,
header
->
sReserved
,
header
->
nPalEntries
,
header
->
szlDevice
.
cx
,
header
->
szlDevice
.
cy
,
header
->
szlMillimeters
.
cx
,
header
->
szlMillimeters
.
cy
,
header
->
szlMicrometers
.
cx
,
header
->
szlMicrometers
.
cy
,
header
->
bOpenGL
,
debugstr_wn
((
LPCWSTR
)((
const
BYTE
*
)
header
+
header
->
offDescription
),
header
->
nDescription
));
break
;
}
EMRCASE
(
EMR_POLYBEZIER
);
EMRCASE
(
EMR_POLYGON
);
EMRCASE
(
EMR_POLYLINE
);
...
...
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