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
9c448d1d
Commit
9c448d1d
authored
Jan 06, 2012
by
Jacek Caban
Committed by
Alexandre Julliard
Jan 06, 2012
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
ieframe: Added IHTMLWindow2 service tests.
parent
aaf3202d
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
18 additions
and
0 deletions
+18
-0
ie.c
dlls/ieframe/tests/ie.c
+18
-0
No files found.
dlls/ieframe/tests/ie.c
View file @
9c448d1d
...
...
@@ -26,6 +26,7 @@
#include "winbase.h"
#include "ole2.h"
#include "exdisp.h"
#include "mshtml.h"
static
void
test_visible
(
IWebBrowser2
*
wb
)
{
...
...
@@ -49,6 +50,22 @@ static void test_visible(IWebBrowser2 *wb)
ok
(
hres
==
S_OK
,
"put_Visible failed: %08x
\n
"
,
hres
);
}
static
void
test_html_window
(
IWebBrowser2
*
wb
)
{
IHTMLWindow2
*
html_window
;
IServiceProvider
*
sp
;
HRESULT
hres
;
hres
=
IWebBrowser2_QueryInterface
(
wb
,
&
IID_IServiceProvider
,
(
void
**
)
&
sp
);
ok
(
hres
==
S_OK
,
"Could not get IServiceProvider iface: %08x
\n
"
,
hres
);
hres
=
IServiceProvider_QueryService
(
sp
,
&
SID_SHTMLWindow
,
&
IID_IHTMLWindow2
,
(
void
**
)
&
html_window
);
IServiceProvider_Release
(
sp
);
ok
(
hres
==
S_OK
,
"Could not get SHTMLWindow service: %08x
\n
"
,
hres
);
IHTMLWindow2_Release
(
html_window
);
}
static
void
test_InternetExplorer
(
void
)
{
IWebBrowser2
*
wb
;
...
...
@@ -67,6 +84,7 @@ static void test_InternetExplorer(void)
ok
(
hres
==
S_OK
,
"Could not get IWebBrowser2 interface: %08x
\n
"
,
hres
);
test_visible
(
wb
);
test_html_window
(
wb
);
IWebBrowser2_Release
(
wb
);
ref
=
IUnknown_Release
(
unk
);
...
...
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