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
e246dd46
Commit
e246dd46
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 BMP encoder.
Signed-off-by:
Dmitry Timoshkov
<
dmitry@baikal.ru
>
Signed-off-by:
Alexandre Julliard
<
julliard@winehq.org
>
parent
7533f251
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
15 additions
and
4 deletions
+15
-4
bmpencode.c
dlls/windowscodecs/bmpencode.c
+15
-4
No files found.
dlls/windowscodecs/bmpencode.c
View file @
e246dd46
...
@@ -510,11 +510,22 @@ static HRESULT WINAPI BmpEncoder_GetContainerFormat(IWICBitmapEncoder *iface,
...
@@ -510,11 +510,22 @@ static HRESULT WINAPI BmpEncoder_GetContainerFormat(IWICBitmapEncoder *iface,
return
S_OK
;
return
S_OK
;
}
}
static
HRESULT
WINAPI
BmpEncoder_GetEncoderInfo
(
IWICBitmapEncoder
*
iface
,
static
HRESULT
WINAPI
BmpEncoder_GetEncoderInfo
(
IWICBitmapEncoder
*
iface
,
IWICBitmapEncoderInfo
**
info
)
IWICBitmapEncoderInfo
**
ppIEncoderInfo
)
{
{
FIXME
(
"(%p,%p): stub
\n
"
,
iface
,
ppIEncoderInfo
);
IWICComponentInfo
*
comp_info
;
return
E_NOTIMPL
;
HRESULT
hr
;
TRACE
(
"%p,%p
\n
"
,
iface
,
info
);
if
(
!
info
)
return
E_INVALIDARG
;
hr
=
CreateComponentInfo
(
&
CLSID_WICBmpEncoder
,
&
comp_info
);
if
(
hr
==
S_OK
)
{
hr
=
IWICComponentInfo_QueryInterface
(
comp_info
,
&
IID_IWICBitmapEncoderInfo
,
(
void
**
)
info
);
IWICComponentInfo_Release
(
comp_info
);
}
return
hr
;
}
}
static
HRESULT
WINAPI
BmpEncoder_SetColorContexts
(
IWICBitmapEncoder
*
iface
,
static
HRESULT
WINAPI
BmpEncoder_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