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
497e8840
Commit
497e8840
authored
Jul 02, 2012
by
Dmitry Timoshkov
Committed by
Alexandre Julliard
Jul 03, 2012
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
windowscodecs: Implement PixelFormatInfo_GetSpecVersion.
parent
7c191379
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
8 additions
and
4 deletions
+8
-4
info.c
dlls/windowscodecs/info.c
+6
-2
info.c
dlls/windowscodecs/tests/info.c
+2
-2
No files found.
dlls/windowscodecs/info.c
View file @
497e8840
...
...
@@ -1238,8 +1238,12 @@ static HRESULT WINAPI PixelFormatInfo_GetVersion(IWICPixelFormatInfo2 *iface, UI
static
HRESULT
WINAPI
PixelFormatInfo_GetSpecVersion
(
IWICPixelFormatInfo2
*
iface
,
UINT
cchSpecVersion
,
WCHAR
*
wzSpecVersion
,
UINT
*
pcchActual
)
{
FIXME
(
"(%p,%u,%p,%p): stub
\n
"
,
iface
,
cchSpecVersion
,
wzSpecVersion
,
pcchActual
);
return
E_NOTIMPL
;
PixelFormatInfo
*
This
=
impl_from_IWICPixelFormatInfo2
(
iface
);
TRACE
(
"(%p,%u,%p,%p)
\n
"
,
iface
,
cchSpecVersion
,
wzSpecVersion
,
pcchActual
);
return
ComponentInfo_GetStringValue
(
This
->
classkey
,
specversion_valuename
,
cchSpecVersion
,
wzSpecVersion
,
pcchActual
);
}
static
HRESULT
WINAPI
PixelFormatInfo_GetFriendlyName
(
IWICPixelFormatInfo2
*
iface
,
UINT
cchFriendlyName
,
...
...
dlls/windowscodecs/tests/info.c
View file @
497e8840
...
...
@@ -209,8 +209,8 @@ static void test_pixelformat_info(void)
len
=
0xdeadbeef
;
hr
=
IWICComponentInfo_GetSpecVersion
(
info
,
0
,
NULL
,
&
len
);
todo_wine
ok
(
hr
==
S_OK
,
"GetSpecVersion failed, hr=%x
\n
"
,
hr
);
todo_wine
ok
(
len
==
0
,
"invalid length 0x%x
\n
"
,
len
);
/* spec version does not apply to pixel formats */
ok
(
hr
==
S_OK
,
"GetSpecVersion failed, hr=%x
\n
"
,
hr
);
ok
(
len
==
0
,
"invalid length 0x%x
\n
"
,
len
);
/* spec version does not apply to pixel formats */
memset
(
&
guid
,
0xaa
,
sizeof
(
guid
));
hr
=
IWICComponentInfo_GetVendorGUID
(
info
,
&
guid
);
...
...
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