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
679dbe6f
Commit
679dbe6f
authored
Sep 30, 2010
by
Adam Martinson
Committed by
Alexandre Julliard
Oct 04, 2010
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
msxml3: Stub domdoc_get_readyState().
parent
4a69fa34
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
19 additions
and
7 deletions
+19
-7
domdoc.c
dlls/msxml3/domdoc.c
+7
-2
domdoc.c
dlls/msxml3/tests/domdoc.c
+12
-5
No files found.
dlls/msxml3/domdoc.c
View file @
679dbe6f
...
...
@@ -1911,8 +1911,13 @@ static HRESULT WINAPI domdoc_get_readyState(
LONG
*
value
)
{
domdoc
*
This
=
impl_from_IXMLDOMDocument3
(
iface
);
FIXME
(
"(%p)->(%p)
\n
"
,
This
,
value
);
return
E_NOTIMPL
;
FIXME
(
"stub! (%p)->(%p)
\n
"
,
This
,
value
);
if
(
!
value
)
return
E_INVALIDARG
;
*
value
=
READYSTATE_COMPLETE
;
return
S_OK
;
}
...
...
dlls/msxml3/tests/domdoc.c
View file @
679dbe6f
...
...
@@ -3028,21 +3028,28 @@ static void test_IXMLDOMDocument2(void)
VARIANT_BOOL
b
;
VARIANT
var
;
HRESULT
r
;
LONG
ref
;
LONG
ref
,
res
;
BSTR
str
;
doc
=
create_document
(
&
IID_IXMLDOMDocument
);
if
(
!
doc
)
return
;
r
=
IXMLDOMDocument_QueryInterface
(
doc
,
&
IID_IXMLDOMDocument2
,
(
void
**
)
&
doc2
);
ok
(
r
==
S_OK
,
"ret %08x
\n
"
,
r
);
ok
(
doc
==
(
IXMLDOMDocument
*
)
doc2
,
"interfaces differ
\n
"
);
ole_expect
(
IXMLDOMDocument2_get_readyState
(
doc2
,
NULL
),
E_INVALIDARG
);
ole_check
(
IXMLDOMDocument2_get_readyState
(
doc2
,
&
res
));
ok
(
res
==
READYSTATE_COMPLETE
,
"expected READYSTATE_COMPLETE (4), got %i
\n
"
,
res
);
str
=
SysAllocString
(
szComplete4
);
r
=
IXMLDOMDocument_loadXML
(
doc
,
str
,
&
b
);
r
=
IXMLDOMDocument_loadXML
(
doc
2
,
str
,
&
b
);
ok
(
r
==
S_OK
,
"loadXML failed
\n
"
);
ok
(
b
==
VARIANT_TRUE
,
"failed to load XML string
\n
"
);
SysFreeString
(
str
);
r
=
IXMLDOMDocument_QueryInterface
(
doc
,
&
IID_IXMLDOMDocument2
,
(
void
**
)
&
doc2
);
ok
(
r
==
S_OK
,
"ret %08x
\n
"
,
r
);
ok
(
doc
==
(
IXMLDOMDocument
*
)
doc2
,
"interfaces differ
\n
"
);
ole_check
(
IXMLDOMDocument2_get_readyState
(
doc
,
&
res
));
ok
(
res
==
READYSTATE_COMPLETE
,
"expected READYSTATE_COMPLETE (4), got %i
\n
"
,
res
);
r
=
IXMLDOMDocument_QueryInterface
(
doc
,
&
IID_IDispatchEx
,
(
void
**
)
&
dispex
);
ok
(
r
==
S_OK
,
"ret %08x
\n
"
,
r
);
...
...
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