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
f75b9f19
Commit
f75b9f19
authored
Jul 19, 2006
by
Benjamin Arai
Committed by
Alexandre Julliard
Jul 21, 2006
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
oleaut32: Implements OLEFontImpl_GetIDsOfNames.
parent
4988fad2
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
29 additions
and
4 deletions
+29
-4
olefont.c
dlls/oleaut32/olefont.c
+29
-4
No files found.
dlls/oleaut32/olefont.c
View file @
f75b9f19
...
...
@@ -5,6 +5,7 @@
* interface and the OleCreateFontIndirect API call.
*
* Copyright 1999 Francis Beaudet
* Copyright 2006 (Google) Benjamin Arai
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
...
...
@@ -1347,11 +1348,35 @@ static HRESULT WINAPI OLEFontImpl_GetIDsOfNames(
LCID
lcid
,
DISPID
*
rgDispId
)
{
ITypeInfo
*
pTInfo
;
HRESULT
hres
;
OLEFontImpl
*
this
=
impl_from_IDispatch
(
iface
);
FIXME
(
"(%p,%s,%p,%d,%04x,%p), stub!
\n
"
,
this
,
debugstr_guid
(
riid
),
rgszNames
,
cNames
,
(
int
)
lcid
,
rgDispId
);
return
E_NOTIMPL
;
TRACE
(
"(%p,%s,%p,cNames=%d,lcid=%04x,%p)
\n
"
,
this
,
debugstr_guid
(
riid
),
rgszNames
,
cNames
,
(
int
)
lcid
,
rgDispId
);
if
(
cNames
==
0
)
{
return
E_INVALIDARG
;
}
else
{
/* retrieve type information */
hres
=
OLEFontImpl_GetTypeInfo
(
iface
,
0
,
lcid
,
&
pTInfo
);
if
(
FAILED
(
hres
))
{
ERR
(
"GetTypeInfo failed.
\n
"
);
return
hres
;
}
/* convert names to DISPIDs */
hres
=
DispGetIDsOfNames
(
pTInfo
,
rgszNames
,
cNames
,
rgDispId
);
ITypeInfo_Release
(
pTInfo
);
return
hres
;
}
}
/************************************************************************
...
...
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