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
4632045f
Commit
4632045f
authored
Apr 20, 2017
by
Jacek Caban
Committed by
Alexandre Julliard
Apr 20, 2017
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
mshtml: Replace get_htmldoc_classinfo with more generic helper.
Signed-off-by:
Jacek Caban
<
jacek@codeweavers.com
>
Signed-off-by:
Alexandre Julliard
<
julliard@winehq.org
>
parent
91c568bc
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
4 additions
and
4 deletions
+4
-4
dispex.c
dlls/mshtml/dispex.c
+2
-2
htmldoc.c
dlls/mshtml/htmldoc.c
+1
-1
mshtml_private.h
dlls/mshtml/mshtml_private.h
+1
-1
No files found.
dlls/mshtml/dispex.c
View file @
4632045f
...
...
@@ -188,7 +188,7 @@ void release_typelib(void)
DeleteCriticalSection
(
&
cs_dispex_static_data
);
}
HRESULT
get_
htmldoc_classinfo
(
ITypeInfo
**
typeinfo
)
HRESULT
get_
class_typeinfo
(
const
CLSID
*
clsid
,
ITypeInfo
**
typeinfo
)
{
HRESULT
hres
;
...
...
@@ -197,7 +197,7 @@ HRESULT get_htmldoc_classinfo(ITypeInfo **typeinfo)
if
(
!
typelib
)
return
hres
;
hres
=
ITypeLib_GetTypeInfoOfGuid
(
typelib
,
&
CLSID_HTMLDocument
,
typeinfo
);
hres
=
ITypeLib_GetTypeInfoOfGuid
(
typelib
,
clsid
,
typeinfo
);
if
(
FAILED
(
hres
))
ERR
(
"GetTypeInfoOfGuid failed: %08x
\n
"
,
hres
);
return
hres
;
...
...
dlls/mshtml/htmldoc.c
View file @
4632045f
...
...
@@ -4473,7 +4473,7 @@ static HRESULT WINAPI ProvideClassInfo_GetClassInfo(IProvideClassInfo* iface,
{
HTMLDocument
*
This
=
impl_from_IProvideClassInfo
(
iface
);
TRACE
(
"(%p)->(%p)
\n
"
,
This
,
ppTI
);
return
get_
htmldoc_classinfo
(
ppTI
);
return
get_
class_typeinfo
(
&
CLSID_HTMLDocument
,
ppTI
);
}
static
const
IProvideClassInfoVtbl
ProvideClassInfoVtbl
=
{
...
...
dlls/mshtml/mshtml_private.h
View file @
4632045f
...
...
@@ -316,7 +316,7 @@ HRESULT dispex_get_dynid(DispatchEx*,const WCHAR*,DISPID*) DECLSPEC_HIDDEN;
void
dispex_traverse
(
DispatchEx
*
,
nsCycleCollectionTraversalCallback
*
)
DECLSPEC_HIDDEN
;
void
dispex_unlink
(
DispatchEx
*
)
DECLSPEC_HIDDEN
;
void
release_typelib
(
void
)
DECLSPEC_HIDDEN
;
HRESULT
get_
htmldoc_classinfo
(
ITypeInfo
**
typeinfo
)
DECLSPEC_HIDDEN
;
HRESULT
get_
class_typeinfo
(
const
CLSID
*
,
ITypeInfo
**
)
DECLSPEC_HIDDEN
;
const
dispex_static_data_vtbl_t
*
dispex_get_vtbl
(
DispatchEx
*
)
DECLSPEC_HIDDEN
;
void
dispex_info_add_interface
(
dispex_data_t
*
,
tid_t
)
DECLSPEC_HIDDEN
;
...
...
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