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
33a1f892
Commit
33a1f892
authored
Jul 15, 2012
by
Nikolay Sivov
Committed by
Alexandre Julliard
Jul 16, 2012
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
msxml3: Implement a common way to store and get callback interface pointers.
parent
2bff764d
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
12 additions
and
0 deletions
+12
-0
saxreader.c
dlls/msxml3/saxreader.c
+0
-0
saxreader.c
dlls/msxml3/tests/saxreader.c
+12
-0
No files found.
dlls/msxml3/saxreader.c
View file @
33a1f892
This diff is collapsed.
Click to expand it.
dlls/msxml3/tests/saxreader.c
View file @
33a1f892
...
...
@@ -2332,6 +2332,11 @@ static void test_saxreader_properties(void)
ok
(
V_UNKNOWN
(
&
v
)
==
NULL
,
"got %p
\n
"
,
V_UNKNOWN
(
&
v
));
/* block QueryInterface on handler riid */
V_VT
(
&
v
)
=
VT_UNKNOWN
;
V_UNKNOWN
(
&
v
)
=
ptr
->
iface
;
hr
=
ISAXXMLReader_putProperty
(
reader
,
_bstr_
(
ptr
->
prop_name
),
v
);
EXPECT_HR
(
hr
,
S_OK
);
init_saxlexicalhandler
(
&
lexicalhandler
,
E_NOINTERFACE
);
init_saxdeclhandler
(
&
declhandler
,
E_NOINTERFACE
);
...
...
@@ -2343,6 +2348,13 @@ static void test_saxreader_properties(void)
EXPECT_HR
(
hr
,
E_NOINTERFACE
);
EXPECT_REF
(
ptr
->
iface
,
1
);
V_VT
(
&
v
)
=
VT_EMPTY
;
V_UNKNOWN
(
&
v
)
=
(
IUnknown
*
)
0xdeadbeef
;
hr
=
ISAXXMLReader_getProperty
(
reader
,
_bstr_
(
ptr
->
prop_name
),
&
v
);
EXPECT_HR
(
hr
,
S_OK
);
ok
(
V_VT
(
&
v
)
==
VT_UNKNOWN
,
"got %d
\n
"
,
V_VT
(
&
v
));
ok
(
V_UNKNOWN
(
&
v
)
!=
NULL
,
"got %p
\n
"
,
V_UNKNOWN
(
&
v
));
ptr
++
;
}
...
...
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