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
ac29a3d8
Commit
ac29a3d8
authored
Aug 27, 2008
by
Alistair Leslie-Hughes
Committed by
Alexandre Julliard
Aug 27, 2008
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
msxml3: Correct unsupported functions in IDispatchEx.
parent
462ddaa2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
40 additions
and
7 deletions
+40
-7
dispex.c
dlls/msxml3/dispex.c
+7
-7
domdoc.c
dlls/msxml3/tests/domdoc.c
+33
-0
No files found.
dlls/msxml3/dispex.c
View file @
ac29a3d8
...
...
@@ -542,42 +542,42 @@ static HRESULT WINAPI DispatchEx_InvokeEx(IDispatchEx *iface, DISPID id, LCID lc
static
HRESULT
WINAPI
DispatchEx_DeleteMemberByName
(
IDispatchEx
*
iface
,
BSTR
bstrName
,
DWORD
grfdex
)
{
DispatchEx
*
This
=
impl_from_IDispatchEx
(
iface
);
FIXME
(
"
(%p)->(%s %x)
\n
"
,
This
,
debugstr_w
(
bstrName
),
grfdex
);
return
S_OK
;
TRACE
(
"Not implemented in native msxml3
(%p)->(%s %x)
\n
"
,
This
,
debugstr_w
(
bstrName
),
grfdex
);
return
E_NOTIMPL
;
}
static
HRESULT
WINAPI
DispatchEx_DeleteMemberByDispID
(
IDispatchEx
*
iface
,
DISPID
id
)
{
DispatchEx
*
This
=
impl_from_IDispatchEx
(
iface
);
FIXME
(
"
(%p)->(%x)
\n
"
,
This
,
id
);
TRACE
(
"Not implemented in native msxml3
(%p)->(%x)
\n
"
,
This
,
id
);
return
E_NOTIMPL
;
}
static
HRESULT
WINAPI
DispatchEx_GetMemberProperties
(
IDispatchEx
*
iface
,
DISPID
id
,
DWORD
grfdexFetch
,
DWORD
*
pgrfdex
)
{
DispatchEx
*
This
=
impl_from_IDispatchEx
(
iface
);
FIXME
(
"
(%p)->(%x %x %p)
\n
"
,
This
,
id
,
grfdexFetch
,
pgrfdex
);
TRACE
(
"Not implemented in native msxml3
(%p)->(%x %x %p)
\n
"
,
This
,
id
,
grfdexFetch
,
pgrfdex
);
return
E_NOTIMPL
;
}
static
HRESULT
WINAPI
DispatchEx_GetMemberName
(
IDispatchEx
*
iface
,
DISPID
id
,
BSTR
*
pbstrName
)
{
DispatchEx
*
This
=
impl_from_IDispatchEx
(
iface
);
FIXME
(
"
(%p)->(%x %p)
\n
"
,
This
,
id
,
pbstrName
);
TRACE
(
"Not implemented in native msxml3
(%p)->(%x %p)
\n
"
,
This
,
id
,
pbstrName
);
return
E_NOTIMPL
;
}
static
HRESULT
WINAPI
DispatchEx_GetNextDispID
(
IDispatchEx
*
iface
,
DWORD
grfdex
,
DISPID
id
,
DISPID
*
pid
)
{
DispatchEx
*
This
=
impl_from_IDispatchEx
(
iface
);
FIXME
(
"
(%p)->(%x %x %p)
\n
"
,
This
,
grfdex
,
id
,
pid
);
TRACE
(
" Not implemented in native msxml3
(%p)->(%x %x %p)
\n
"
,
This
,
grfdex
,
id
,
pid
);
return
E_NOTIMPL
;
}
static
HRESULT
WINAPI
DispatchEx_GetNameSpaceParent
(
IDispatchEx
*
iface
,
IUnknown
**
ppunk
)
{
DispatchEx
*
This
=
impl_from_IDispatchEx
(
iface
);
FIXME
(
"
(%p)->(%p)
\n
"
,
This
,
ppunk
);
TRACE
(
"Not implemented in native msxml3
(%p)->(%p)
\n
"
,
This
,
ppunk
);
return
E_NOTIMPL
;
}
...
...
dlls/msxml3/tests/domdoc.c
View file @
ac29a3d8
...
...
@@ -26,6 +26,7 @@
#include "ole2.h"
#include "xmldom.h"
#include "msxml2.h"
#include "msxml2did.h"
#include "dispex.h"
#include <stdio.h>
#include <assert.h>
...
...
@@ -1544,7 +1545,39 @@ static void test_getElementsByTagName(void)
r
=
IXMLDOMNodeList_QueryInterface
(
node_list
,
&
IID_IDispatchEx
,
(
void
**
)
&
dispex
);
ok
(
r
==
S_OK
,
"rets %08x
\n
"
,
r
);
if
(
r
==
S_OK
)
{
DISPID
dispid
=
DISPID_XMLDOM_NODELIST_RESET
;
DWORD
dwProps
=
0
;
BSTR
sName
;
IUnknown
*
pUnk
;
sName
=
SysAllocString
(
szstar
);
r
=
IDispatchEx_DeleteMemberByName
(
dispex
,
sName
,
fdexNameCaseSensitive
);
ok
(
r
==
E_NOTIMPL
,
"expected E_NOTIMPL got %08x
\n
"
,
r
);
SysFreeString
(
sName
);
r
=
IDispatchEx_DeleteMemberByDispID
(
dispex
,
dispid
);
ok
(
r
==
E_NOTIMPL
,
"expected E_NOTIMPL got %08x
\n
"
,
r
);
r
=
IDispatchEx_GetMemberProperties
(
dispex
,
dispid
,
grfdexPropCanAll
,
&
dwProps
);
ok
(
r
==
E_NOTIMPL
,
"expected E_NOTIMPL got %08x
\n
"
,
r
);
ok
(
dwProps
==
0
,
"expected 0 got %d
\n
"
,
dwProps
);
r
=
IDispatchEx_GetMemberName
(
dispex
,
dispid
,
&
sName
);
ok
(
r
==
E_NOTIMPL
,
"expected E_NOTIMPL got %08x
\n
"
,
r
);
if
(
sName
)
SysFreeString
(
sName
);
r
=
IDispatchEx_GetNextDispID
(
dispex
,
fdexEnumDefault
,
DISPID_XMLDOM_NODELIST_RESET
,
&
dispid
);
ok
(
r
==
E_NOTIMPL
,
"expected E_NOTIMPL got %08x
\n
"
,
r
);
r
=
IDispatchEx_GetNameSpaceParent
(
dispex
,
&
pUnk
);
ok
(
r
==
E_NOTIMPL
,
"expected E_NOTIMPL got %08x
\n
"
,
r
);
if
(
r
==
S_OK
)
IUnknown_Release
(
pUnk
);
IDispatchEx_Release
(
dispex
);
}
IXMLDOMNodeList_Release
(
node_list
);
...
...
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