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
a8d08e2a
Commit
a8d08e2a
authored
Nov 06, 2014
by
Vincent Povirk
Committed by
Alexandre Julliard
Nov 13, 2014
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
windowscodecs: Implement MetadataReaderInfo_GetContainerFormats.
parent
e53e798a
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
5 deletions
+5
-5
info.c
dlls/windowscodecs/info.c
+5
-3
info.c
dlls/windowscodecs/tests/info.c
+0
-2
No files found.
dlls/windowscodecs/info.c
View file @
a8d08e2a
...
...
@@ -56,6 +56,7 @@ static const WCHAR supportstransparency_valuename[] = {'S','u','p','p','o','r','
static
const
WCHAR
requiresfullstream_valuename
[]
=
{
'R'
,
'e'
,
'q'
,
'u'
,
'i'
,
'r'
,
'e'
,
's'
,
'F'
,
'u'
,
'l'
,
'l'
,
'S'
,
't'
,
'r'
,
'e'
,
'a'
,
'm'
,
0
};
static
const
WCHAR
supportspadding_valuename
[]
=
{
'S'
,
'u'
,
'p'
,
'p'
,
'o'
,
'r'
,
't'
,
's'
,
'P'
,
'a'
,
'd'
,
'd'
,
'i'
,
'n'
,
'g'
,
0
};
static
const
WCHAR
fileextensions_valuename
[]
=
{
'F'
,
'i'
,
'l'
,
'e'
,
'E'
,
'x'
,
't'
,
'e'
,
'n'
,
's'
,
'i'
,
'o'
,
'n'
,
's'
,
0
};
static
const
WCHAR
containers_keyname
[]
=
{
'C'
,
'o'
,
'n'
,
't'
,
'a'
,
'i'
,
'n'
,
'e'
,
'r'
,
's'
,
0
};
static
HRESULT
ComponentInfo_GetStringValue
(
HKEY
classkey
,
LPCWSTR
value
,
UINT
buffer_size
,
WCHAR
*
buffer
,
UINT
*
actual_size
)
...
...
@@ -1635,10 +1636,11 @@ static HRESULT WINAPI MetadataReaderInfo_GetMetadataFormat(IWICMetadataReaderInf
static
HRESULT
WINAPI
MetadataReaderInfo_GetContainerFormats
(
IWICMetadataReaderInfo
*
iface
,
UINT
length
,
GUID
*
formats
,
UINT
*
actual_length
)
{
if
(
!
actual_length
)
return
E_INVALIDARG
;
MetadataReaderInfo
*
This
=
impl_from_IWICMetadataReaderInfo
(
iface
);
TRACE
(
"(%p,%u,%p,%p)
\n
"
,
iface
,
length
,
formats
,
actual_length
);
FIXME
(
"(%p,%u,%p,%p): stub
\n
"
,
iface
,
length
,
formats
,
actual_length
);
return
E_NOTIMPL
;
return
ComponentInfo_GetGuidList
(
This
->
classkey
,
containers_keyname
,
length
,
formats
,
actual_length
)
;
}
static
HRESULT
WINAPI
MetadataReaderInfo_GetDeviceManufacturer
(
IWICMetadataReaderInfo
*
iface
,
...
...
dlls/windowscodecs/tests/info.c
View file @
a8d08e2a
...
...
@@ -415,9 +415,7 @@ static void test_reader_info(void)
count
=
0xdeadbeef
;
hr
=
IWICMetadataReaderInfo_GetContainerFormats
(
reader_info
,
0
,
NULL
,
&
count
);
todo_wine
ok
(
hr
==
S_OK
,
"GetContainerFormats failed, hr=%x
\n
"
,
hr
);
todo_wine
ok
(
count
==
0
,
"unexpected count %d
\n
"
,
count
);
hr
=
IWICMetadataReaderInfo_GetPatterns
(
reader_info
,
&
GUID_ContainerFormatPng
,
...
...
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