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
e0939a49
Commit
e0939a49
authored
Jan 15, 2002
by
Bill Medland
Committed by
Alexandre Julliard
Jan 15, 2002
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Leave IID check to the OleCreateFontIndirect, so that SFCF will handle
all the interfaces that OleCreate.. will.
parent
c1742366
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
15 additions
and
18 deletions
+15
-18
olefont.c
dlls/oleaut32/olefont.c
+15
-18
No files found.
dlls/oleaut32/olefont.c
View file @
e0939a49
...
...
@@ -285,6 +285,9 @@ HRESULT WINAPI OleCreateFontIndirect(
*
ppvObj
=
0
;
if
(
lpFontDesc
==
0
)
return
NO_ERROR
;
/* MSDN Oct 2001 */
/*
* Try to construct a new instance of the class.
*/
...
...
@@ -1652,27 +1655,21 @@ static ULONG WINAPI SFCF_Release(LPCLASSFACTORY iface) {
static
HRESULT
WINAPI
SFCF_CreateInstance
(
LPCLASSFACTORY
iface
,
LPUNKNOWN
pOuter
,
REFIID
riid
,
LPVOID
*
ppobj
)
{
ICOM_THIS
(
IClassFactoryImpl
,
iface
)
;
FONTDESC
fd
;
if
(
IsEqualGUID
(
riid
,
&
IID_IFont
))
{
FONTDESC
fd
;
WCHAR
fname
[]
=
{
'S'
,
'y'
,
's'
,
't'
,
'e'
,
'm'
,
0
};
WCHAR
fname
[]
=
{
'S'
,
'y'
,
's'
,
't'
,
'e'
,
'm'
,
0
};
fd
.
cbSizeofstruct
=
sizeof
(
fd
);
fd
.
lpstrName
=
fname
;
fd
.
cySize
.
s
.
Lo
=
80000
;
fd
.
cySize
.
s
.
Hi
=
0
;
fd
.
sWeight
=
0
;
fd
.
sCharset
=
0
;
fd
.
fItalic
=
0
;
fd
.
fUnderline
=
0
;
fd
.
fStrikethrough
=
0
;
return
OleCreateFontIndirect
(
&
fd
,
riid
,
ppobj
);
fd
.
cbSizeofstruct
=
sizeof
(
fd
);
fd
.
lpstrName
=
fname
;
fd
.
cySize
.
s
.
Lo
=
80000
;
fd
.
cySize
.
s
.
Hi
=
0
;
fd
.
sWeight
=
0
;
fd
.
sCharset
=
0
;
fd
.
fItalic
=
0
;
fd
.
fUnderline
=
0
;
fd
.
fStrikethrough
=
0
;
return
OleCreateFontIndirect
(
&
fd
,
riid
,
ppobj
);
}
FIXME
(
"(%p)->(%p,%s,%p)
\n
"
,
This
,
pOuter
,
debugstr_guid
(
riid
),
ppobj
);
return
E_NOINTERFACE
;
}
static
HRESULT
WINAPI
SFCF_LockServer
(
LPCLASSFACTORY
iface
,
BOOL
dolock
)
{
...
...
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