Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
wine
Manage
Activity
Members
Labels
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Package registry
Container Registry
Model registry
Operate
Terraform modules
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Zsolt Vadász
wine
Commits
c41a300f
Commit
c41a300f
authored
13 years ago
by
Alexander Morozov
Committed by
Alexandre Julliard
13 years ago
Browse files
Options
Downloads
Patches
Plain Diff
mshtml: Add stub implementation of IProvideClassInfo interface.
parent
b32ed46b
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
dlls/mshtml/htmldoc.c
+44
-0
44 additions, 0 deletions
dlls/mshtml/htmldoc.c
dlls/mshtml/mshtml_private.h
+1
-0
1 addition, 0 deletions
dlls/mshtml/mshtml_private.h
dlls/mshtml/tests/dom.c
+2
-0
2 additions, 0 deletions
dlls/mshtml/tests/dom.c
with
47 additions
and
0 deletions
dlls/mshtml/htmldoc.c
+
44
−
0
View file @
c41a300f
...
...
@@ -1770,6 +1770,46 @@ static const IDispatchExVtbl DocDispatchExVtbl = {
DocDispatchEx_GetNameSpaceParent
};
static
inline
HTMLDocument
*
impl_from_IProvideClassInfo
(
IProvideClassInfo
*
iface
)
{
return
CONTAINING_RECORD
(
iface
,
HTMLDocument
,
IProvideClassInfo_iface
);
}
static
HRESULT
WINAPI
ProvideClassInfo_QueryInterface
(
IProvideClassInfo
*
iface
,
REFIID
riid
,
void
**
ppv
)
{
HTMLDocument
*
This
=
impl_from_IProvideClassInfo
(
iface
);
return
htmldoc_query_interface
(
This
,
riid
,
ppv
);
}
static
ULONG
WINAPI
ProvideClassInfo_AddRef
(
IProvideClassInfo
*
iface
)
{
HTMLDocument
*
This
=
impl_from_IProvideClassInfo
(
iface
);
return
htmldoc_addref
(
This
);
}
static
ULONG
WINAPI
ProvideClassInfo_Release
(
IProvideClassInfo
*
iface
)
{
HTMLDocument
*
This
=
impl_from_IProvideClassInfo
(
iface
);
return
htmldoc_release
(
This
);
}
static
HRESULT
WINAPI
ProvideClassInfo_GetClassInfo
(
IProvideClassInfo
*
iface
,
ITypeInfo
**
ppTI
)
{
HTMLDocument
*
This
=
impl_from_IProvideClassInfo
(
iface
);
FIXME
(
"(%p)->(%p)
\n
"
,
This
,
ppTI
);
*
ppTI
=
NULL
;
return
E_NOTIMPL
;
}
static
const
IProvideClassInfoVtbl
ProvideClassInfoVtbl
=
{
ProvideClassInfo_QueryInterface
,
ProvideClassInfo_AddRef
,
ProvideClassInfo_Release
,
ProvideClassInfo_GetClassInfo
};
static
BOOL
htmldoc_qi
(
HTMLDocument
*
This
,
REFIID
riid
,
void
**
ppv
)
{
*
ppv
=
NULL
;
...
...
@@ -1897,6 +1937,9 @@ static BOOL htmldoc_qi(HTMLDocument *This, REFIID riid, void **ppv)
}
else
if
(
IsEqualGUID
(
&
IID_IObjectSafety
,
riid
))
{
TRACE
(
"(%p)->(IID_IObjectSafety %p)
\n
"
,
This
,
ppv
);
*
ppv
=
&
This
->
IObjectSafety_iface
;
}
else
if
(
IsEqualGUID
(
&
IID_IProvideClassInfo
,
riid
))
{
TRACE
(
"(%p)->(IID_IProvideClassInfo, %p)
\n
"
,
This
,
ppv
);
*
ppv
=
&
This
->
IProvideClassInfo_iface
;
}
else
{
return
FALSE
;
}
...
...
@@ -1913,6 +1956,7 @@ static void init_doc(HTMLDocument *doc, IUnknown *unk_impl, IDispatchEx *dispex)
doc
->
IHTMLDocument2_iface
.
lpVtbl
=
&
HTMLDocumentVtbl
;
doc
->
IDispatchEx_iface
.
lpVtbl
=
&
DocDispatchExVtbl
;
doc
->
ISupportErrorInfo_iface
.
lpVtbl
=
&
SupportErrorInfoVtbl
;
doc
->
IProvideClassInfo_iface
.
lpVtbl
=
&
ProvideClassInfoVtbl
;
doc
->
unk_impl
=
unk_impl
;
doc
->
dispex
=
dispex
;
...
...
This diff is collapsed.
Click to expand it.
dlls/mshtml/mshtml_private.h
+
1
−
0
View file @
c41a300f
...
...
@@ -383,6 +383,7 @@ struct HTMLDocument {
IObjectWithSite
IObjectWithSite_iface
;
IOleContainer
IOleContainer_iface
;
IObjectSafety
IObjectSafety_iface
;
IProvideClassInfo
IProvideClassInfo_iface
;
IUnknown
*
unk_impl
;
IDispatchEx
*
dispex
;
...
...
This diff is collapsed.
Click to expand it.
dlls/mshtml/tests/dom.c
+
2
−
0
View file @
c41a300f
...
...
@@ -128,6 +128,7 @@ static const IID * const doc_node_iids[] = {
&
IID_IInternetHostSecurityManager
,
&
IID_IOleContainer
,
&
IID_IObjectSafety
,
&
IID_IProvideClassInfo
,
NULL
};
...
...
@@ -142,6 +143,7 @@ static const IID * const doc_obj_iids[] = {
&
IID_ICustomDoc
,
&
IID_IOleContainer
,
&
IID_IObjectSafety
,
&
IID_IProvideClassInfo
,
NULL
};
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment