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
cffd28f7
Commit
cffd28f7
authored
Feb 18, 2010
by
Vitaly Perov
Committed by
Alexandre Julliard
Feb 18, 2010
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
mshtml: Silence IExternalConnection in htmldoc_qi FIXME.
parent
35c70417
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
8 additions
and
0 deletions
+8
-0
htmldoc.c
dlls/mshtml/htmldoc.c
+3
-0
htmldoc.c
dlls/mshtml/tests/htmldoc.c
+5
-0
No files found.
dlls/mshtml/htmldoc.c
View file @
cffd28f7
...
@@ -1773,6 +1773,9 @@ static BOOL htmldoc_qi(HTMLDocument *This, REFIID riid, void **ppv)
...
@@ -1773,6 +1773,9 @@ static BOOL htmldoc_qi(HTMLDocument *This, REFIID riid, void **ppv)
}
else
if
(
IsEqualGUID
(
&
IID_IMarshal
,
riid
))
{
}
else
if
(
IsEqualGUID
(
&
IID_IMarshal
,
riid
))
{
TRACE
(
"(%p)->(IID_IMarshal %p) returning NULL
\n
"
,
This
,
ppv
);
TRACE
(
"(%p)->(IID_IMarshal %p) returning NULL
\n
"
,
This
,
ppv
);
*
ppv
=
NULL
;
*
ppv
=
NULL
;
}
else
if
(
IsEqualGUID
(
&
IID_IExternalConnection
,
riid
))
{
TRACE
(
"(%p)->(IID_IExternalConnection %p) returning NULL
\n
"
,
This
,
ppv
);
*
ppv
=
NULL
;
}
else
if
(
IsEqualGUID
(
&
IID_IObjectWithSite
,
riid
))
{
}
else
if
(
IsEqualGUID
(
&
IID_IObjectWithSite
,
riid
))
{
TRACE
(
"(%p)->(IID_IObjectWithSite %p)
\n
"
,
This
,
ppv
);
TRACE
(
"(%p)->(IID_IObjectWithSite %p)
\n
"
,
This
,
ppv
);
*
ppv
=
OBJSITE
(
This
);
*
ppv
=
OBJSITE
(
This
);
...
...
dlls/mshtml/tests/htmldoc.c
View file @
cffd28f7
...
@@ -4309,6 +4309,11 @@ static void test_QueryInterface(IHTMLDocument2 *doc)
...
@@ -4309,6 +4309,11 @@ static void test_QueryInterface(IHTMLDocument2 *doc)
hres
=
IUnknown_QueryInterface
(
doc
,
&
IID_IMarshal
,
(
void
**
)
&
qi
);
hres
=
IUnknown_QueryInterface
(
doc
,
&
IID_IMarshal
,
(
void
**
)
&
qi
);
ok
(
hres
==
E_NOINTERFACE
,
"QueryInterface returned %08x, expected E_NOINTERFACE
\n
"
,
hres
);
ok
(
hres
==
E_NOINTERFACE
,
"QueryInterface returned %08x, expected E_NOINTERFACE
\n
"
,
hres
);
ok
(
qi
==
NULL
,
"qi=%p, expected NULL
\n
"
,
qi
);
ok
(
qi
==
NULL
,
"qi=%p, expected NULL
\n
"
,
qi
);
qi
=
(
void
*
)
0xdeadbeef
;
hres
=
IUnknown_QueryInterface
(
doc
,
&
IID_IExternalConnection
,
(
void
**
)
&
qi
);
ok
(
hres
==
E_NOINTERFACE
,
"QueryInterface returned %08x, expected E_NOINTERFACE
\n
"
,
hres
);
ok
(
qi
==
NULL
,
"qi=%p, expected NULL
\n
"
,
qi
);
}
}
static
void
init_test
(
enum
load_state_t
ls
)
{
static
void
init_test
(
enum
load_state_t
ls
)
{
...
...
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