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
f90fcca1
Commit
f90fcca1
authored
Feb 20, 2008
by
Alistair Leslie-Hughes
Committed by
Alexandre Julliard
Feb 21, 2008
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
msxml3: Implement IDispatch for IXMLDOMImplementation.
parent
93d1c275
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
51 additions
and
8 deletions
+51
-8
domimpl.c
dlls/msxml3/domimpl.c
+49
-8
main.c
dlls/msxml3/main.c
+1
-0
msxml_private.h
dlls/msxml3/msxml_private.h
+1
-0
No files found.
dlls/msxml3/domimpl.c
View file @
f90fcca1
...
...
@@ -99,8 +99,13 @@ static HRESULT WINAPI dimimpl_GetTypeInfoCount(
IXMLDOMImplementation
*
iface
,
UINT
*
pctinfo
)
{
FIXME
(
"
\n
"
);
return
E_NOTIMPL
;
domimpl
*
This
=
impl_from_IXMLDOMImplementation
(
iface
);
TRACE
(
"(%p)->(%p)
\n
"
,
This
,
pctinfo
);
*
pctinfo
=
1
;
return
S_OK
;
}
static
HRESULT
WINAPI
dimimpl_GetTypeInfo
(
...
...
@@ -108,8 +113,14 @@ static HRESULT WINAPI dimimpl_GetTypeInfo(
UINT
iTInfo
,
LCID
lcid
,
ITypeInfo
**
ppTInfo
)
{
FIXME
(
"
\n
"
);
return
E_NOTIMPL
;
domimpl
*
This
=
impl_from_IXMLDOMImplementation
(
iface
);
HRESULT
hr
;
TRACE
(
"(%p)->(%u %u %p)
\n
"
,
This
,
iTInfo
,
lcid
,
ppTInfo
);
hr
=
get_typeinfo
(
IXMLDOMImplementation_tid
,
ppTInfo
);
return
hr
;
}
static
HRESULT
WINAPI
dimimpl_GetIDsOfNames
(
...
...
@@ -117,8 +128,24 @@ static HRESULT WINAPI dimimpl_GetIDsOfNames(
REFIID
riid
,
LPOLESTR
*
rgszNames
,
UINT
cNames
,
LCID
lcid
,
DISPID
*
rgDispId
)
{
FIXME
(
"
\n
"
);
return
E_NOTIMPL
;
domimpl
*
This
=
impl_from_IXMLDOMImplementation
(
iface
);
ITypeInfo
*
typeinfo
;
HRESULT
hr
;
TRACE
(
"(%p)->(%s %p %u %u %p)
\n
"
,
This
,
debugstr_guid
(
riid
),
rgszNames
,
cNames
,
lcid
,
rgDispId
);
if
(
!
rgszNames
||
cNames
==
0
||
!
rgDispId
)
return
E_INVALIDARG
;
hr
=
get_typeinfo
(
IXMLDOMImplementation_tid
,
&
typeinfo
);
if
(
SUCCEEDED
(
hr
))
{
hr
=
ITypeInfo_GetIDsOfNames
(
typeinfo
,
rgszNames
,
cNames
,
rgDispId
);
ITypeInfo_Release
(
typeinfo
);
}
return
hr
;
}
static
HRESULT
WINAPI
dimimpl_Invoke
(
...
...
@@ -127,8 +154,22 @@ static HRESULT WINAPI dimimpl_Invoke(
WORD
wFlags
,
DISPPARAMS
*
pDispParams
,
VARIANT
*
pVarResult
,
EXCEPINFO
*
pExcepInfo
,
UINT
*
puArgErr
)
{
FIXME
(
"
\n
"
);
return
E_NOTIMPL
;
domimpl
*
This
=
impl_from_IXMLDOMImplementation
(
iface
);
ITypeInfo
*
typeinfo
;
HRESULT
hr
;
TRACE
(
"(%p)->(%d %s %d %d %p %p %p %p)
\n
"
,
This
,
dispIdMember
,
debugstr_guid
(
riid
),
lcid
,
wFlags
,
pDispParams
,
pVarResult
,
pExcepInfo
,
puArgErr
);
hr
=
get_typeinfo
(
IXMLDOMImplementation_tid
,
&
typeinfo
);
if
(
SUCCEEDED
(
hr
))
{
hr
=
ITypeInfo_Invoke
(
typeinfo
,
&
(
This
->
lpVtbl
),
dispIdMember
,
wFlags
,
pDispParams
,
pVarResult
,
pExcepInfo
,
puArgErr
);
ITypeInfo_Release
(
typeinfo
);
}
return
hr
;
}
static
HRESULT
WINAPI
dimimpl_hasFeature
(
IXMLDOMImplementation
*
This
,
BSTR
feature
,
BSTR
version
,
VARIANT_BOOL
*
hasFeature
)
...
...
dlls/msxml3/main.c
View file @
f90fcca1
...
...
@@ -49,6 +49,7 @@ static REFIID tid_ids[] = {
&
IID_IXMLDOMDocumentFragment
,
&
IID_IXMLDOMElement
,
&
IID_IXMLDOMEntityReference
,
&
IID_IXMLDOMImplementation
,
&
IID_IXMLDOMNamedNodeMap
,
&
IID_IXMLDOMNodeList
,
&
IID_IXMLDOMParseError
,
...
...
dlls/msxml3/msxml_private.h
View file @
f90fcca1
...
...
@@ -99,6 +99,7 @@ enum tid_t {
IXMLDOMDocumentFragment_tid
,
IXMLDOMElement_tid
,
IXMLDOMEntityReference_tid
,
IXMLDOMImplementation_tid
,
IXMLDOMNamedNodeMap_tid
,
IXMLDOMNodeList_tid
,
IXMLDOMParseError_tid
,
...
...
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