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
368b4c47
Commit
368b4c47
authored
Sep 14, 2016
by
Dmitry Timoshkov
Committed by
Alexandre Julliard
Sep 15, 2016
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
gdiplus: Implement GdipGetMetafileHeaderFromStream.
Signed-off-by:
Vincent Povirk
<
vincent@codeweavers.com
>
Signed-off-by:
Alexandre Julliard
<
julliard@winehq.org
>
parent
8c1ded61
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
10 additions
and
8 deletions
+10
-8
metafile.c
dlls/gdiplus/metafile.c
+10
-8
No files found.
dlls/gdiplus/metafile.c
View file @
368b4c47
...
...
@@ -1817,19 +1817,21 @@ GpStatus WINGDIPAPI GdipGetMetafileHeaderFromFile(GDIPCONST WCHAR *filename,
GpStatus
WINGDIPAPI
GdipGetMetafileHeaderFromStream
(
IStream
*
stream
,
MetafileHeader
*
header
)
{
static
int
calls
;
GpStatus
status
;
GpMetafile
*
metafile
;
TRACE
(
"(%p,%p)
\n
"
,
stream
,
header
);
if
(
!
stream
||
!
header
)
if
(
!
stream
||
!
header
)
return
InvalidParameter
;
if
(
!
(
calls
++
))
FIXME
(
"not implemented
\n
"
);
memset
(
header
,
0
,
sizeof
(
MetafileHeader
));
return
Ok
;
status
=
GdipCreateMetafileFromStream
(
stream
,
&
metafile
);
if
(
status
==
Ok
)
{
status
=
GdipGetMetafileHeaderFromMetafile
(
metafile
,
header
);
GdipDisposeImage
(
&
metafile
->
image
);
}
return
status
;
}
GpStatus
WINGDIPAPI
GdipCreateMetafileFromEmf
(
HENHMETAFILE
hemf
,
BOOL
delete
,
...
...
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