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
2a2bc6a9
Commit
2a2bc6a9
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 httprequest.
parent
7af2899a
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
6 deletions
+6
-6
httprequest.c
dlls/msxml3/httprequest.c
+6
-6
No files found.
dlls/msxml3/httprequest.c
View file @
2a2bc6a9
...
...
@@ -60,7 +60,7 @@ struct reqheader
typedef
struct
{
const
struct
IXMLHTTPRequestVtbl
*
lpVtbl
;
IXMLHTTPRequest
IXMLHTTPRequest_iface
;
LONG
ref
;
READYSTATE
state
;
...
...
@@ -85,7 +85,7 @@ typedef struct
static
inline
httprequest
*
impl_from_IXMLHTTPRequest
(
IXMLHTTPRequest
*
iface
)
{
return
(
httprequest
*
)((
char
*
)
iface
-
FIELD_OFFSET
(
httprequest
,
lpVtbl
)
);
return
CONTAINING_RECORD
(
iface
,
httprequest
,
IXMLHTTPRequest_iface
);
}
static
void
httprequest_setreadystate
(
httprequest
*
This
,
READYSTATE
state
)
...
...
@@ -617,8 +617,8 @@ static HRESULT WINAPI httprequest_Invoke(IXMLHTTPRequest *iface, DISPID dispIdMe
hr
=
get_typeinfo
(
IXMLHTTPRequest_tid
,
&
typeinfo
);
if
(
SUCCEEDED
(
hr
))
{
hr
=
ITypeInfo_Invoke
(
typeinfo
,
&
(
This
->
lpVtbl
),
dispIdMember
,
wFlags
,
pDispParam
s
,
pVarResult
,
pExcepInfo
,
puArgErr
);
hr
=
ITypeInfo_Invoke
(
typeinfo
,
&
This
->
IXMLHTTPRequest_iface
,
dispIdMember
,
wFlag
s
,
p
DispParams
,
p
VarResult
,
pExcepInfo
,
puArgErr
);
ITypeInfo_Release
(
typeinfo
);
}
...
...
@@ -1001,7 +1001,7 @@ HRESULT XMLHTTPRequest_create(IUnknown *pUnkOuter, void **ppObj)
if
(
!
req
)
return
E_OUTOFMEMORY
;
req
->
lpVtbl
=
&
dimimpl_vtbl
;
req
->
IXMLHTTPRequest_iface
.
lpVtbl
=
&
dimimpl_vtbl
;
req
->
ref
=
1
;
req
->
async
=
FALSE
;
...
...
@@ -1016,7 +1016,7 @@ HRESULT XMLHTTPRequest_create(IUnknown *pUnkOuter, void **ppObj)
req
->
reqheader_size
=
0
;
list_init
(
&
req
->
reqheaders
);
*
ppObj
=
&
req
->
lpVtbl
;
*
ppObj
=
&
req
->
IXMLHTTPRequest_iface
;
TRACE
(
"returning iface %p
\n
"
,
*
ppObj
);
...
...
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