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
2f8da934
Commit
2f8da934
authored
May 31, 2011
by
Jacek Caban
Committed by
Alexandre Julliard
May 31, 2011
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
mshtml: Added IHTMLMimeTypesCollection::get_length implementation.
parent
8fce0286
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
12 additions
and
2 deletions
+12
-2
omnavigator.c
dlls/mshtml/omnavigator.c
+6
-2
dom.c
dlls/mshtml/tests/dom.c
+6
-0
No files found.
dlls/mshtml/omnavigator.c
View file @
2f8da934
...
...
@@ -294,8 +294,12 @@ static HRESULT WINAPI HTMLMimeTypesCollection_Invoke(IHTMLMimeTypesCollection *i
static
HRESULT
WINAPI
HTMLMimeTypesCollection_get_length
(
IHTMLMimeTypesCollection
*
iface
,
LONG
*
p
)
{
HTMLMimeTypesCollection
*
This
=
impl_from_IHTMLMimeTypesCollection
(
iface
);
FIXME
(
"(%p)->(%p)
\n
"
,
This
,
p
);
return
E_NOTIMPL
;
TRACE
(
"(%p)->(%p)
\n
"
,
This
,
p
);
/* This is just a stub for compatibility with other browser in IE */
*
p
=
0
;
return
S_OK
;
}
static
const
IHTMLMimeTypesCollectionVtbl
HTMLMimeTypesCollectionVtbl
=
{
...
...
dlls/mshtml/tests/dom.c
View file @
2f8da934
...
...
@@ -3830,6 +3830,7 @@ static void test_plugins_col(IOmNavigator *nav)
static
void
test_mime_types_col
(
IOmNavigator
*
nav
)
{
IHTMLMimeTypesCollection
*
col
,
*
col2
;
LONG
length
;
ULONG
ref
;
HRESULT
hres
;
...
...
@@ -3843,6 +3844,11 @@ static void test_mime_types_col(IOmNavigator *nav)
test_disp
((
IUnknown
*
)
col
,
&
IID_IHTMLMimeTypesCollection
,
"[object]"
);
length
=
0xdeadbeef
;
hres
=
IHTMLMimeTypesCollection_get_length
(
col
,
&
length
);
ok
(
hres
==
S_OK
,
"get_length failed: %08x
\n
"
,
hres
);
ok
(
!
length
,
"length = %d
\n
"
,
length
);
ref
=
IHTMLMimeTypesCollection_Release
(
col
);
ok
(
!
ref
,
"ref=%d
\n
"
,
ref
);
}
...
...
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