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
15b9ed9f
Commit
15b9ed9f
authored
Oct 18, 2002
by
Alexandre Julliard
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Converted PlayMetaFileRecord and related functions to 32-bit.
parent
7aee9076
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
15 additions
and
0 deletions
+15
-0
gdi16.c
dlls/gdi/gdi16.c
+15
-0
metafile.c
objects/metafile.c
+0
-0
No files found.
dlls/gdi/gdi16.c
View file @
15b9ed9f
...
...
@@ -1414,6 +1414,21 @@ void WINAPI SetRectRgn16( HRGN16 hrgn, INT16 left, INT16 top, INT16 right, INT16
}
/******************************************************************
* PlayMetaFileRecord (GDI.176)
*/
void
WINAPI
PlayMetaFileRecord16
(
HDC16
hdc
,
HANDLETABLE16
*
ht
,
METARECORD
*
mr
,
UINT16
handles
)
{
HANDLETABLE
*
ht32
=
HeapAlloc
(
GetProcessHeap
(),
0
,
handles
*
sizeof
(
*
ht32
)
);
unsigned
int
i
;
for
(
i
=
0
;
i
<
handles
;
i
++
)
ht32
->
objectHandle
[
i
]
=
(
HGDIOBJ
)(
ULONG_PTR
)
ht
->
objectHandle
[
i
];
PlayMetaFileRecord
(
HDC_32
(
hdc
),
ht32
,
mr
,
handles
);
for
(
i
=
0
;
i
<
handles
;
i
++
)
ht
->
objectHandle
[
i
]
=
LOWORD
(
ht32
->
objectHandle
[
i
]);
HeapFree
(
GetProcessHeap
(),
0
,
ht32
);
}
/***********************************************************************
* GetCharABCWidths (GDI.307)
*/
...
...
objects/metafile.c
View file @
15b9ed9f
This diff is collapsed.
Click to expand it.
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