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
ec2114e6
Commit
ec2114e6
authored
May 19, 2012
by
Nikolay Sivov
Committed by
Alexandre Julliard
May 21, 2012
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
msxml3: Added IDispatch support for IServerXMLHTTPRequest.
parent
1a94d8f3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
34 additions
and
9 deletions
+34
-9
dispex.c
dlls/msxml3/dispex.c
+2
-1
httprequest.c
dlls/msxml3/httprequest.c
+31
-8
msxml_private.h
dlls/msxml3/msxml_private.h
+1
-0
No files found.
dlls/msxml3/dispex.c
View file @
ec2114e6
...
...
@@ -150,7 +150,8 @@ static tid_id_t tid_ids[] = {
{
&
IID_IMXAttributes
,
LibXml2
},
{
&
IID_IMXReaderControl
,
LibXml2
},
{
&
IID_IMXWriter
,
LibXml2
},
{
&
IID_IVBMXNamespaceManager
,
LibXml2
}
{
&
IID_IVBMXNamespaceManager
,
LibXml2
},
{
&
IID_IServerXMLHTTPRequest
,
LibXml2
}
};
const
IID
*
get_riid_from_tid
(
tid_t
tid
)
...
...
dlls/msxml3/httprequest.c
View file @
ec2114e6
...
...
@@ -1590,9 +1590,10 @@ static HRESULT WINAPI ServerXMLHTTPRequest_GetTypeInfoCount(IServerXMLHTTPReques
{
serverhttp
*
This
=
impl_from_IServerXMLHTTPRequest
(
iface
);
FIXME
(
"(%p)->(%p): stub
\n
"
,
This
,
pctinfo
);
TRACE
(
"(%p)->(%p)
\n
"
,
This
,
pctinfo
);
*
pctinfo
=
1
;
return
E_NOTIMPL
;
return
S_OK
;
}
static
HRESULT
WINAPI
ServerXMLHTTPRequest_GetTypeInfo
(
IServerXMLHTTPRequest
*
iface
,
UINT
iTInfo
,
...
...
@@ -1600,20 +1601,32 @@ static HRESULT WINAPI ServerXMLHTTPRequest_GetTypeInfo(IServerXMLHTTPRequest *if
{
serverhttp
*
This
=
impl_from_IServerXMLHTTPRequest
(
iface
);
FIXME
(
"(%p)->(%u %u %p): stub
\n
"
,
This
,
iTInfo
,
lcid
,
ppTInfo
);
TRACE
(
"(%p)->(%u %u %p)
\n
"
,
This
,
iTInfo
,
lcid
,
ppTInfo
);
return
E_NOTIMPL
;
return
get_typeinfo
(
IServerXMLHTTPRequest_tid
,
ppTInfo
)
;
}
static
HRESULT
WINAPI
ServerXMLHTTPRequest_GetIDsOfNames
(
IServerXMLHTTPRequest
*
iface
,
REFIID
riid
,
LPOLESTR
*
rgszNames
,
UINT
cNames
,
LCID
lcid
,
DISPID
*
rgDispId
)
{
serverhttp
*
This
=
impl_from_IServerXMLHTTPRequest
(
iface
);
ITypeInfo
*
typeinfo
;
HRESULT
hr
;
FIXME
(
"(%p)->(%s %p %u %u %p): stub
\n
"
,
This
,
debugstr_guid
(
riid
),
rgszNames
,
cNames
,
TRACE
(
"(%p)->(%s %p %u %u %p)
\n
"
,
This
,
debugstr_guid
(
riid
),
rgszNames
,
cNames
,
lcid
,
rgDispId
);
return
E_NOTIMPL
;
if
(
!
rgszNames
||
cNames
==
0
||
!
rgDispId
)
return
E_INVALIDARG
;
hr
=
get_typeinfo
(
IServerXMLHTTPRequest_tid
,
&
typeinfo
);
if
(
SUCCEEDED
(
hr
))
{
hr
=
ITypeInfo_GetIDsOfNames
(
typeinfo
,
rgszNames
,
cNames
,
rgDispId
);
ITypeInfo_Release
(
typeinfo
);
}
return
hr
;
}
static
HRESULT
WINAPI
ServerXMLHTTPRequest_Invoke
(
IServerXMLHTTPRequest
*
iface
,
DISPID
dispIdMember
,
REFIID
riid
,
...
...
@@ -1621,11 +1634,21 @@ static HRESULT WINAPI ServerXMLHTTPRequest_Invoke(IServerXMLHTTPRequest *iface,
EXCEPINFO
*
pExcepInfo
,
UINT
*
puArgErr
)
{
serverhttp
*
This
=
impl_from_IServerXMLHTTPRequest
(
iface
);
ITypeInfo
*
typeinfo
;
HRESULT
hr
;
FIXME
(
"(%p)->(%d %s %d %d %p %p %p %p): stub
\n
"
,
This
,
dispIdMember
,
debugstr_guid
(
riid
),
TRACE
(
"(%p)->(%d %s %d %d %p %p %p %p)
\n
"
,
This
,
dispIdMember
,
debugstr_guid
(
riid
),
lcid
,
wFlags
,
pDispParams
,
pVarResult
,
pExcepInfo
,
puArgErr
);
return
E_NOTIMPL
;
hr
=
get_typeinfo
(
IServerXMLHTTPRequest_tid
,
&
typeinfo
);
if
(
SUCCEEDED
(
hr
))
{
hr
=
ITypeInfo_Invoke
(
typeinfo
,
&
This
->
IServerXMLHTTPRequest_iface
,
dispIdMember
,
wFlags
,
pDispParams
,
pVarResult
,
pExcepInfo
,
puArgErr
);
ITypeInfo_Release
(
typeinfo
);
}
return
hr
;
}
static
HRESULT
WINAPI
ServerXMLHTTPRequest_open
(
IServerXMLHTTPRequest
*
iface
,
BSTR
method
,
BSTR
url
,
...
...
dlls/msxml3/msxml_private.h
View file @
ec2114e6
...
...
@@ -80,6 +80,7 @@ typedef enum tid_t {
IMXReaderControl_tid
,
IMXWriter_tid
,
IVBMXNamespaceManager_tid
,
IServerXMLHTTPRequest_tid
,
LAST_tid
}
tid_t
;
...
...
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