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
e53582fd
Commit
e53582fd
authored
Dec 29, 2010
by
Michael Stefaniuc
Committed by
Alexandre Julliard
Dec 29, 2010
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
msxml3: Use an iface instead of a vtbl pointer in parse_error_t.
parent
17b4de2b
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
6 deletions
+6
-6
parseerror.c
dlls/msxml3/parseerror.c
+6
-6
No files found.
dlls/msxml3/parseerror.c
View file @
e53582fd
...
...
@@ -39,7 +39,7 @@ WINE_DEFAULT_DEBUG_CHANNEL(msxml);
typedef
struct
{
const
struct
IXMLDOMParseErrorVtbl
*
lpVtbl
;
IXMLDOMParseError
IXMLDOMParseError_iface
;
LONG
ref
;
LONG
code
,
line
,
linepos
,
filepos
;
BSTR
url
,
reason
,
srcText
;
...
...
@@ -47,7 +47,7 @@ typedef struct
static
inline
parse_error_t
*
impl_from_IXMLDOMParseError
(
IXMLDOMParseError
*
iface
)
{
return
(
parse_error_t
*
)((
char
*
)
iface
-
FIELD_OFFSET
(
parse_error_t
,
lpVtbl
)
);
return
CONTAINING_RECORD
(
iface
,
parse_error_t
,
IXMLDOMParseError_iface
);
}
static
HRESULT
WINAPI
parseError_QueryInterface
(
...
...
@@ -180,8 +180,8 @@ static HRESULT WINAPI parseError_Invoke(
hr
=
get_typeinfo
(
IXMLDOMParseError_tid
,
&
typeinfo
);
if
(
SUCCEEDED
(
hr
))
{
hr
=
ITypeInfo_Invoke
(
typeinfo
,
&
(
This
->
lpVtbl
),
dispIdMember
,
wFlags
,
pDispParam
s
,
pVarResult
,
pExcepInfo
,
puArgErr
);
hr
=
ITypeInfo_Invoke
(
typeinfo
,
&
This
->
IXMLDOMParseError_iface
,
dispIdMember
,
wFlag
s
,
p
DispParams
,
p
VarResult
,
pExcepInfo
,
puArgErr
);
ITypeInfo_Release
(
typeinfo
);
}
...
...
@@ -291,7 +291,7 @@ IXMLDOMParseError *create_parseError( LONG code, BSTR url, BSTR reason, BSTR src
if
(
!
This
)
return
NULL
;
This
->
lpVtbl
=
&
parseError_vtbl
;
This
->
IXMLDOMParseError_iface
.
lpVtbl
=
&
parseError_vtbl
;
This
->
ref
=
1
;
This
->
code
=
code
;
...
...
@@ -302,5 +302,5 @@ IXMLDOMParseError *create_parseError( LONG code, BSTR url, BSTR reason, BSTR src
This
->
linepos
=
linepos
;
This
->
filepos
=
filepos
;
return
(
IXMLDOMParseError
*
)
&
This
->
lpVtbl
;
return
&
This
->
IXMLDOMParseError_iface
;
}
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