Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-cw
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-cw
Commits
b1e77d3f
Commit
b1e77d3f
authored
Sep 09, 2016
by
Dmitry Timoshkov
Committed by
Alexandre Julliard
Sep 12, 2016
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
gdiplus: Implement GdipCreateMetafileFromFile.
Signed-off-by:
Vincent Povirk
<
vincent@codeweavers.com
>
Signed-off-by:
Alexandre Julliard
<
julliard@winehq.org
>
parent
f60d2b63
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
16 additions
and
2 deletions
+16
-2
metafile.c
dlls/gdiplus/metafile.c
+16
-2
No files found.
dlls/gdiplus/metafile.c
View file @
b1e77d3f
...
...
@@ -1922,8 +1922,22 @@ GpStatus WINGDIPAPI GdipCreateMetafileFromWmfFile(GDIPCONST WCHAR *file,
GpStatus
WINGDIPAPI
GdipCreateMetafileFromFile
(
GDIPCONST
WCHAR
*
file
,
GpMetafile
**
metafile
)
{
FIXME
(
"(%p, %p): stub
\n
"
,
file
,
metafile
);
return
NotImplemented
;
GpStatus
status
;
IStream
*
stream
;
TRACE
(
"(%p, %p)
\n
"
,
file
,
metafile
);
if
(
!
file
||
!
metafile
)
return
InvalidParameter
;
*
metafile
=
NULL
;
status
=
GdipCreateStreamOnFile
(
file
,
GENERIC_READ
,
&
stream
);
if
(
status
==
Ok
)
{
status
=
GdipCreateMetafileFromStream
(
stream
,
metafile
);
IStream_Release
(
stream
);
}
return
status
;
}
GpStatus
WINGDIPAPI
GdipCreateMetafileFromStream
(
IStream
*
stream
,
...
...
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