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
ed908b7b
Commit
ed908b7b
authored
Nov 19, 2011
by
Nikolay Sivov
Committed by
Alexandre Julliard
Nov 21, 2011
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
msxml3: Forward IDispatch to IDispatchEx when supported.
parent
a9d8f9a0
Hide whitespace changes
Inline
Side-by-side
Showing
13 changed files
with
92 additions
and
574 deletions
+92
-574
attribute.c
dlls/msxml3/attribute.c
+7
-44
cdata.c
dlls/msxml3/cdata.c
+7
-45
comment.c
dlls/msxml3/comment.c
+7
-45
docfrag.c
dlls/msxml3/docfrag.c
+7
-45
doctype.c
dlls/msxml3/doctype.c
+7
-45
domdoc.c
dlls/msxml3/domdoc.c
+8
-50
domimpl.c
dlls/msxml3/domimpl.c
+7
-42
element.c
dlls/msxml3/element.c
+7
-45
entityref.c
dlls/msxml3/entityref.c
+7
-44
nodemap.c
dlls/msxml3/nodemap.c
+7
-40
parseerror.c
dlls/msxml3/parseerror.c
+7
-42
selection.c
dlls/msxml3/selection.c
+7
-42
text.c
dlls/msxml3/text.c
+7
-45
No files found.
dlls/msxml3/attribute.c
View file @
ed908b7b
...
...
@@ -125,12 +125,7 @@ static HRESULT WINAPI domattr_GetTypeInfoCount(
UINT
*
pctinfo
)
{
domattr
*
This
=
impl_from_IXMLDOMAttribute
(
iface
);
TRACE
(
"(%p)->(%p)
\n
"
,
This
,
pctinfo
);
*
pctinfo
=
1
;
return
S_OK
;
return
IDispatchEx_GetTypeInfoCount
(
&
This
->
node
.
dispex
.
IDispatchEx_iface
,
pctinfo
);
}
static
HRESULT
WINAPI
domattr_GetTypeInfo
(
...
...
@@ -139,13 +134,8 @@ static HRESULT WINAPI domattr_GetTypeInfo(
ITypeInfo
**
ppTInfo
)
{
domattr
*
This
=
impl_from_IXMLDOMAttribute
(
iface
);
HRESULT
hr
;
TRACE
(
"(%p)->(%u %u %p)
\n
"
,
This
,
iTInfo
,
lcid
,
ppTInfo
);
hr
=
get_typeinfo
(
IXMLDOMAttribute_tid
,
ppTInfo
);
return
hr
;
return
IDispatchEx_GetTypeInfo
(
&
This
->
node
.
dispex
.
IDispatchEx_iface
,
iTInfo
,
lcid
,
ppTInfo
);
}
static
HRESULT
WINAPI
domattr_GetIDsOfNames
(
...
...
@@ -154,23 +144,8 @@ static HRESULT WINAPI domattr_GetIDsOfNames(
UINT
cNames
,
LCID
lcid
,
DISPID
*
rgDispId
)
{
domattr
*
This
=
impl_from_IXMLDOMAttribute
(
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
(
IXMLDOMAttribute_tid
,
&
typeinfo
);
if
(
SUCCEEDED
(
hr
))
{
hr
=
ITypeInfo_GetIDsOfNames
(
typeinfo
,
rgszNames
,
cNames
,
rgDispId
);
ITypeInfo_Release
(
typeinfo
);
}
return
hr
;
return
IDispatchEx_GetIDsOfNames
(
&
This
->
node
.
dispex
.
IDispatchEx_iface
,
riid
,
rgszNames
,
cNames
,
lcid
,
rgDispId
);
}
static
HRESULT
WINAPI
domattr_Invoke
(
...
...
@@ -180,20 +155,8 @@ static HRESULT WINAPI domattr_Invoke(
EXCEPINFO
*
pExcepInfo
,
UINT
*
puArgErr
)
{
domattr
*
This
=
impl_from_IXMLDOMAttribute
(
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
(
IXMLDOMAttribute_tid
,
&
typeinfo
);
if
(
SUCCEEDED
(
hr
))
{
hr
=
ITypeInfo_Invoke
(
typeinfo
,
&
This
->
IXMLDOMAttribute_iface
,
dispIdMember
,
wFlags
,
pDispParams
,
pVarResult
,
pExcepInfo
,
puArgErr
);
ITypeInfo_Release
(
typeinfo
);
}
return
hr
;
return
IDispatchEx_Invoke
(
&
This
->
node
.
dispex
.
IDispatchEx_iface
,
dispIdMember
,
riid
,
lcid
,
wFlags
,
pDispParams
,
pVarResult
,
pExcepInfo
,
puArgErr
);
}
static
HRESULT
WINAPI
domattr_get_nodeName
(
...
...
dlls/msxml3/cdata.c
View file @
ed908b7b
...
...
@@ -125,12 +125,7 @@ static HRESULT WINAPI domcdata_GetTypeInfoCount(
UINT
*
pctinfo
)
{
domcdata
*
This
=
impl_from_IXMLDOMCDATASection
(
iface
);
TRACE
(
"(%p)->(%p)
\n
"
,
This
,
pctinfo
);
*
pctinfo
=
1
;
return
S_OK
;
return
IDispatchEx_GetTypeInfoCount
(
&
This
->
node
.
dispex
.
IDispatchEx_iface
,
pctinfo
);
}
static
HRESULT
WINAPI
domcdata_GetTypeInfo
(
...
...
@@ -139,13 +134,8 @@ static HRESULT WINAPI domcdata_GetTypeInfo(
ITypeInfo
**
ppTInfo
)
{
domcdata
*
This
=
impl_from_IXMLDOMCDATASection
(
iface
);
HRESULT
hr
;
TRACE
(
"(%p)->(%u %u %p)
\n
"
,
This
,
iTInfo
,
lcid
,
ppTInfo
);
hr
=
get_typeinfo
(
IXMLDOMCDATASection_tid
,
ppTInfo
);
return
hr
;
return
IDispatchEx_GetTypeInfo
(
&
This
->
node
.
dispex
.
IDispatchEx_iface
,
iTInfo
,
lcid
,
ppTInfo
);
}
static
HRESULT
WINAPI
domcdata_GetIDsOfNames
(
...
...
@@ -154,23 +144,8 @@ static HRESULT WINAPI domcdata_GetIDsOfNames(
UINT
cNames
,
LCID
lcid
,
DISPID
*
rgDispId
)
{
domcdata
*
This
=
impl_from_IXMLDOMCDATASection
(
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
(
IXMLDOMCDATASection_tid
,
&
typeinfo
);
if
(
SUCCEEDED
(
hr
))
{
hr
=
ITypeInfo_GetIDsOfNames
(
typeinfo
,
rgszNames
,
cNames
,
rgDispId
);
ITypeInfo_Release
(
typeinfo
);
}
return
hr
;
return
IDispatchEx_GetIDsOfNames
(
&
This
->
node
.
dispex
.
IDispatchEx_iface
,
riid
,
rgszNames
,
cNames
,
lcid
,
rgDispId
);
}
static
HRESULT
WINAPI
domcdata_Invoke
(
...
...
@@ -180,21 +155,8 @@ static HRESULT WINAPI domcdata_Invoke(
EXCEPINFO
*
pExcepInfo
,
UINT
*
puArgErr
)
{
domcdata
*
This
=
impl_from_IXMLDOMCDATASection
(
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
(
IXMLDOMCDATASection_tid
,
&
typeinfo
);
if
(
SUCCEEDED
(
hr
))
{
hr
=
ITypeInfo_Invoke
(
typeinfo
,
&
This
->
IXMLDOMCDATASection_iface
,
dispIdMember
,
wFlags
,
pDispParams
,
pVarResult
,
pExcepInfo
,
puArgErr
);
ITypeInfo_Release
(
typeinfo
);
}
return
hr
;
return
IDispatchEx_Invoke
(
&
This
->
node
.
dispex
.
IDispatchEx_iface
,
dispIdMember
,
riid
,
lcid
,
wFlags
,
pDispParams
,
pVarResult
,
pExcepInfo
,
puArgErr
);
}
static
HRESULT
WINAPI
domcdata_get_nodeName
(
...
...
dlls/msxml3/comment.c
View file @
ed908b7b
...
...
@@ -125,12 +125,7 @@ static HRESULT WINAPI domcomment_GetTypeInfoCount(
UINT
*
pctinfo
)
{
domcomment
*
This
=
impl_from_IXMLDOMComment
(
iface
);
TRACE
(
"(%p)->(%p)
\n
"
,
This
,
pctinfo
);
*
pctinfo
=
1
;
return
S_OK
;
return
IDispatchEx_GetTypeInfoCount
(
&
This
->
node
.
dispex
.
IDispatchEx_iface
,
pctinfo
);
}
static
HRESULT
WINAPI
domcomment_GetTypeInfo
(
...
...
@@ -139,13 +134,8 @@ static HRESULT WINAPI domcomment_GetTypeInfo(
ITypeInfo
**
ppTInfo
)
{
domcomment
*
This
=
impl_from_IXMLDOMComment
(
iface
);
HRESULT
hr
;
TRACE
(
"(%p)->(%u %u %p)
\n
"
,
This
,
iTInfo
,
lcid
,
ppTInfo
);
hr
=
get_typeinfo
(
IXMLDOMComment_tid
,
ppTInfo
);
return
hr
;
return
IDispatchEx_GetTypeInfo
(
&
This
->
node
.
dispex
.
IDispatchEx_iface
,
iTInfo
,
lcid
,
ppTInfo
);
}
static
HRESULT
WINAPI
domcomment_GetIDsOfNames
(
...
...
@@ -154,23 +144,8 @@ static HRESULT WINAPI domcomment_GetIDsOfNames(
UINT
cNames
,
LCID
lcid
,
DISPID
*
rgDispId
)
{
domcomment
*
This
=
impl_from_IXMLDOMComment
(
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
(
IXMLDOMComment_tid
,
&
typeinfo
);
if
(
SUCCEEDED
(
hr
))
{
hr
=
ITypeInfo_GetIDsOfNames
(
typeinfo
,
rgszNames
,
cNames
,
rgDispId
);
ITypeInfo_Release
(
typeinfo
);
}
return
hr
;
return
IDispatchEx_GetIDsOfNames
(
&
This
->
node
.
dispex
.
IDispatchEx_iface
,
riid
,
rgszNames
,
cNames
,
lcid
,
rgDispId
);
}
static
HRESULT
WINAPI
domcomment_Invoke
(
...
...
@@ -180,21 +155,8 @@ static HRESULT WINAPI domcomment_Invoke(
EXCEPINFO
*
pExcepInfo
,
UINT
*
puArgErr
)
{
domcomment
*
This
=
impl_from_IXMLDOMComment
(
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
(
IXMLDOMComment_tid
,
&
typeinfo
);
if
(
SUCCEEDED
(
hr
))
{
hr
=
ITypeInfo_Invoke
(
typeinfo
,
&
This
->
IXMLDOMComment_iface
,
dispIdMember
,
wFlags
,
pDispParams
,
pVarResult
,
pExcepInfo
,
puArgErr
);
ITypeInfo_Release
(
typeinfo
);
}
return
hr
;
return
IDispatchEx_Invoke
(
&
This
->
node
.
dispex
.
IDispatchEx_iface
,
dispIdMember
,
riid
,
lcid
,
wFlags
,
pDispParams
,
pVarResult
,
pExcepInfo
,
puArgErr
);
}
static
HRESULT
WINAPI
domcomment_get_nodeName
(
...
...
dlls/msxml3/docfrag.c
View file @
ed908b7b
...
...
@@ -124,12 +124,7 @@ static HRESULT WINAPI domfrag_GetTypeInfoCount(
UINT
*
pctinfo
)
{
domfrag
*
This
=
impl_from_IXMLDOMDocumentFragment
(
iface
);
TRACE
(
"(%p)->(%p)
\n
"
,
This
,
pctinfo
);
*
pctinfo
=
1
;
return
S_OK
;
return
IDispatchEx_GetTypeInfoCount
(
&
This
->
node
.
dispex
.
IDispatchEx_iface
,
pctinfo
);
}
static
HRESULT
WINAPI
domfrag_GetTypeInfo
(
...
...
@@ -138,13 +133,8 @@ static HRESULT WINAPI domfrag_GetTypeInfo(
ITypeInfo
**
ppTInfo
)
{
domfrag
*
This
=
impl_from_IXMLDOMDocumentFragment
(
iface
);
HRESULT
hr
;
TRACE
(
"(%p)->(%u %u %p)
\n
"
,
This
,
iTInfo
,
lcid
,
ppTInfo
);
hr
=
get_typeinfo
(
IXMLDOMDocumentFragment_tid
,
ppTInfo
);
return
hr
;
return
IDispatchEx_GetTypeInfo
(
&
This
->
node
.
dispex
.
IDispatchEx_iface
,
iTInfo
,
lcid
,
ppTInfo
);
}
static
HRESULT
WINAPI
domfrag_GetIDsOfNames
(
...
...
@@ -153,23 +143,8 @@ static HRESULT WINAPI domfrag_GetIDsOfNames(
UINT
cNames
,
LCID
lcid
,
DISPID
*
rgDispId
)
{
domfrag
*
This
=
impl_from_IXMLDOMDocumentFragment
(
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
(
IXMLDOMDocumentFragment_tid
,
&
typeinfo
);
if
(
SUCCEEDED
(
hr
))
{
hr
=
ITypeInfo_GetIDsOfNames
(
typeinfo
,
rgszNames
,
cNames
,
rgDispId
);
ITypeInfo_Release
(
typeinfo
);
}
return
hr
;
return
IDispatchEx_GetIDsOfNames
(
&
This
->
node
.
dispex
.
IDispatchEx_iface
,
riid
,
rgszNames
,
cNames
,
lcid
,
rgDispId
);
}
static
HRESULT
WINAPI
domfrag_Invoke
(
...
...
@@ -179,21 +154,8 @@ static HRESULT WINAPI domfrag_Invoke(
EXCEPINFO
*
pExcepInfo
,
UINT
*
puArgErr
)
{
domfrag
*
This
=
impl_from_IXMLDOMDocumentFragment
(
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
(
IXMLDOMDocumentFragment_tid
,
&
typeinfo
);
if
(
SUCCEEDED
(
hr
))
{
hr
=
ITypeInfo_Invoke
(
typeinfo
,
&
This
->
IXMLDOMDocumentFragment_iface
,
dispIdMember
,
wFlags
,
pDispParams
,
pVarResult
,
pExcepInfo
,
puArgErr
);
ITypeInfo_Release
(
typeinfo
);
}
return
hr
;
return
IDispatchEx_Invoke
(
&
This
->
node
.
dispex
.
IDispatchEx_iface
,
dispIdMember
,
riid
,
lcid
,
wFlags
,
pDispParams
,
pVarResult
,
pExcepInfo
,
puArgErr
);
}
static
HRESULT
WINAPI
domfrag_get_nodeName
(
...
...
dlls/msxml3/doctype.c
View file @
ed908b7b
...
...
@@ -116,12 +116,7 @@ static HRESULT WINAPI domdoctype_GetTypeInfoCount(
UINT
*
pctinfo
)
{
domdoctype
*
This
=
impl_from_IXMLDOMDocumentType
(
iface
);
TRACE
(
"(%p)->(%p)
\n
"
,
This
,
pctinfo
);
*
pctinfo
=
1
;
return
S_OK
;
return
IDispatchEx_GetTypeInfoCount
(
&
This
->
node
.
dispex
.
IDispatchEx_iface
,
pctinfo
);
}
static
HRESULT
WINAPI
domdoctype_GetTypeInfo
(
...
...
@@ -130,13 +125,8 @@ static HRESULT WINAPI domdoctype_GetTypeInfo(
ITypeInfo
**
ppTInfo
)
{
domdoctype
*
This
=
impl_from_IXMLDOMDocumentType
(
iface
);
HRESULT
hr
;
TRACE
(
"(%p)->(%u %u %p)
\n
"
,
This
,
iTInfo
,
lcid
,
ppTInfo
);
hr
=
get_typeinfo
(
IXMLDOMDocumentType_tid
,
ppTInfo
);
return
hr
;
return
IDispatchEx_GetTypeInfo
(
&
This
->
node
.
dispex
.
IDispatchEx_iface
,
iTInfo
,
lcid
,
ppTInfo
);
}
static
HRESULT
WINAPI
domdoctype_GetIDsOfNames
(
...
...
@@ -145,23 +135,8 @@ static HRESULT WINAPI domdoctype_GetIDsOfNames(
UINT
cNames
,
LCID
lcid
,
DISPID
*
rgDispId
)
{
domdoctype
*
This
=
impl_from_IXMLDOMDocumentType
(
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
(
IXMLDOMDocumentType_tid
,
&
typeinfo
);
if
(
SUCCEEDED
(
hr
))
{
hr
=
ITypeInfo_GetIDsOfNames
(
typeinfo
,
rgszNames
,
cNames
,
rgDispId
);
ITypeInfo_Release
(
typeinfo
);
}
return
hr
;
return
IDispatchEx_GetIDsOfNames
(
&
This
->
node
.
dispex
.
IDispatchEx_iface
,
riid
,
rgszNames
,
cNames
,
lcid
,
rgDispId
);
}
static
HRESULT
WINAPI
domdoctype_Invoke
(
...
...
@@ -171,21 +146,8 @@ static HRESULT WINAPI domdoctype_Invoke(
EXCEPINFO
*
pExcepInfo
,
UINT
*
puArgErr
)
{
domdoctype
*
This
=
impl_from_IXMLDOMDocumentType
(
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
(
IXMLDOMDocumentType_tid
,
&
typeinfo
);
if
(
SUCCEEDED
(
hr
))
{
hr
=
ITypeInfo_Invoke
(
typeinfo
,
&
This
->
IXMLDOMDocumentType_iface
,
dispIdMember
,
wFlags
,
pDispParams
,
pVarResult
,
pExcepInfo
,
puArgErr
);
ITypeInfo_Release
(
typeinfo
);
}
return
hr
;
return
IDispatchEx_Invoke
(
&
This
->
node
.
dispex
.
IDispatchEx_iface
,
dispIdMember
,
riid
,
lcid
,
wFlags
,
pDispParams
,
pVarResult
,
pExcepInfo
,
puArgErr
);
}
static
HRESULT
WINAPI
domdoctype_get_nodeName
(
...
...
dlls/msxml3/domdoc.c
View file @
ed908b7b
...
...
@@ -870,9 +870,7 @@ static HRESULT WINAPI domdoc_QueryInterface( IXMLDOMDocument3 *iface, REFIID rii
return
S_OK
;
}
static
ULONG
WINAPI
domdoc_AddRef
(
IXMLDOMDocument3
*
iface
)
static
ULONG
WINAPI
domdoc_AddRef
(
IXMLDOMDocument3
*
iface
)
{
domdoc
*
This
=
impl_from_IXMLDOMDocument3
(
iface
);
ULONG
ref
=
InterlockedIncrement
(
&
This
->
ref
);
...
...
@@ -880,9 +878,7 @@ static ULONG WINAPI domdoc_AddRef(
return
ref
;
}
static
ULONG
WINAPI
domdoc_Release
(
IXMLDOMDocument3
*
iface
)
static
ULONG
WINAPI
domdoc_Release
(
IXMLDOMDocument3
*
iface
)
{
domdoc
*
This
=
impl_from_IXMLDOMDocument3
(
iface
);
LONG
ref
=
InterlockedDecrement
(
&
This
->
ref
);
...
...
@@ -914,12 +910,7 @@ static ULONG WINAPI domdoc_Release(
static
HRESULT
WINAPI
domdoc_GetTypeInfoCount
(
IXMLDOMDocument3
*
iface
,
UINT
*
pctinfo
)
{
domdoc
*
This
=
impl_from_IXMLDOMDocument3
(
iface
);
TRACE
(
"(%p)->(%p)
\n
"
,
This
,
pctinfo
);
*
pctinfo
=
1
;
return
S_OK
;
return
IDispatchEx_GetTypeInfoCount
(
&
This
->
node
.
dispex
.
IDispatchEx_iface
,
pctinfo
);
}
static
HRESULT
WINAPI
domdoc_GetTypeInfo
(
...
...
@@ -927,10 +918,7 @@ static HRESULT WINAPI domdoc_GetTypeInfo(
UINT
iTInfo
,
LCID
lcid
,
ITypeInfo
**
ppTInfo
)
{
domdoc
*
This
=
impl_from_IXMLDOMDocument3
(
iface
);
TRACE
(
"(%p)->(%u %u %p)
\n
"
,
This
,
iTInfo
,
lcid
,
ppTInfo
);
return
get_typeinfo
(
IXMLDOMDocument3_tid
,
ppTInfo
);
return
IDispatchEx_GetTypeInfo
(
&
This
->
node
.
dispex
.
IDispatchEx_iface
,
iTInfo
,
lcid
,
ppTInfo
);
}
static
HRESULT
WINAPI
domdoc_GetIDsOfNames
(
...
...
@@ -942,26 +930,10 @@ static HRESULT WINAPI domdoc_GetIDsOfNames(
DISPID
*
rgDispId
)
{
domdoc
*
This
=
impl_from_IXMLDOMDocument3
(
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
(
IXMLDOMDocument3_tid
,
&
typeinfo
);
if
(
SUCCEEDED
(
hr
))
{
hr
=
ITypeInfo_GetIDsOfNames
(
typeinfo
,
rgszNames
,
cNames
,
rgDispId
);
ITypeInfo_Release
(
typeinfo
);
}
return
hr
;
return
IDispatchEx_GetIDsOfNames
(
&
This
->
node
.
dispex
.
IDispatchEx_iface
,
riid
,
rgszNames
,
cNames
,
lcid
,
rgDispId
);
}
static
HRESULT
WINAPI
domdoc_Invoke
(
IXMLDOMDocument3
*
iface
,
DISPID
dispIdMember
,
...
...
@@ -974,24 +946,10 @@ static HRESULT WINAPI domdoc_Invoke(
UINT
*
puArgErr
)
{
domdoc
*
This
=
impl_from_IXMLDOMDocument3
(
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
(
IXMLDOMDocument3_tid
,
&
typeinfo
);
if
(
SUCCEEDED
(
hr
))
{
hr
=
ITypeInfo_Invoke
(
typeinfo
,
&
This
->
IXMLDOMDocument3_iface
,
dispIdMember
,
wFlags
,
pDispParams
,
pVarResult
,
pExcepInfo
,
puArgErr
);
ITypeInfo_Release
(
typeinfo
);
}
return
hr
;
return
IDispatchEx_Invoke
(
&
This
->
node
.
dispex
.
IDispatchEx_iface
,
dispIdMember
,
riid
,
lcid
,
wFlags
,
pDispParams
,
pVarResult
,
pExcepInfo
,
puArgErr
);
}
static
HRESULT
WINAPI
domdoc_get_nodeName
(
IXMLDOMDocument3
*
iface
,
BSTR
*
name
)
...
...
dlls/msxml3/domimpl.c
View file @
ed908b7b
...
...
@@ -114,12 +114,7 @@ static HRESULT WINAPI dimimpl_GetTypeInfoCount(
UINT
*
pctinfo
)
{
domimpl
*
This
=
impl_from_IXMLDOMImplementation
(
iface
);
TRACE
(
"(%p)->(%p)
\n
"
,
This
,
pctinfo
);
*
pctinfo
=
1
;
return
S_OK
;
return
IDispatchEx_GetTypeInfoCount
(
&
This
->
dispex
.
IDispatchEx_iface
,
pctinfo
);
}
static
HRESULT
WINAPI
dimimpl_GetTypeInfo
(
...
...
@@ -128,10 +123,8 @@ static HRESULT WINAPI dimimpl_GetTypeInfo(
ITypeInfo
**
ppTInfo
)
{
domimpl
*
This
=
impl_from_IXMLDOMImplementation
(
iface
);
TRACE
(
"(%p)->(%u %u %p)
\n
"
,
This
,
iTInfo
,
lcid
,
ppTInfo
);
return
get_typeinfo
(
IXMLDOMImplementation_tid
,
ppTInfo
);
return
IDispatchEx_GetTypeInfo
(
&
This
->
dispex
.
IDispatchEx_iface
,
iTInfo
,
lcid
,
ppTInfo
);
}
static
HRESULT
WINAPI
dimimpl_GetIDsOfNames
(
...
...
@@ -140,23 +133,8 @@ static HRESULT WINAPI dimimpl_GetIDsOfNames(
UINT
cNames
,
LCID
lcid
,
DISPID
*
rgDispId
)
{
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
;
return
IDispatchEx_GetIDsOfNames
(
&
This
->
dispex
.
IDispatchEx_iface
,
riid
,
rgszNames
,
cNames
,
lcid
,
rgDispId
);
}
static
HRESULT
WINAPI
dimimpl_Invoke
(
...
...
@@ -166,21 +144,8 @@ static HRESULT WINAPI dimimpl_Invoke(
EXCEPINFO
*
pExcepInfo
,
UINT
*
puArgErr
)
{
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
->
IXMLDOMImplementation_iface
,
dispIdMember
,
wFlags
,
pDispParams
,
pVarResult
,
pExcepInfo
,
puArgErr
);
ITypeInfo_Release
(
typeinfo
);
}
return
hr
;
return
IDispatchEx_Invoke
(
&
This
->
dispex
.
IDispatchEx_iface
,
dispIdMember
,
riid
,
lcid
,
wFlags
,
pDispParams
,
pVarResult
,
pExcepInfo
,
puArgErr
);
}
static
HRESULT
WINAPI
dimimpl_hasFeature
(
IXMLDOMImplementation
*
This
,
BSTR
feature
,
BSTR
version
,
VARIANT_BOOL
*
hasFeature
)
...
...
dlls/msxml3/element.c
View file @
ed908b7b
...
...
@@ -138,12 +138,7 @@ static HRESULT WINAPI domelem_GetTypeInfoCount(
UINT
*
pctinfo
)
{
domelem
*
This
=
impl_from_IXMLDOMElement
(
iface
);
TRACE
(
"(%p)->(%p)
\n
"
,
This
,
pctinfo
);
*
pctinfo
=
1
;
return
S_OK
;
return
IDispatchEx_GetTypeInfoCount
(
&
This
->
node
.
dispex
.
IDispatchEx_iface
,
pctinfo
);
}
static
HRESULT
WINAPI
domelem_GetTypeInfo
(
...
...
@@ -152,13 +147,8 @@ static HRESULT WINAPI domelem_GetTypeInfo(
ITypeInfo
**
ppTInfo
)
{
domelem
*
This
=
impl_from_IXMLDOMElement
(
iface
);
HRESULT
hr
;
TRACE
(
"(%p)->(%u %u %p)
\n
"
,
This
,
iTInfo
,
lcid
,
ppTInfo
);
hr
=
get_typeinfo
(
IXMLDOMElement_tid
,
ppTInfo
);
return
hr
;
return
IDispatchEx_GetTypeInfo
(
&
This
->
node
.
dispex
.
IDispatchEx_iface
,
iTInfo
,
lcid
,
ppTInfo
);
}
static
HRESULT
WINAPI
domelem_GetIDsOfNames
(
...
...
@@ -167,23 +157,8 @@ static HRESULT WINAPI domelem_GetIDsOfNames(
UINT
cNames
,
LCID
lcid
,
DISPID
*
rgDispId
)
{
domelem
*
This
=
impl_from_IXMLDOMElement
(
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
(
IXMLDOMElement_tid
,
&
typeinfo
);
if
(
SUCCEEDED
(
hr
))
{
hr
=
ITypeInfo_GetIDsOfNames
(
typeinfo
,
rgszNames
,
cNames
,
rgDispId
);
ITypeInfo_Release
(
typeinfo
);
}
return
hr
;
return
IDispatchEx_GetIDsOfNames
(
&
This
->
node
.
dispex
.
IDispatchEx_iface
,
riid
,
rgszNames
,
cNames
,
lcid
,
rgDispId
);
}
static
HRESULT
WINAPI
domelem_Invoke
(
...
...
@@ -193,21 +168,8 @@ static HRESULT WINAPI domelem_Invoke(
EXCEPINFO
*
pExcepInfo
,
UINT
*
puArgErr
)
{
domelem
*
This
=
impl_from_IXMLDOMElement
(
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
(
IXMLDOMElement_tid
,
&
typeinfo
);
if
(
SUCCEEDED
(
hr
))
{
hr
=
ITypeInfo_Invoke
(
typeinfo
,
&
This
->
IXMLDOMElement_iface
,
dispIdMember
,
wFlags
,
pDispParams
,
pVarResult
,
pExcepInfo
,
puArgErr
);
ITypeInfo_Release
(
typeinfo
);
}
return
hr
;
return
IDispatchEx_Invoke
(
&
This
->
node
.
dispex
.
IDispatchEx_iface
,
dispIdMember
,
riid
,
lcid
,
wFlags
,
pDispParams
,
pVarResult
,
pExcepInfo
,
puArgErr
);
}
static
HRESULT
WINAPI
domelem_get_nodeName
(
...
...
dlls/msxml3/entityref.c
View file @
ed908b7b
...
...
@@ -124,11 +124,7 @@ static HRESULT WINAPI entityref_GetTypeInfoCount(
UINT
*
pctinfo
)
{
entityref
*
This
=
impl_from_IXMLDOMEntityReference
(
iface
);
TRACE
(
"(%p)->(%p)
\n
"
,
This
,
pctinfo
);
*
pctinfo
=
1
;
return
S_OK
;
return
IDispatchEx_GetTypeInfoCount
(
&
This
->
node
.
dispex
.
IDispatchEx_iface
,
pctinfo
);
}
static
HRESULT
WINAPI
entityref_GetTypeInfo
(
...
...
@@ -137,13 +133,8 @@ static HRESULT WINAPI entityref_GetTypeInfo(
ITypeInfo
**
ppTInfo
)
{
entityref
*
This
=
impl_from_IXMLDOMEntityReference
(
iface
);
HRESULT
hr
;
TRACE
(
"(%p)->(%u %u %p)
\n
"
,
This
,
iTInfo
,
lcid
,
ppTInfo
);
hr
=
get_typeinfo
(
IXMLDOMEntityReference_tid
,
ppTInfo
);
return
hr
;
return
IDispatchEx_GetTypeInfo
(
&
This
->
node
.
dispex
.
IDispatchEx_iface
,
iTInfo
,
lcid
,
ppTInfo
);
}
static
HRESULT
WINAPI
entityref_GetIDsOfNames
(
...
...
@@ -152,23 +143,8 @@ static HRESULT WINAPI entityref_GetIDsOfNames(
UINT
cNames
,
LCID
lcid
,
DISPID
*
rgDispId
)
{
entityref
*
This
=
impl_from_IXMLDOMEntityReference
(
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
(
IXMLDOMEntityReference_tid
,
&
typeinfo
);
if
(
SUCCEEDED
(
hr
))
{
hr
=
ITypeInfo_GetIDsOfNames
(
typeinfo
,
rgszNames
,
cNames
,
rgDispId
);
ITypeInfo_Release
(
typeinfo
);
}
return
hr
;
return
IDispatchEx_GetIDsOfNames
(
&
This
->
node
.
dispex
.
IDispatchEx_iface
,
riid
,
rgszNames
,
cNames
,
lcid
,
rgDispId
);
}
static
HRESULT
WINAPI
entityref_Invoke
(
...
...
@@ -178,21 +154,8 @@ static HRESULT WINAPI entityref_Invoke(
EXCEPINFO
*
pExcepInfo
,
UINT
*
puArgErr
)
{
entityref
*
This
=
impl_from_IXMLDOMEntityReference
(
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
(
IXMLDOMEntityReference_tid
,
&
typeinfo
);
if
(
SUCCEEDED
(
hr
))
{
hr
=
ITypeInfo_Invoke
(
typeinfo
,
&
This
->
IXMLDOMEntityReference_iface
,
dispIdMember
,
wFlags
,
pDispParams
,
pVarResult
,
pExcepInfo
,
puArgErr
);
ITypeInfo_Release
(
typeinfo
);
}
return
hr
;
return
IDispatchEx_Invoke
(
&
This
->
node
.
dispex
.
IDispatchEx_iface
,
dispIdMember
,
riid
,
lcid
,
wFlags
,
pDispParams
,
pVarResult
,
pExcepInfo
,
puArgErr
);
}
static
HRESULT
WINAPI
entityref_get_nodeName
(
...
...
dlls/msxml3/nodemap.c
View file @
ed908b7b
...
...
@@ -131,12 +131,7 @@ static HRESULT WINAPI xmlnodemap_GetTypeInfoCount(
UINT
*
pctinfo
)
{
xmlnodemap
*
This
=
impl_from_IXMLDOMNamedNodeMap
(
iface
);
TRACE
(
"(%p)->(%p)
\n
"
,
This
,
pctinfo
);
*
pctinfo
=
1
;
return
S_OK
;
return
IDispatchEx_GetTypeInfoCount
(
&
This
->
dispex
.
IDispatchEx_iface
,
pctinfo
);
}
static
HRESULT
WINAPI
xmlnodemap_GetTypeInfo
(
...
...
@@ -145,8 +140,8 @@ static HRESULT WINAPI xmlnodemap_GetTypeInfo(
ITypeInfo
**
ppTInfo
)
{
xmlnodemap
*
This
=
impl_from_IXMLDOMNamedNodeMap
(
iface
);
TRACE
(
"(%p)->(%u %u %p)
\n
"
,
This
,
iTInfo
,
lcid
,
ppTInfo
);
return
get_typeinfo
(
IXMLDOMNamedNodeMap_t
id
,
ppTInfo
);
return
IDispatchEx_GetTypeInfo
(
&
This
->
dispex
.
IDispatchEx_iface
,
iTInfo
,
lc
id
,
ppTInfo
);
}
static
HRESULT
WINAPI
xmlnodemap_GetIDsOfNames
(
...
...
@@ -155,23 +150,8 @@ static HRESULT WINAPI xmlnodemap_GetIDsOfNames(
UINT
cNames
,
LCID
lcid
,
DISPID
*
rgDispId
)
{
xmlnodemap
*
This
=
impl_from_IXMLDOMNamedNodeMap
(
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
(
IXMLDOMNamedNodeMap_tid
,
&
typeinfo
);
if
(
SUCCEEDED
(
hr
))
{
hr
=
ITypeInfo_GetIDsOfNames
(
typeinfo
,
rgszNames
,
cNames
,
rgDispId
);
ITypeInfo_Release
(
typeinfo
);
}
return
hr
;
return
IDispatchEx_GetIDsOfNames
(
&
This
->
dispex
.
IDispatchEx_iface
,
riid
,
rgszNames
,
cNames
,
lcid
,
rgDispId
);
}
static
HRESULT
WINAPI
xmlnodemap_Invoke
(
...
...
@@ -181,21 +161,8 @@ static HRESULT WINAPI xmlnodemap_Invoke(
EXCEPINFO
*
pExcepInfo
,
UINT
*
puArgErr
)
{
xmlnodemap
*
This
=
impl_from_IXMLDOMNamedNodeMap
(
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
(
IXMLDOMNamedNodeMap_tid
,
&
typeinfo
);
if
(
SUCCEEDED
(
hr
))
{
hr
=
ITypeInfo_Invoke
(
typeinfo
,
&
This
->
IXMLDOMNamedNodeMap_iface
,
dispIdMember
,
wFlags
,
pDispParams
,
pVarResult
,
pExcepInfo
,
puArgErr
);
ITypeInfo_Release
(
typeinfo
);
}
return
hr
;
return
IDispatchEx_Invoke
(
&
This
->
dispex
.
IDispatchEx_iface
,
dispIdMember
,
riid
,
lcid
,
wFlags
,
pDispParams
,
pVarResult
,
pExcepInfo
,
puArgErr
);
}
static
HRESULT
WINAPI
xmlnodemap_getNamedItem
(
...
...
dlls/msxml3/parseerror.c
View file @
ed908b7b
...
...
@@ -120,12 +120,7 @@ static HRESULT WINAPI parseError_GetTypeInfoCount(
UINT
*
pctinfo
)
{
parse_error_t
*
This
=
impl_from_IXMLDOMParseError
(
iface
);
TRACE
(
"(%p)->(%p)
\n
"
,
This
,
pctinfo
);
*
pctinfo
=
1
;
return
S_OK
;
return
IDispatchEx_GetTypeInfoCount
(
&
This
->
dispex
.
IDispatchEx_iface
,
pctinfo
);
}
static
HRESULT
WINAPI
parseError_GetTypeInfo
(
...
...
@@ -135,10 +130,8 @@ static HRESULT WINAPI parseError_GetTypeInfo(
ITypeInfo
**
ppTInfo
)
{
parse_error_t
*
This
=
impl_from_IXMLDOMParseError
(
iface
);
TRACE
(
"(%p)->(%u %u %p)
\n
"
,
This
,
iTInfo
,
lcid
,
ppTInfo
);
return
get_typeinfo
(
IXMLDOMParseError_tid
,
ppTInfo
);
return
IDispatchEx_GetTypeInfo
(
&
This
->
dispex
.
IDispatchEx_iface
,
iTInfo
,
lcid
,
ppTInfo
);
}
static
HRESULT
WINAPI
parseError_GetIDsOfNames
(
...
...
@@ -150,23 +143,8 @@ static HRESULT WINAPI parseError_GetIDsOfNames(
DISPID
*
rgDispId
)
{
parse_error_t
*
This
=
impl_from_IXMLDOMParseError
(
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
(
IXMLDOMParseError_tid
,
&
typeinfo
);
if
(
SUCCEEDED
(
hr
))
{
hr
=
ITypeInfo_GetIDsOfNames
(
typeinfo
,
rgszNames
,
cNames
,
rgDispId
);
ITypeInfo_Release
(
typeinfo
);
}
return
hr
;
return
IDispatchEx_GetIDsOfNames
(
&
This
->
dispex
.
IDispatchEx_iface
,
riid
,
rgszNames
,
cNames
,
lcid
,
rgDispId
);
}
static
HRESULT
WINAPI
parseError_Invoke
(
...
...
@@ -181,21 +159,8 @@ static HRESULT WINAPI parseError_Invoke(
UINT
*
puArgErr
)
{
parse_error_t
*
This
=
impl_from_IXMLDOMParseError
(
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
(
IXMLDOMParseError_tid
,
&
typeinfo
);
if
(
SUCCEEDED
(
hr
))
{
hr
=
ITypeInfo_Invoke
(
typeinfo
,
&
This
->
IXMLDOMParseError_iface
,
dispIdMember
,
wFlags
,
pDispParams
,
pVarResult
,
pExcepInfo
,
puArgErr
);
ITypeInfo_Release
(
typeinfo
);
}
return
hr
;
return
IDispatchEx_Invoke
(
&
This
->
dispex
.
IDispatchEx_iface
,
dispIdMember
,
riid
,
lcid
,
wFlags
,
pDispParams
,
pVarResult
,
pExcepInfo
,
puArgErr
);
}
static
HRESULT
WINAPI
parseError_get_errorCode
(
...
...
dlls/msxml3/selection.c
View file @
ed908b7b
...
...
@@ -170,12 +170,7 @@ static HRESULT WINAPI domselection_GetTypeInfoCount(
UINT
*
pctinfo
)
{
domselection
*
This
=
impl_from_IXMLDOMSelection
(
iface
);
TRACE
(
"(%p)->(%p)
\n
"
,
This
,
pctinfo
);
*
pctinfo
=
1
;
return
S_OK
;
return
IDispatchEx_GetTypeInfoCount
(
&
This
->
dispex
.
IDispatchEx_iface
,
pctinfo
);
}
static
HRESULT
WINAPI
domselection_GetTypeInfo
(
...
...
@@ -185,10 +180,8 @@ static HRESULT WINAPI domselection_GetTypeInfo(
ITypeInfo
**
ppTInfo
)
{
domselection
*
This
=
impl_from_IXMLDOMSelection
(
iface
);
TRACE
(
"(%p)->(%u %u %p)
\n
"
,
This
,
iTInfo
,
lcid
,
ppTInfo
);
return
get_typeinfo
(
IXMLDOMSelection_tid
,
ppTInfo
);
return
IDispatchEx_GetTypeInfo
(
&
This
->
dispex
.
IDispatchEx_iface
,
iTInfo
,
lcid
,
ppTInfo
);
}
static
HRESULT
WINAPI
domselection_GetIDsOfNames
(
...
...
@@ -200,23 +193,8 @@ static HRESULT WINAPI domselection_GetIDsOfNames(
DISPID
*
rgDispId
)
{
domselection
*
This
=
impl_from_IXMLDOMSelection
(
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
(
IXMLDOMSelection_tid
,
&
typeinfo
);
if
(
SUCCEEDED
(
hr
))
{
hr
=
ITypeInfo_GetIDsOfNames
(
typeinfo
,
rgszNames
,
cNames
,
rgDispId
);
ITypeInfo_Release
(
typeinfo
);
}
return
hr
;
return
IDispatchEx_GetIDsOfNames
(
&
This
->
dispex
.
IDispatchEx_iface
,
riid
,
rgszNames
,
cNames
,
lcid
,
rgDispId
);
}
static
HRESULT
WINAPI
domselection_Invoke
(
...
...
@@ -231,21 +209,8 @@ static HRESULT WINAPI domselection_Invoke(
UINT
*
puArgErr
)
{
domselection
*
This
=
impl_from_IXMLDOMSelection
(
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
(
IXMLDOMSelection_tid
,
&
typeinfo
);
if
(
SUCCEEDED
(
hr
))
{
hr
=
ITypeInfo_Invoke
(
typeinfo
,
&
This
->
IXMLDOMSelection_iface
,
dispIdMember
,
wFlags
,
pDispParams
,
pVarResult
,
pExcepInfo
,
puArgErr
);
ITypeInfo_Release
(
typeinfo
);
}
return
hr
;
return
IDispatchEx_Invoke
(
&
This
->
dispex
.
IDispatchEx_iface
,
dispIdMember
,
riid
,
lcid
,
wFlags
,
pDispParams
,
pVarResult
,
pExcepInfo
,
puArgErr
);
}
static
HRESULT
WINAPI
domselection_get_item
(
...
...
dlls/msxml3/text.c
View file @
ed908b7b
...
...
@@ -116,12 +116,7 @@ static HRESULT WINAPI domtext_GetTypeInfoCount(
UINT
*
pctinfo
)
{
domtext
*
This
=
impl_from_IXMLDOMText
(
iface
);
TRACE
(
"(%p)->(%p)
\n
"
,
This
,
pctinfo
);
*
pctinfo
=
1
;
return
S_OK
;
return
IDispatchEx_GetTypeInfoCount
(
&
This
->
node
.
dispex
.
IDispatchEx_iface
,
pctinfo
);
}
static
HRESULT
WINAPI
domtext_GetTypeInfo
(
...
...
@@ -130,13 +125,8 @@ static HRESULT WINAPI domtext_GetTypeInfo(
ITypeInfo
**
ppTInfo
)
{
domtext
*
This
=
impl_from_IXMLDOMText
(
iface
);
HRESULT
hr
;
TRACE
(
"(%p)->(%u %u %p)
\n
"
,
This
,
iTInfo
,
lcid
,
ppTInfo
);
hr
=
get_typeinfo
(
IXMLDOMText_tid
,
ppTInfo
);
return
hr
;
return
IDispatchEx_GetTypeInfo
(
&
This
->
node
.
dispex
.
IDispatchEx_iface
,
iTInfo
,
lcid
,
ppTInfo
);
}
static
HRESULT
WINAPI
domtext_GetIDsOfNames
(
...
...
@@ -145,23 +135,8 @@ static HRESULT WINAPI domtext_GetIDsOfNames(
UINT
cNames
,
LCID
lcid
,
DISPID
*
rgDispId
)
{
domtext
*
This
=
impl_from_IXMLDOMText
(
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
(
IXMLDOMText_tid
,
&
typeinfo
);
if
(
SUCCEEDED
(
hr
))
{
hr
=
ITypeInfo_GetIDsOfNames
(
typeinfo
,
rgszNames
,
cNames
,
rgDispId
);
ITypeInfo_Release
(
typeinfo
);
}
return
hr
;
return
IDispatchEx_GetIDsOfNames
(
&
This
->
node
.
dispex
.
IDispatchEx_iface
,
riid
,
rgszNames
,
cNames
,
lcid
,
rgDispId
);
}
static
HRESULT
WINAPI
domtext_Invoke
(
...
...
@@ -171,21 +146,8 @@ static HRESULT WINAPI domtext_Invoke(
EXCEPINFO
*
pExcepInfo
,
UINT
*
puArgErr
)
{
domtext
*
This
=
impl_from_IXMLDOMText
(
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
(
IXMLDOMText_tid
,
&
typeinfo
);
if
(
SUCCEEDED
(
hr
))
{
hr
=
ITypeInfo_Invoke
(
typeinfo
,
&
This
->
IXMLDOMText_iface
,
dispIdMember
,
wFlags
,
pDispParams
,
pVarResult
,
pExcepInfo
,
puArgErr
);
ITypeInfo_Release
(
typeinfo
);
}
return
hr
;
return
IDispatchEx_Invoke
(
&
This
->
node
.
dispex
.
IDispatchEx_iface
,
dispIdMember
,
riid
,
lcid
,
wFlags
,
pDispParams
,
pVarResult
,
pExcepInfo
,
puArgErr
);
}
static
HRESULT
WINAPI
domtext_get_nodeName
(
...
...
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