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
0be2929b
Commit
0be2929b
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 domimpl.
parent
45f1825e
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
6 deletions
+6
-6
domimpl.c
dlls/msxml3/domimpl.c
+6
-6
No files found.
dlls/msxml3/domimpl.c
View file @
0be2929b
...
...
@@ -39,13 +39,13 @@ WINE_DEFAULT_DEBUG_CHANNEL(msxml);
typedef
struct
_domimpl
{
const
struct
IXMLDOMImplementationVtbl
*
lpVtbl
;
IXMLDOMImplementation
IXMLDOMImplementation_iface
;
LONG
ref
;
}
domimpl
;
static
inline
domimpl
*
impl_from_IXMLDOMImplementation
(
IXMLDOMImplementation
*
iface
)
{
return
(
domimpl
*
)((
char
*
)
iface
-
FIELD_OFFSET
(
domimpl
,
lpVtbl
)
);
return
CONTAINING_RECORD
(
iface
,
domimpl
,
IXMLDOMImplementation_iface
);
}
static
HRESULT
WINAPI
dimimpl_QueryInterface
(
...
...
@@ -164,8 +164,8 @@ static HRESULT WINAPI dimimpl_Invoke(
hr
=
get_typeinfo
(
IXMLDOMImplementation_tid
,
&
typeinfo
);
if
(
SUCCEEDED
(
hr
))
{
hr
=
ITypeInfo_Invoke
(
typeinfo
,
&
(
This
->
lpVtbl
),
dispIdMember
,
wFlags
,
pDispParam
s
,
pVarResult
,
pExcepInfo
,
puArgErr
);
hr
=
ITypeInfo_Invoke
(
typeinfo
,
&
This
->
IXMLDOMImplementation_iface
,
dispIdMember
,
wFlag
s
,
p
DispParams
,
p
VarResult
,
pExcepInfo
,
puArgErr
);
ITypeInfo_Release
(
typeinfo
);
}
...
...
@@ -220,10 +220,10 @@ IUnknown* create_doc_Implementation(void)
if
(
!
This
)
return
NULL
;
This
->
lpVtbl
=
&
dimimpl_vtbl
;
This
->
IXMLDOMImplementation_iface
.
lpVtbl
=
&
dimimpl_vtbl
;
This
->
ref
=
1
;
return
(
IUnknown
*
)
&
This
->
lpVtbl
;
return
(
IUnknown
*
)
&
This
->
IXMLDOMImplementation_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