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
38b222c6
Commit
38b222c6
authored
Dec 06, 2018
by
Dmitry Timoshkov
Committed by
Alexandre Julliard
Dec 06, 2018
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
windowscodecs: Implement IWICBitmapEncoder::GetEncoderInfo in PNG encoder.
Signed-off-by:
Dmitry Timoshkov
<
dmitry@baikal.ru
>
Signed-off-by:
Alexandre Julliard
<
julliard@winehq.org
>
parent
d88eb99e
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
15 additions
and
4 deletions
+15
-4
pngformat.c
dlls/windowscodecs/pngformat.c
+15
-4
No files found.
dlls/windowscodecs/pngformat.c
View file @
38b222c6
...
...
@@ -1979,11 +1979,22 @@ static HRESULT WINAPI PngEncoder_GetContainerFormat(IWICBitmapEncoder *iface, GU
return
S_OK
;
}
static
HRESULT
WINAPI
PngEncoder_GetEncoderInfo
(
IWICBitmapEncoder
*
iface
,
IWICBitmapEncoderInfo
**
ppIEncoderInfo
)
static
HRESULT
WINAPI
PngEncoder_GetEncoderInfo
(
IWICBitmapEncoder
*
iface
,
IWICBitmapEncoderInfo
**
info
)
{
FIXME
(
"(%p,%p): stub
\n
"
,
iface
,
ppIEncoderInfo
);
return
E_NOTIMPL
;
IWICComponentInfo
*
comp_info
;
HRESULT
hr
;
TRACE
(
"%p,%p
\n
"
,
iface
,
info
);
if
(
!
info
)
return
E_INVALIDARG
;
hr
=
CreateComponentInfo
(
&
CLSID_WICPngEncoder
,
&
comp_info
);
if
(
hr
==
S_OK
)
{
hr
=
IWICComponentInfo_QueryInterface
(
comp_info
,
&
IID_IWICBitmapEncoderInfo
,
(
void
**
)
info
);
IWICComponentInfo_Release
(
comp_info
);
}
return
hr
;
}
static
HRESULT
WINAPI
PngEncoder_SetColorContexts
(
IWICBitmapEncoder
*
iface
,
...
...
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