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
6395af1a
Commit
6395af1a
authored
Nov 15, 2012
by
Hans Leidekker
Committed by
Alexandre Julliard
Nov 15, 2012
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
windowscodecs: GetThumbnail should be supported for ICO frames.
parent
b671f257
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
9 additions
and
2 deletions
+9
-2
icoformat.c
dlls/windowscodecs/icoformat.c
+2
-2
icoformat.c
dlls/windowscodecs/tests/icoformat.c
+7
-0
No files found.
dlls/windowscodecs/icoformat.c
View file @
6395af1a
...
...
@@ -200,8 +200,8 @@ static HRESULT WINAPI IcoFrameDecode_GetColorContexts(IWICBitmapFrameDecode *ifa
static
HRESULT
WINAPI
IcoFrameDecode_GetThumbnail
(
IWICBitmapFrameDecode
*
iface
,
IWICBitmapSource
**
ppIThumbnail
)
{
TRAC
E
(
"(%p,%p)
\n
"
,
iface
,
ppIThumbnail
);
return
WINCODEC_ERR_CODECNOTHUMBNAI
L
;
FIXM
E
(
"(%p,%p)
\n
"
,
iface
,
ppIThumbnail
);
return
E_NOTIMP
L
;
}
static
const
IWICBitmapFrameDecodeVtbl
IcoFrameDecode_Vtbl
=
{
...
...
dlls/windowscodecs/tests/icoformat.c
View file @
6395af1a
...
...
@@ -134,9 +134,16 @@ static void test_bad_icondirentry_size(void)
if
(
SUCCEEDED
(
hr
))
{
UINT
width
=
0
,
height
=
0
;
IWICBitmapSource
*
thumbnail
=
NULL
;
hr
=
IWICBitmapFrameDecode_GetSize
(
framedecode
,
&
width
,
&
height
);
ok
(
hr
==
S_OK
,
"GetFrameSize failed, hr=%x
\n
"
,
hr
);
ok
(
width
==
16
&&
height
==
16
,
"framesize=%ux%u
\n
"
,
width
,
height
);
hr
=
IWICBitmapFrameDecode_GetThumbnail
(
framedecode
,
&
thumbnail
);
todo_wine
ok
(
hr
==
S_OK
,
"GetThumbnail failed, hr=%x
\n
"
,
hr
);
if
(
thumbnail
)
IWICBitmapSource_Release
(
thumbnail
);
IWICBitmapFrameDecode_Release
(
framedecode
);
}
...
...
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