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
ba7c7547
Commit
ba7c7547
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 entityref.
parent
6a319a33
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
7 deletions
+7
-7
entityref.c
dlls/msxml3/entityref.c
+7
-7
No files found.
dlls/msxml3/entityref.c
View file @
ba7c7547
...
...
@@ -40,13 +40,13 @@ WINE_DEFAULT_DEBUG_CHANNEL(msxml);
typedef
struct
_entityref
{
xmlnode
node
;
const
struct
IXMLDOMEntityReferenceVtbl
*
lpVtbl
;
IXMLDOMEntityReference
IXMLDOMEntityReference_iface
;
LONG
ref
;
}
entityref
;
static
inline
entityref
*
impl_from_IXMLDOMEntityReference
(
IXMLDOMEntityReference
*
iface
)
{
return
(
entityref
*
)((
char
*
)
iface
-
FIELD_OFFSET
(
entityref
,
lpVtbl
)
);
return
CONTAINING_RECORD
(
iface
,
entityref
,
IXMLDOMEntityReference_iface
);
}
static
HRESULT
WINAPI
entityref_QueryInterface
(
...
...
@@ -169,8 +169,8 @@ static HRESULT WINAPI entityref_Invoke(
hr
=
get_typeinfo
(
IXMLDOMEntityReference_tid
,
&
typeinfo
);
if
(
SUCCEEDED
(
hr
))
{
hr
=
ITypeInfo_Invoke
(
typeinfo
,
&
(
This
->
lpVtbl
),
dispIdMember
,
wFlags
,
pDispParam
s
,
pVarResult
,
pExcepInfo
,
puArgErr
);
hr
=
ITypeInfo_Invoke
(
typeinfo
,
&
This
->
IXMLDOMEntityReference_iface
,
dispIdMember
,
wFlag
s
,
p
DispParams
,
p
VarResult
,
pExcepInfo
,
puArgErr
);
ITypeInfo_Release
(
typeinfo
);
}
...
...
@@ -582,12 +582,12 @@ IUnknown* create_doc_entity_ref( xmlNodePtr entity )
if
(
!
This
)
return
NULL
;
This
->
lpVtbl
=
&
entityref_vtbl
;
This
->
IXMLDOMEntityReference_iface
.
lpVtbl
=
&
entityref_vtbl
;
This
->
ref
=
1
;
init_xmlnode
(
&
This
->
node
,
entity
,
(
IXMLDOMNode
*
)
&
This
->
lpVtbl
,
NULL
);
init_xmlnode
(
&
This
->
node
,
entity
,
(
IXMLDOMNode
*
)
&
This
->
IXMLDOMEntityReference_iface
,
NULL
);
return
(
IUnknown
*
)
&
This
->
lpVtbl
;
return
(
IUnknown
*
)
&
This
->
IXMLDOMEntityReference_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