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
8568848b
Commit
8568848b
authored
Mar 29, 2024
by
Dmitry Timoshkov
Committed by
Alexandre Julliard
Mar 29, 2024
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
windowscodecs: Silence fixme for IID_CMetaBitmapRenderTarget.
Signed-off-by:
Dmitry Timoshkov
<
dmitry@baikal.ru
>
parent
87ebccc3
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
16 additions
and
1 deletion
+16
-1
bitmap.c
dlls/windowscodecs/bitmap.c
+7
-1
bitmap.c
dlls/windowscodecs/tests/bitmap.c
+9
-0
No files found.
dlls/windowscodecs/bitmap.c
View file @
8568848b
...
...
@@ -30,6 +30,9 @@
#include "wine/asm.h"
#include "wine/debug.h"
#include "initguid.h"
DEFINE_GUID
(
IID_CMetaBitmapRenderTarget
,
0x0ccd7824
,
0xdc16
,
0x4d09
,
0xbc
,
0xa8
,
0x6b
,
0x09
,
0xc4
,
0xef
,
0x55
,
0x35
);
WINE_DEFAULT_DEBUG_CHANNEL
(
wincodecs
);
/* WARNING: .NET Media Integration Layer (MIL) directly dereferences
...
...
@@ -253,7 +256,10 @@ static HRESULT WINAPI BitmapImpl_QueryInterface(IWICBitmap *iface, REFIID iid,
}
else
{
FIXME
(
"unknown interface %s
\n
"
,
debugstr_guid
(
iid
));
if
(
IsEqualIID
(
&
IID_CMetaBitmapRenderTarget
,
iid
))
WARN
(
"Ignoring interface %s
\n
"
,
debugstr_guid
(
iid
));
else
FIXME
(
"unknown interface %s
\n
"
,
debugstr_guid
(
iid
));
*
ppv
=
NULL
;
return
E_NOINTERFACE
;
}
...
...
dlls/windowscodecs/tests/bitmap.c
View file @
8568848b
...
...
@@ -30,6 +30,9 @@
#include "wincodec.h"
#include "wine/test.h"
#include "initguid.h"
DEFINE_GUID
(
IID_CMetaBitmapRenderTarget
,
0x0ccd7824
,
0xdc16
,
0x4d09
,
0xbc
,
0xa8
,
0x6b
,
0x09
,
0xc4
,
0xef
,
0x55
,
0x35
);
extern
IID
IID_IMILBitmap
;
extern
IID
IID_IMILBitmapSource
;
extern
IID
IID_IMILBitmapLock
;
...
...
@@ -1464,6 +1467,12 @@ static void test_IMILBitmap(void)
IWICBitmapScaler_Release
(
scaler
);
mil_source
->
lpVtbl
->
Release
(
mil_source
);
mil_bitmap
->
lpVtbl
->
Release
(
mil_bitmap
);
mil_unknown
=
(
void
*
)
0xdeadbeef
;
hr
=
IWICBitmap_QueryInterface
(
bitmap
,
&
IID_CMetaBitmapRenderTarget
,
(
void
**
)
&
mil_unknown
);
ok
(
hr
==
E_NOINTERFACE
,
"got %#lx
\n
"
,
hr
);
ok
(
!
mil_unknown
,
"got %p
\n
"
,
mil_unknown
);
IWICBitmap_Release
(
bitmap
);
}
...
...
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