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
7baf4ecd
Commit
7baf4ecd
authored
Nov 22, 2012
by
Dmitry Timoshkov
Committed by
Alexandre Julliard
Nov 22, 2012
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
windowscodecs: Implement QueryCapability in the GIF decoder.
parent
892c16e6
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
15 additions
and
4 deletions
+15
-4
gifformat.c
dlls/windowscodecs/gifformat.c
+15
-4
No files found.
dlls/windowscodecs/gifformat.c
View file @
7baf4ecd
...
...
@@ -1064,11 +1064,22 @@ static ULONG WINAPI GifDecoder_Release(IWICBitmapDecoder *iface)
return
ref
;
}
static
HRESULT
WINAPI
GifDecoder_QueryCapability
(
IWICBitmapDecoder
*
iface
,
IStream
*
pIS
tream
,
DWORD
*
pdwC
apability
)
static
HRESULT
WINAPI
GifDecoder_QueryCapability
(
IWICBitmapDecoder
*
iface
,
IStream
*
s
tream
,
DWORD
*
c
apability
)
{
FIXME
(
"(%p,%p,%p): stub
\n
"
,
iface
,
pIStream
,
pdwCapability
);
return
E_NOTIMPL
;
HRESULT
hr
;
TRACE
(
"(%p,%p,%p)
\n
"
,
iface
,
stream
,
capability
);
if
(
!
stream
||
!
capability
)
return
E_INVALIDARG
;
hr
=
IWICBitmapDecoder_Initialize
(
iface
,
stream
,
WICDecodeMetadataCacheOnDemand
);
if
(
hr
!=
S_OK
)
return
hr
;
*
capability
=
WICBitmapDecoderCapabilityCanDecodeAllImages
|
WICBitmapDecoderCapabilityCanDecodeSomeImages
|
WICBitmapDecoderCapabilityCanEnumerateMetadata
;
return
S_OK
;
}
static
int
_gif_inputfunc
(
GifFileType
*
gif
,
GifByteType
*
data
,
int
len
)
{
...
...
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