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
3a0a3184
Commit
3a0a3184
authored
Nov 04, 2005
by
Robert Shearman
Committed by
Alexandre Julliard
Nov 04, 2005
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add a test for Invoking an OleFont function.
parent
4f128fa8
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
14 additions
and
0 deletions
+14
-0
olefont.c
dlls/oleaut32/tests/olefont.c
+14
-0
No files found.
dlls/oleaut32/tests/olefont.c
View file @
3a0a3184
...
...
@@ -142,6 +142,8 @@ void test_type_info(void)
UINT
n
;
LCID
en_us
=
MAKELCID
(
MAKELANGID
(
LANG_ENGLISH
,
SUBLANG_ENGLISH_US
),
SORT_DEFAULT
);
DISPPARAMS
dispparams
;
VARIANT
varresult
;
pOleCreateFontIndirect
(
NULL
,
&
IID_IFontDisp
,
&
pvObj
);
fontdisp
=
pvObj
;
...
...
@@ -156,6 +158,18 @@ void test_type_info(void)
ok
(
!
lstrcmpiW
(
names
[
0
],
name_Name
),
"DISPID_FONT_NAME doesn't get 'Names'.
\n
"
);
ITypeInfo_Release
(
pTInfo
);
dispparams
.
cNamedArgs
=
0
;
dispparams
.
rgdispidNamedArgs
=
NULL
;
dispparams
.
cArgs
=
0
;
dispparams
.
rgvarg
=
NULL
;
VariantInit
(
&
varresult
);
hres
=
IFontDisp_Invoke
(
fontdisp
,
DISPID_FONT_NAME
,
&
IID_NULL
,
LOCALE_NEUTRAL
,
DISPATCH_PROPERTYGET
,
&
dispparams
,
&
varresult
,
NULL
,
NULL
);
ok
(
hres
==
S_OK
,
"IFontDisp_Invoke return 0x%08lx instead of S_OK.
\n
"
,
hres
);
VariantClear
(
&
varresult
);
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