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
73b08ed2
Commit
73b08ed2
authored
Dec 16, 2010
by
Michael Stefaniuc
Committed by
Alexandre Julliard
Dec 16, 2010
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
msxml3: Use an iface instead of a vtbl pointer in domtext.
parent
ba7c7547
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
6 deletions
+6
-6
text.c
dlls/msxml3/text.c
+6
-6
No files found.
dlls/msxml3/text.c
View file @
73b08ed2
...
...
@@ -41,13 +41,13 @@ WINE_DEFAULT_DEBUG_CHANNEL(msxml);
typedef
struct
_domtext
{
xmlnode
node
;
const
struct
IXMLDOMTextVtbl
*
lpVtbl
;
IXMLDOMText
IXMLDOMText_iface
;
LONG
ref
;
}
domtext
;
static
inline
domtext
*
impl_from_IXMLDOMText
(
IXMLDOMText
*
iface
)
{
return
(
domtext
*
)((
char
*
)
iface
-
FIELD_OFFSET
(
domtext
,
lpVtbl
)
);
return
CONTAINING_RECORD
(
iface
,
domtext
,
IXMLDOMText_iface
);
}
static
HRESULT
WINAPI
domtext_QueryInterface
(
...
...
@@ -179,7 +179,7 @@ static HRESULT WINAPI domtext_Invoke(
hr
=
get_typeinfo
(
IXMLDOMText_tid
,
&
typeinfo
);
if
(
SUCCEEDED
(
hr
))
{
hr
=
ITypeInfo_Invoke
(
typeinfo
,
&
(
This
->
lpVtbl
)
,
dispIdMember
,
wFlags
,
pDispParams
,
hr
=
ITypeInfo_Invoke
(
typeinfo
,
&
This
->
IXMLDOMText_iface
,
dispIdMember
,
wFlags
,
pDispParams
,
pVarResult
,
pExcepInfo
,
puArgErr
);
ITypeInfo_Release
(
typeinfo
);
}
...
...
@@ -945,12 +945,12 @@ IUnknown* create_text( xmlNodePtr text )
if
(
!
This
)
return
NULL
;
This
->
lpVtbl
=
&
domtext_vtbl
;
This
->
IXMLDOMText_iface
.
lpVtbl
=
&
domtext_vtbl
;
This
->
ref
=
1
;
init_xmlnode
(
&
This
->
node
,
text
,
(
IXMLDOMNode
*
)
&
This
->
lpVtbl
,
NULL
);
init_xmlnode
(
&
This
->
node
,
text
,
(
IXMLDOMNode
*
)
&
This
->
IXMLDOMText_iface
,
NULL
);
return
(
IUnknown
*
)
&
This
->
lpVtbl
;
return
(
IUnknown
*
)
&
This
->
IXMLDOMText_iface
;
}
#endif
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