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
fd48f795
Commit
fd48f795
authored
Jul 28, 2006
by
Robert Shearman
Committed by
Alexandre Julliard
Jul 28, 2006
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
oleaut32: Add a successful test for IFontDisp::Invoke.
parent
c2afb5cb
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
2 deletions
+6
-2
olefont.c
dlls/oleaut32/tests/olefont.c
+6
-2
No files found.
dlls/oleaut32/tests/olefont.c
View file @
fd48f795
...
...
@@ -431,12 +431,13 @@ static void test_Invoke(void)
HRESULT
hr
;
VARIANTARG
vararg
;
DISPPARAMS
dispparams
;
VARIANT
varresult
;
hr
=
pOleCreateFontIndirect
(
NULL
,
&
IID_IFontDisp
,
(
void
**
)
&
fontdisp
);
ok_ole_success
(
hr
,
"OleCreateFontIndirect
\n
"
);
ok_ole_success
(
hr
,
"OleCreateFontIndirect"
);
V_VT
(
&
vararg
)
=
VT_BOOL
;
V_BOOL
(
&
vararg
)
=
FALSE
;
V_BOOL
(
&
vararg
)
=
VARIANT_
FALSE
;
dispparams
.
cNamedArgs
=
0
;
dispparams
.
rgdispidNamedArgs
=
NULL
;
dispparams
.
cArgs
=
1
;
...
...
@@ -455,6 +456,9 @@ static void test_Invoke(void)
hr
=
IFontDisp_Invoke
(
fontdisp
,
DISPID_FONT_BOLD
,
&
IID_NULL
,
0
,
DISPATCH_PROPERTYGET
,
NULL
,
NULL
,
NULL
,
NULL
);
ok
(
hr
==
DISP_E_PARAMNOTOPTIONAL
,
"IFontDisp_Invoke should have returned DISP_E_PARAMNOTOPTIONAL instead of 0x%08lx
\n
"
,
hr
);
hr
=
IFontDisp_Invoke
(
fontdisp
,
DISPID_FONT_BOLD
,
&
IID_NULL
,
0
,
DISPATCH_PROPERTYGET
,
NULL
,
&
varresult
,
NULL
,
NULL
);
ok_ole_success
(
hr
,
"IFontDisp_Invoke"
);
IFontDisp_Release
(
fontdisp
);
}
...
...
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