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
d99740e8
Commit
d99740e8
authored
Apr 16, 2012
by
Vincent Povirk
Committed by
Alexandre Julliard
Jun 19, 2012
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
windowscodecs: Always report pixel formats are signed.
parent
0dee027d
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
11 additions
and
4 deletions
+11
-4
info.c
dlls/windowscodecs/info.c
+9
-2
info.c
dlls/windowscodecs/tests/info.c
+2
-2
No files found.
dlls/windowscodecs/info.c
View file @
d99740e8
...
...
@@ -1122,8 +1122,15 @@ static HRESULT WINAPI PixelFormatInfo_GetCLSID(IWICPixelFormatInfo2 *iface, CLSI
static
HRESULT
WINAPI
PixelFormatInfo_GetSigningStatus
(
IWICPixelFormatInfo2
*
iface
,
DWORD
*
pStatus
)
{
FIXME
(
"(%p,%p): stub
\n
"
,
iface
,
pStatus
);
return
E_NOTIMPL
;
TRACE
(
"(%p,%p)
\n
"
,
iface
,
pStatus
);
if
(
!
pStatus
)
return
E_INVALIDARG
;
/* Pixel formats don't require code, so they are considered signed. */
*
pStatus
=
WICComponentSigned
;
return
S_OK
;
}
static
HRESULT
WINAPI
PixelFormatInfo_GetAuthor
(
IWICPixelFormatInfo2
*
iface
,
UINT
cchAuthor
,
...
...
dlls/windowscodecs/tests/info.c
View file @
d99740e8
...
...
@@ -194,8 +194,6 @@ static void test_pixelformat_info(void)
ok
(
hr
==
S_OK
,
"GetFriendlyName failed, hr=%x
\n
"
,
hr
);
ok
(
len
<
255
&&
len
>
0
,
"invalid length 0x%x
\n
"
,
len
);
todo_wine
{
hr
=
IWICComponentInfo_GetSigningStatus
(
info
,
NULL
);
ok
(
hr
==
E_INVALIDARG
,
"GetSigningStatus failed, hr=%x
\n
"
,
hr
);
...
...
@@ -203,6 +201,8 @@ static void test_pixelformat_info(void)
ok
(
hr
==
S_OK
,
"GetSigningStatus failed, hr=%x
\n
"
,
hr
);
ok
(
signing
==
WICComponentSigned
,
"unexpected signing status 0x%x
\n
"
,
signing
);
todo_wine
{
len
=
0xdeadbeef
;
hr
=
IWICComponentInfo_GetSpecVersion
(
info
,
0
,
NULL
,
&
len
);
ok
(
hr
==
S_OK
,
"GetSpecVersion failed, hr=%x
\n
"
,
hr
);
...
...
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