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
976a3d5e
Commit
976a3d5e
authored
Feb 08, 2012
by
Jacek Caban
Committed by
Alexandre Julliard
Feb 08, 2012
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
mshtml: Added IHTMLDocument2::get_frames implementation.
parent
666004cd
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
12 additions
and
2 deletions
+12
-2
htmldoc.c
dlls/mshtml/htmldoc.c
+4
-2
dom.c
dlls/mshtml/tests/dom.c
+8
-0
No files found.
dlls/mshtml/htmldoc.c
View file @
976a3d5e
...
...
@@ -471,8 +471,10 @@ static HRESULT WINAPI HTMLDocument_get_readyState(IHTMLDocument2 *iface, BSTR *p
static
HRESULT
WINAPI
HTMLDocument_get_frames
(
IHTMLDocument2
*
iface
,
IHTMLFramesCollection2
**
p
)
{
HTMLDocument
*
This
=
impl_from_IHTMLDocument2
(
iface
);
FIXME
(
"(%p)->(%p)
\n
"
,
This
,
p
);
return
E_NOTIMPL
;
TRACE
(
"(%p)->(%p)
\n
"
,
This
,
p
);
return
IHTMLWindow2_get_frames
(
&
This
->
window
->
IHTMLWindow2_iface
,
p
);
}
static
HRESULT
WINAPI
HTMLDocument_get_embeds
(
IHTMLDocument2
*
iface
,
IHTMLElementCollection
**
p
)
...
...
dlls/mshtml/tests/dom.c
View file @
976a3d5e
...
...
@@ -5913,6 +5913,14 @@ static void test_frameset(IHTMLDocument2 *doc)
test_frames_collection
(
frames
,
"fr1"
);
IHTMLFramesCollection2_Release
(
frames
);
hres
=
IHTMLDocument2_get_frames
(
doc
,
&
frames
);
ok
(
hres
==
S_OK
,
"IHTMLDocument2_get_frames failed: 0x%08x
\n
"
,
hres
);
if
(
FAILED
(
hres
))
return
;
test_frames_collection
(
frames
,
"fr1"
);
IHTMLFramesCollection2_Release
(
frames
);
/* test using IHTMLWindow2 inheritance */
test_frames_collection
((
IHTMLFramesCollection2
*
)
window
,
"fr2"
);
...
...
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